doc: tweak more cygwin information
[gnulib.git] / ChangeLog
index 43b4bfe..c2ed577 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,129 @@
+2009-10-06  Eric Blake  <ebb9@byu.net>
+
+       doc: tweak more cygwin information
+       * doc/glibc-headers/getopt.texi (getopt.h): Cygwin 1.7 getopt is
+       now compatible with glibc.
+       * doc/posix-functions/getopt.texi (getopt): Likewise.
+
+       getopt-gnu: add another test
+       * tests/test-getopt_long.h (test_getopt_long_posix): New test, to
+       guarantee behavior relied on by m4.
+       * tests/test-getopt.c (main): Use it.
+       * modules/getopt-posix-tests (Depends-on): Add setenv.
+       See http://lists.gnu.org/archive/html/bug-m4/2006-09/msg00028.html.
+
+       getopt: fix compilation on darwin
+       * lib/getopt.in.h (includes): Leave breadcrumbs during system
+       include.
+       * lib/unistd.in.h (getopt): Use them to avoid recursive include.
+       Reported by Ludovic Courtès.
+
+2009-10-06  Bruno Haible  <bruno@clisp.org>
+
+       * modules/size_max (Description): Discourage its use.
+       Reported by Simon Josefsson.
+
+2009-10-06  Jim Meyering  <meyering@redhat.com>
+
+       linkat: avoid compilation failure
+       * lib/linkat.c: Include <stdint.h> for use of SIZE_MAX.
+
+2009-10-05  Eric Blake  <ebb9@byu.net>
+
+       linkat: support Linux 2.6.17
+       * m4/linkat.m4 (gl_FUNC_LINKAT): Default to always replacing
+       linkat on Linux, but allow cache variable override.
+       * lib/linkat.c (rpl_linkat): Define override.
+       * modules/linkat (Depends-on): Add symlinkat.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add new default.
+       * modules/unistd (Makefile.am): Substitute it.
+       * lib/unistd.in.h (linkat): Declare replacement.
+       Reported by Pádraig Brady.
+
+       quotearg: port test to systems with C.UTF-8 locale
+       * tests/test-quotearg.c (struct result_strings): Add another
+       member, differentiating between C.ASCII and C.UTF-8 handling.
+       (compare_strings): Add parameter.
+       (main): Adjust all callers.
+
+       getopt: avoid clash with FreeBSD _getopt_internal
+       * lib/getopt.in.h (_getopt_internal): Override the name.
+       * lib/getopt_int.h (includes): Pick up any overrides.
+       Reported by Reuben Thomas.
+
+       hash: allow C89 compilation
+       * lib/hash.c (check_tuning): Move declaration before statement.
+       Reported by Reuben Thomas.
+
+2009-10-05  Karl Berry  <karl@gnu.org>
+
+       * doc/gnulib.texi: @include execvpe.texi, missing for several days.
+
+2009-10-04  Paolo Bonzini  <bonzini@gnu.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/uname.c (uname): Use a table-driver algorithm to compute
+       Windows NT versions.
+
+2009-10-04  Bruno Haible  <bruno@clisp.org>
+
+       * lib/progname.c (set_program_name): Also remove the "lt-" prefix from
+       program_invocation_short_name.
+       * modules/progname (configure.ac): Test for presence of
+       program_invocation_short_name.
+       Reported by Sergey Poznyakoff <gray@gnu.org.ua>.
+
+2009-10-04  Bruno Haible  <bruno@clisp.org>
+
+       * lib/progname.c (set_program_name): Fix comment.
+       Reported by Jim Meyering.
+
+2009-10-03  Paolo Bonzini  <bonzini@gnu.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/uname.c: Include <string.h>.
+       (uname): Do only one call to GetVersionEx in the common case.
+
+2009-10-03  Paolo Bonzini  <bonzini@gnu.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/uname.c (VER_PLATFORM_WIN32_CE, PROCESSOR_ARCHITECTURE_AMD64,
+       PROCESSOR_ARCHITECTURE_IA32_ON_WIN64): Define fallbacks.
+       (uname): Add support for Windows CE and various non-x86 CPU types.
+
+2009-10-03  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Conditionally emit AM_PROG_CC_C_O
+       invocation to tests/configure.ac.
+       Reported by Ian Beckwith <ianb@erislabs.net>.
+
 2009-10-02  Eric Blake  <ebb9@byu.net>
 
+       fchdir: avoid compiler warning
+       * lib/fchdir.c (canonicalize_file_name)
+       [!HAVE_CANONICALIZE_FILE_NAME]: Avoid compiler warning on mingw.
+
+       test-open: support mingw errno values
+       * tests/test-open.h (test_open): Relax test.
+       * tests/test-fopen.h (test_fopen): Likewise.
+       * tests/test-openat-safer.c (main): Likewise.
+
+       open: fix opening directory on mingw
+       * lib/open.c (open) [REPLACE_OPEN_DIRECTORY]: Correct typo.
+
+       test-open: on GNU/Hurd, /dev/null is a directory
+       * tests/test-fopen.h (main): Rename...
+       (test_fopen): ...to this.  Use a guaranteed non-directory when
+       confirming open behavior on trailing slash.
+       * tests/test-openat-safer.c (main): Likewise.
+       * tests/test-open.h (main): Likewise....
+       (test_open): ...to this.
+       * tests/test-fopen.c (main): Adjust caller.
+       * tests/test-fopen-safer.c (main): Likewise.
+       * tests/test-open.c (main): Likewise.
+       * tests/test-fcntl-safer.c (main): Likewise.
+       Reported by Samuel Thibault.
+
        rename, fchdir: don't ignore chdir failure
        * lib/fchdir.c (get_name): Abort on unexpected chdir failure.
        * lib/rename.c (rpl_rename) [W32]: Likewise.
        maint: cleanup whitespace in recent commits
        * lib/rename.c (rpl_rename): Remove tabs.
        * tests/test-link.h (test_link): Likewise.
+       * lib/fchdir.c (get_name): Likewise.
        Reported by Jim Meyering.
 
 2009-10-02  Ben Pfaff  <blp@gnu.org>