utimens: work around Linux ctime bug
[gnulib.git] / ChangeLog
index 4e3a924..04bdbcc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,42 @@
 2009-12-19  Eric Blake  <ebb9@byu.net>
 
+       utimens: work around Linux ctime bug
+       * lib/utimens.c (detect_ctime_bug): New helper function.
+       (update_timespec): Differentiate between workaround needed for
+       this bug vs. what is needed for systems that lack utimensat.
+       (fdutimens, lutimens): Work around bug.
+
+       utimens: check for ctime update
+       * tests/test-utimens-common.h (check_ctime): Define.
+       * tests/test-utimens.h (test_utimens): Expose the Linux bug.
+       * tests/test-futimens.h (test_futimens): Likewise.
+       * tests/test-lutimens.h (test_lutimens): Likewise.
+       * doc/posix-functions/futimens.texi (futimens): Document the bug.
+       * doc/posix-functions/utimensat.texi (utimensat): Likewise.
+
+2009-12-19  Bruno Haible  <bruno@clisp.org>
+
+       dprintf-posix: Check against memory leak fixed on 2009-12-15.
+       * tests/test-dprintf-posix2.sh: New file.
+       * tests/test-dprintf-posix2.c: New file.
+       * modules/dprintf-posix-tests (Files): Add them.
+       (configure.ac): Check for getrlimit and setrlimit.
+       (Makefile.am): Augment TESTS and CHECK_PROGRAMS.
+
+2009-12-19  Bruno Haible  <bruno@clisp.org>
+
+       fprintf-posix: Check against memory leak fixed on 2009-12-15.
+       * tests/test-fprintf-posix3.sh: New file.
+       * tests/test-fprintf-posix3.c: New file.
+       * modules/fprintf-posix-tests (Files): Add them.
+       (Makefile.am): Augment TESTS and CHECK_PROGRAMS.
+
+2009-12-19  Eric Blake  <ebb9@byu.net>
+
+       dirfd: fix prototype
+       * lib/dirent.in.h (dirfd): Argument is not const, per POSIX.
+       * lib/dirfd.c (dirfd): Likewise.
+
        canonicalize: reduce memory usage
        * lib/canonicalize.c (canonicalize_filename_mode): Trim the
        allocation to size.