bootstrap: sync from coreutils
[gnulib.git] / ChangeLog
index 27e3858..9224704 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,120 @@
+2009-11-12  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: sync from coreutils
+       * build-aux/bootstrap (bootstrap_epilogue): New function.
+       Use git_modules_config in one more place.  This make bootstrap's
+       --gnulib-srcdir option more useful for testing.
+
+       bootstrap: generalize autoheader check
+       * build-aux/bootstrap: Look for AC_CONFIG_HEADER as well as
+       AC_CONFIG_HEADERS.
+
+2009-11-11  Eric Blake  <ebb9@byu.net>
+
+       mkfifoat: use new modules for Solaris and BSD bugs
+       * m4/mkfifoat.m4 (gl_FUNC_MKFIFOAT): Simplify.
+       * lib/mkfifoat.c (mknodat): Split...
+       * lib/mknodat.c (mknodat): ...into new file.
+       * modules/mkfifoat (Files): Ship new file.
+       (Depends-on): Add mkfifo, mknod.
+       * modules/mkfifoat-tests (Files): Reuse mkfifo tests.
+       (Depends-on): Add symlink.
+       * tests/test-mkfifoat.c (main): Enhance test.  Drop portions now
+       redundant with test_mkfifo.h.
+       (do_mkfifoat, do_mknodat): New helpers.
+
+       mknod: new module
+       * modules/mknod: New file.
+       * m4/mknod.m4 (gl_FUNC_MKNOD): Likewise.
+       * lib/mknod.c (mknod): Likewise.
+       * m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Set witness
+       defaults.
+       * modules/sys_stat (Makefile.am): Substitute them.
+       * lib/sys_stat.in.h (mknod): Declare replacement.
+       * MODULES.html.sh (Support for systems lacking POSIX:2008):
+       Document it.
+       * doc/posix-functions/mknod.texi (mknod): Likewise.
+       * modules/mknod-tests: New test.
+       * tests/test-mknod.c: Likewise.
+
+       mkfifo: new module
+       * modules/mkfifo: New file.
+       * m4/mkfifo.m4 (gl_FUNC_MKFIFO): Likewise.
+       * lib/mkfifo.c (mkfifo): Likewise.
+       * m4/sys_stat_h.m4 (gl_SYS_STAT_H_DEFAULTS): Set witness
+       defaults.
+       * modules/sys_stat (Makefile.am): Substitute them.
+       * lib/sys_stat.in.h (mkfifo): Declare replacement.
+       * MODULES.html.sh (Support for systems lacking POSIX:2008):
+       Document it.
+       * doc/posix-functions/mkfifo.texi (mkfifo): Likewise.
+       * modules/mkfifo-tests: New test.
+       * tests/test-mkfifo.h (test_mkfifo): New file, borrowed in part
+       from test-mkfifoat.c.
+       * tests/test-mkfifo.c: New file.
+
+       readlink: detect FreeBSD bug
+       * m4/readlink.m4 (gl_FUNC_READLINK): Also detect FreeBSD bug with
+       slash on symlink.
+       * doc/posix-functions/readlink.texi (readlink): Document the bug.
+       * tests/test-readlink.h (test_readlink): Enhance test.
+
+       symlink: detect FreeBSD bug
+       * m4/symlink.m4 (gl_FUNC_SYMLINK): Also detect FreeBSD bug with
+       slash on symlink.
+       * doc/posix-functions/symlink.texi (symlink): Document the bug.
+       * tests/test-symlink.h (test_symlink): Enhance test.
+
+2009-11-10  Eric Blake  <ebb9@byu.net>
+
+       link: detect FreeBSD bug
+       * m4/link.m4 (gl_FUNC_LINK): Also detect FreeBSD bug with slash on
+       symlink.
+       * doc/posix-functions/link.texi (link): Document the bug.
+       * tests/test-link.h (test_link): Enhance test.
+       * tests/test-linkat.c (main): Update caller.
+
+       unlink, remove: detect FreeBSD bug
+       * m4/unlink.m4 (gl_FUNC_UNLINK): Also detect FreeBSD bug with
+       slash on symlink.
+       * doc/posix-functions/unlink.texi (unlink): Document the bug.
+       * doc/posix-functions/remove.texi (remove): Likewise.
+       * tests/test-unlink.h (test_unlink): Enhance test.
+       * tests/test-remove.c (main): Likewise.
+
+2009-11-09  Eric Blake  <ebb9@byu.net>
+
+       rename: detect FreeBSD bug
+       * m4/rename.m4 (gl_FUNC_RENAME): Also detect FreeBSD bug with
+       slash on symlink.
+       * modules/renameat-tests (Depends-on): Add filenamecat.
+       * tests/test-rename.h (test_rename): Allow one more errno.
+       * tests/test-renameat.c (main): Likewise.
+       * doc/posix-functions/rename.texi (rename): Document the bug.
+
+       open: detect FreeBSD bug
+       * m4/open.m4 (gl_FUNC_OPEN): Also detect FreeBSD bug with slash on
+       symlink.
+       * doc/posix-functions/open.texi (open): Document the bug.
+       * doc/posix-functions/utimes.texi (utimes): Likewise.
+       * tests/test-open.h (test_open): Add parameters, and test symlink
+       handling.
+       * tests/test-open.c (main): Adjust caller.
+       * tests/test-fcntl-safer.c (main): Likewise.
+       * modules/open-tests (Depends-on): Add stdbool, symlink.
+       * modules/fcntl-safer-tests (Depends-on): Likewise.
+       * tests/test-openat.c (main): Add test-open tests.
+
+       stat: detect FreeBSD bug
+       * m4/stat.m4 (gl_FUNC_STAT): Also detect FreeBSD bug with slash on
+       symlink.
+       * doc/posix-functions/stat.texi (stat): Document the bug.
+       * tests/test-stat.h (test_stat_func): Add argument.
+       * tests/test-stat.c (main): Adjust caller.
+       * tests/test-fstatat.c (main): Likewise.
+       * modules/stat-tests (Depends-on): Add stdbool, symlink.
+       Reported by Jim Meyering.
+
 2009-11-09  James Youngman  <jay@gnu.org>
 
        strftime.c: include ignore-value.h only when FPRINTFTIME is defined