Merge branch 'stable'
[gnulib.git] / ChangeLog
index 1eab8f6..528a59f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,131 @@
+2009-11-19  Eric Blake  <ebb9@byu.net>
+
+       manywarnings: depend on warnings
+       * modules/manywarnings (Depends-on): Add warnings.
+
+       build: avoid compiler warnings
+       * lib/select.c (rpl_select): Delete unused variable.
+       * lib/setsockopt.c (rpl_setsockopt): Avoid incompatible pointer.
+
+2009-11-18  Eric Blake  <ebb9@byu.net>
+
+       tests: avoid false negative with --with-packager
+       * tests/test-version-etc.sh: Discard packager information.
+       * tests/test-argp-version-etc-1.sh: Likewise.
+       Reported by Mike Frysinger.
+
+       utimens: fix regression on Solaris
+       * m4/utimens.m4 (gl_UTIMENS): Check for BSD bug.
+       * lib/utimens.c (fdutimens): Revert 2009-11-08 change; Solaris 10
+       can only change fd timestamps via futimesat.  Instead, use an
+       additional witness macro to avoid BSD bug.
+       Reported by Jim Meyering.
+
+2009-11-17  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool: Support LGPLv3+ licenses in module files.  Tiny
+       patch from ludo@gnu.org (Ludovic Courtès).
+
+2009-11-17  Jim Meyering  <meyering@redhat.com>
+
+       version-etc: use proper license string
+       * modules/version-etc (License): Use LGPL, not LGPLv3+.
+       * modules/version-etc-fsf: Likewise.
+
+2009-11-17  Jim Meyering  <meyering@redhat.com>
+
+       version-etc-fsf: relax license to LGPLv3+
+       * modules/version-etc-fsf (License): Relax license.
+
+2009-11-16  Jim Meyering  <meyering@redhat.com>
+
+       version-etc: relax license to LGPLv3+
+       * modules/version-etc (License): Relax license.
+
+       better AC_REQUIRE expanded-before-required-warning avoidance
+       * m4/chown.m4 (gl_FUNC_CHOWN, gl_FUNC_CHOWN_FOLLOWS_SYMLINK): Define
+       with AC_DEFUN_ONCE, rather than AC_DEFUN, to avoid AC_REQUIRE warnings.
+       Suggested by Eric Blake.  This change also reverts commit 1b712ba8,
+       which is no longer needed.
+
+2009-11-16  Jim Meyering  <meyering@redhat.com>
+
+       avoid new AC_REQUIRE expanded-before-required warnings
+       * modules/chown (configure.ac): Require gl_FUNC_CHOWN, rather than
+       merely using it.
+       * modules/euidaccess (configure.ac): Likewise for gl_FUNC_EUIDACCESS.
+       * modules/faccessat (configure.ac): Likewise for gl_FUNC_FACCESSAT.
+
+2009-11-15  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/gc-pbkdf2-sha1.c: Remove comments from RFC 2898.  Reported
+       by Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>.
+
+2009-11-14  Eric Blake  <ebb9@byu.net>
+
+       fnmatch: avoid compiler warning
+       * lib/fnmatch_loop.c (NEW_PATTERN): Coerce addition to unsigned,
+       to silence compiler warning about mismatch signedness in ?:.
+       Reported by Robert Millan.
+
+2009-11-14  Robert Millan  <rmh.grub@aybabtu.com>  (tiny change)
+
+       gnulib-tool: correctly detect absence of m4 directories
+       * gnulib-tool: Avoid extra newline on data passed to wc -l.
+
+2009-11-14  John W. Eaton  <jwe@gnu.org>
+
+       strftime.h: wrap funtion declaration in extern "C" block
+       * lib/strftime.h (nstrftime) [__cplusplus]: Wrap declaration.
+
+2009-11-13  Eric Blake  <ebb9@byu.net>
+
+       getgroups: avoid compiler warning
+       * lib/getgroups.c (rpl_getgroups): Delete shadowed variable.
+
+       getgroups: work around FreeBSD bug
+       * lib/getgroups.c (rpl_getgroups): Work around the bug.
+       * m4/getgroups.m4 (gl_FUNC_GETGROUPS): Detect the bug.
+       * doc/posix-functions/getgroups.texi (getgroups): Document it.
+       * tests/test-getgroups.c (main): Fix buffer overrun.
+
+       getgroups: avoid compilation failure
+       * lib/getgroups.c (includes): Include <stdint.h> for SIZE_MAX.
+       * modules/getgroups (Depends-on): Add stdint.
+
+2009-11-13  Jim Meyering  <meyering@redhat.com>
+
+       test-getgroups: avoid compilation failure
+       * tests/test-getgroups.c: Include <stdint.h> for use of SIZE_MAX.
+
+2009-11-13  Eric Blake  <ebb9@byu.net>
+
+       getgroups, getugroups: provide stubs for mingw
+       * lib/getgroups.c (getgroups): Provide ENOSYS stub for mingw.
+       * lib/getugroups.c (getugroups): Likewise.
+       * m4/getgroups.m4 (gl_FUNC_GETGROUPS): Check for missing
+       function.  Modernize replacement scheme.
+       (gl_PREREQ_GETGROUPS): Delete.
+       * m4/getugroups.m4 (gl_GETUGROUPS): Check for <grp.h>.
+       * modules/getgroups (configure.ac): Declare witness.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add default.
+       * modules/unistd (Depends-on): Substitute witness.
+       * lib/unistd.in.h (getgroups): Declare replacement.
+
+       getgroups: avoid calling exit
+       * modules/getgroups (Depends-on): Add malloc-posix and unistd,
+       drop xalloc.
+       * modules/getgroups-tests (Depends-on, Makefile.am): Drop unneeded
+       dependencies.
+       * lib/getgroups.c (rpl_getgroups): Fail with ENOMEM rather than
+       exiting, in the rare case of malloc failure.
+
+       getgroups: fix logic error
+       * lib/getgroups.c (rpl_getgroups): Don't fail if current process
+       has more than 20 groups.
+       * modules/getgroups-tests: New test.
+       * tests/test-getgroups.c: New file.
+
 2009-11-10  Kamil Dudka  <kdudka@redhat.com>
 
        fts: do not fail on a submount during traversal