fdatasync: port to MacOS X 10.7
[gnulib.git] / ChangeLog
index c5cb4f4..4a2faf7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,55 @@
+2011-09-16  Eric Blake  <eblake@redhat.com>
+
+       fdatasync: port to MacOS X 10.7.
+       * m4/fdatasync.m4 (gl_FUNC_FDATASYNC): Check for present but not
+       declared.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Another default.
+       * modules/unistd (Makefile.am): Substitute it.
+       * lib/unistd.in.h (fdatasync): Declare on MacOS.
+       * doc/posix-functions/fdatasync.texi (fdatasync): Document it.
+
+       fdatasync: minor improvements
+       * modules/fdatasync (Depends-on): Add condition for fsync.
+       * lib/fdatasync.c (fdatasync): Add comment.
+       * tests/test-unistd-c++.cc: Test fdatasync.
+
+       unistd: update refs to newer POSIX
+       * lib/unistd.in.h: Prefer POSIX 2008 over 2001.
+       Suggested by Bruno Haible.
+
+       fdatasync: new module
+       * modules/fsync (Description): Document difference to fdatasync.
+       * modules/fdatasync: New module.
+       * m4/fdatasync.m4 (gl_FUNC_FDATASYNC): New file.
+       * lib/fdatasync.c (fdatasync): Likewise.
+       * m4/unistd_h.m4 (gl_UNISTD_H, gl_UNISTD_H_DEFAULTS): Set up
+       defaults.
+       * modules/unistd (Makefile.am): Set witnesses.
+       * lib/unistd.in.h (fdatasync): Declare.
+       * MODULES.html.sh: Document it.
+       * doc/posix-functions/fdatasync.texi (fdatasync): Likewise.
+       * modules/fdatasync-tests: New test.
+       * tests/test-fdatasync.c: Likewise.
+
+2011-09-16  Eric Blake  <eblake@redhat.com>
+
+       test-fsync: enhance tests
+       * modules/fsync-tests (Depends-on): Add errno, for mingw.
+       * tests/test-fsync.c (main): Enhance test.
+
+2011-09-15  Bruno Haible  <bruno@clisp.org>
+
+       Support for MSVC compiler: Ensure ssize_t gets defined.
+       * doc/posix-headers/sys_types.texi: Mention the missing ssize_t problem.
+       * doc/posix-headers/stdio.texi: Likewise.
+       * modules/stdio (Depends-on): Add ssize_t.
+       * modules/sys_socket (Depends-on): Likewise.
+       * modules/sys_types (Depends-on): Likewise.
+       * modules/sys_uio (Depends-on): Likewise.
+       * modules/unistd (Depends-on): Likewise.
+       * tests/test-sys_socket.c: Check that size_t and ssize_t are defined.
+       * tests/test-sys_types.c: Check that ssize_t is defined.
+
 2011-09-14  Bruno Haible  <bruno@clisp.org>
 
        Avoid using #, the m4 comment starter character, near brackets.