chown: detect Solaris and FreeBSD bug
[gnulib.git] / ChangeLog
index 44e2120..8ca5ad6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,47 @@
+2009-11-14  Eric Blake  <ebb9@byu.net>
+
+       chown: detect Solaris and FreeBSD bug
+       * lib/chown.c (rpl_chown): Work around bug.
+       * m4/chown.m4 (gl_FUNC_CHOWN): Check for trailing slash bugs.
+       (gl_PREREQ_CHOWN): Delete.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Add witness.
+       * modules/unistd (Makefile.am): Populate it.
+       * lib/unistd.in.h (chown): Update declaration.
+       * lib/lchown.c (chown): Update client.
+       * modules/lchown (Depends-on): Add lstat.
+       * doc/posix-functions/chown.texi (chown): Document the bug.
+       * doc/posix-functions/getgroups.texi (getgroups): Document
+       getgroups pitfall.
+       * modules/chown-tests: New file.
+       * tests/test-chown.h (test_chown): Likewise.
+       * tests/test-chown.c (main): Likewise.
+
+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  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: Prohibit inclusion of "xalloc.h" without use.
+       * top/maint.mk (sc_prohibit_close_stream_without_use): New rule.
+
+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.