bootstrap: fix handling of various perl --version formats
[gnulib.git] / ChangeLog
index 6128785..3d04361 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,103 @@
+2009-11-29  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: handle perl-5.11's changed --version output
+       * build-aux/bootstrap (get_version): Handle perl separately,
+       since perl-5.11's --version output is different.
+
+2009-11-28  Jim Meyering  <meyering@redhat.com>
+
+       userspec: depend on the inttostr module, too
+       * modules/userspec (Depends-on): Add inttostr.
+
+       userspec: disallow an ID that maps to (uid_t)-1 or (gid_t)-1
+       * lib/userspec.c (parse_with_separator): Do not accept a user ID
+       number of MAXUID when it evaluates to (uid_t) -1.
+       Likewise for group ID.  Reported by Matt McCutchen in
+       <http://savannah.gnu.org/bugs/?28113>
+
+       userspec: reformat to use spaces, not TABs
+       * lib/userspec.c: Expand TABs to spaces.
+       Add Emacs' "indent-tabs-mode: nil" hint.
+
+2009-11-27  Eric Blake  <ebb9@byu.net>
+
+       getopt-gnu: flush out another BSD bug
+       * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Test for the bug.
+       * tests/test-getopt.c (main): Check POSIXLY_CORRECT first, to
+       flush out BSD bug.
+       * tests/test-getopt.h (test_getopt): End lists with NULL.
+       * tests/test-getopt_long.h (test_getopt_long): Likewise.
+       (test_getopt_long_posix): Enhance test.
+       * modules/getopt-posix-tests (Depends-on): Add stdbool.
+       * doc/glibc-functions/getopt_long.texi (getopt_long): Mention
+       getopt-gnu.
+       * doc/glibc-functions/getopt_long_only.texi (getopt_long_only):
+       Likewise.
+
+2009-11-27  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/idpriv-droptemp-tests (Notice): Fix text.
+
+2009-11-27  Jim Meyering  <meyering@redhat.com>
+
+       test-xalloc-die: avoid spurious failure due to libtool argv difference
+       In a libtool-enabled project, this test would fail due to a difference
+       in the emitted program name, e.g.,
+       -test-xalloc-die: memory exhausted
+       +/tmp/.../tests/.libs/lt-test-xalloc-die: memory exhausted
+       Use program to avoid that.
+       * modules/xalloc-die-tests (Depends-on): Add progname.
+       * tests/test-xalloc-die.c: Include progname.h".
+       (program_name): Remove decl.
+       (main): Call set_program_name.
+       * tests/test-xalloc-die.sh (compare): Remove unnecessary ${EXE}.
+
+2009-11-26  Richard Jones  <rjones@redhat.com>
+
+       w32sock: leave win32 error in place.
+       * lib/w32sock.h (set_winsock_errno): Do not call WSASetLastError.
+
+2009-11-26  Eric Blake  <ebb9@byu.net>
+
+       init.sh: suggest to use skip_ and fail_ functions in comments
+       * tests/init.sh: Add a sentence.
+
+2009-11-25  Bruno Haible  <bruno@clisp.org>
+
+       init.sh: add documentation in comments
+       * tests/init.sh: Add some developer and user documentation.
+
+2009-11-26  Jim Meyering  <meyering@redhat.com>
+
+       init.sh: accommodate even those who specify bogus srcdir manually
+       * tests/init.sh: Normally, srcdir is guaranteed by automake and
+       configure-time tests to be sanitized, so that there is no need to
+       use "$srcdir" in Makefile rules and shell scripts.  Using $srcdir
+       (with no double quotes) suffices.  However, since tests may be
+       invoked manually, and since you may explicitly set srcdir to the
+       name of a directory containing spaces, do quote its uses here.
+       * tests/test-pread.sh: Likewise.
+       Suggested by Bruno Haible.
+
+       test-pread.sh: avoid diagnostics for those who ignore SIGPIPE
+       * tests/test-pread.sh: Write no data into the pipe, because
+       test-pread actually reads none.  This avoids a diagnostic,
+       "bash: echo: write error: Broken pipe", that arises in the unusual
+       event something is ignoring SIGPIPE, and might be interpreted
+       as some sort of failure.  Reported by Bruno Haible.
+
 2009-11-25  Jim Meyering  <meyering@redhat.com>
 
+       test-pread: cover failure with ESPIPE and EINVAL
+       * tests/test-pread.c (main): Test for failure, too.
+       * tests/test-pread.sh: Invoke with stdin on a pipe.
+       Suggested by Eric Blake.
+
+       pread: improvement and fix
+       * modules/pread (Depends-on): Depend on lseek, for portability to
+       e.g., mingw.  Suggested by Eric Blake.
+       * lib/pread.c (__libc_read): Define.  Reported by Richard W.M. Jones.
+
        unistd.in.h: correct declaration of pread
        * lib/unistd.in.h: Correct type of "buf" parameter: void*, not char*
        Reported by Richard W.M. Jones.