fts: bug fixes
[pspp] / ChangeLog
index a38a2282b34a5a7f02e5dc4a86314586aefe39dc..c69b5948300889a4d4beba221c744d3bbca3fa41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,72 @@
+2008-10-02  Jim Meyering  <meyering@redhat.com>
+
+       fts: bug fixes
+       * lib/fts.c: Remove unnecessary "defined" in cpp directive.
+       Include <sys/vfs.h>, not <sys/statfs.h>.
+       * m4/fts.m4 (gl_FUNC_FTS_CORE): Fix typo s/vfs/vfs.h/.
+       Include <sys/vfs.h>, not <sys/statfs.h>.
+
+2008-10-01  Bruno Haible  <bruno@clisp.org>
+
+       Avoid the broken posix_spawn function on AIX 5.3 and 6.1.
+       * m4/posix_spawn.m4 (gl_POSIX_SPAWN_WORKS): New macro.
+       (gl_POSIX_SPAWN_BODY): Invoke it. Set REPLACE_POSIX_SPAWN if needed.
+       * doc/posix-functions/posix_spawn.texi: Mention the AIX bugs.
+       * doc/posix-functions/posix_spawnp.texi: Likewise.
+       * m4/execute.m4 (gl_EXECUTE): Invoke gl_POSIX_SPAWN_WORKS, to check
+       whether posix_spawn actually works.
+       * m4/pipe.m4 (gl_PIPE): Likewise.
+       * modules/execute (Files): Add m4/posix_spawn.m4.
+       * modules/pipe (Files): Add m4/posix_spawn.m4.
+       Reported and analyzed by Rainer Tammer <tammer@tammer.net>.
+
+2008-10-01  Jim Meyering  <meyering@redhat.com>
+
+       remove trailing spaces
+       * NEWS: Likewise.
+       * lib/poll.c (poll): Likewise.
+       * lib/sys_socket.in.h (SHUT_RDWR): Likewise.
+       * lib/winsock.c (rpl_close): Likewise.
+       * m4/memcmp.m4 (gl_FUNC_MEMCMP): Likewise.
+       * modules/yield: Likewise.
+       * tests/test-poll.c (connect_to_socket, poll1): Likewise.
+       * tests/test-sys_select.c (connect_to_socket): Likewise.
+
+       fts.c: adjust a new interface to be more generally useful
+       * lib/fts.c (dirent_inode_sort_may_be_useful): Take an FD parameter.
+       (fts_build): Adjust caller.
+
+2008-09-30  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+
+       * modules/cond-tests: New file.
+       * tests/test-cond.c: New file.
+
+2008-09-30  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       * modules/cond (Dependencies): Add errno, time.
+       * lib/glthread/cond.h: Include <time.h>.
+       (gl_cond_define, gl_cond_define_initialized): Use the same definition
+       across platforms.
+
+2008-09-30  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       * m4/thread.m4 (gl_THREAD): Fix detection of pthread_atfork function.
+
+2008-09-30  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       * modules/tls-tests (Depends-on): Add thread, yield.
+       (configure.ac): Remove all checks.
+       (test_tls_LDADD): Use YIELD_LIB instead of LIBSCHED.
+       * tests/test-tls.c (gl_thread_t, gl_thread_join, gl_thread_yield,
+       gl_thread_self): Remove definitions. Include glthread/thread.h and
+       glthread/yield.h instead.
+       (test_tls): Pass an additional NULL argument to gl_thread_join.
+
 2008-09-30  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
-            Bruno Haible  <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * modules/lock-tests (Depends-on): Add thread, yield.
        (configure.ac): Remove all checks.