Split sys_select-tests module into select-tests and sys_select-tests.
[gnulib.git] / ChangeLog
index a3960f0..3bac4c3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,234 @@
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * modules/select-tests: New file, mostly copied from
+       modules/sys_select-tests.
+       * tests/test-select.c: New file, mostly copied from
+       tests/test-sys_select.c.
+       * tests/test-sys_select.c: Move most of the code to tests/test-select.c.
+       * modules/sys_select-tests (Depends-on): Remove all dependencies.
+       (Makefile.am): Remove test_sys_select_LDADD.
+
+       * lib/sys_select.in.h (select): If GNULIB_SELECT is not set, define it
+       to an undefined symbol, for an error message.
+       * m4/sys_select_h.m4 (gl_SYS_SELECT_MODULE_INDICATOR): New macro.
+       (gl_SYS_SELECT_H_DEFAULTS): New macro.
+       (gl_HEADER_SYS_SELECT): Require it. Don't require compilation of
+       winsock-select.c here.
+       * modules/sys_select (Files): Remove lib/winsock-select.c.
+       (Depends-on): Remove alloca.
+       (Makefile.am): Substitute GNULIB_SELECT.
+       * modules/select: New file.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/spawn_faction_addclose.c (__sysconf): Use getdtablesize always.
+       * lib/spawn_faction_adddup2.c (__sysconf): Likewise.
+       * lib/spawn_faction_addopen.c (__sysconf): Likewise.
+       * modules/posix_spawn_file_actions_addclose (Depends-on): Add
+       getdtablesize.
+       * modules/posix_spawn_file_actions_adddup2 (Depends-on): Likewise.
+       * modules/posix_spawn_file_actions_addopen (Depends-on): Likewise.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getdtablesize-tests: New file.
+       * tests/test-getdtablesize.c: New file.
+
+       New module 'getdtablesize'.
+       * lib/unistd.in.h (getdtablesize): New declaration.
+       * lib/getdtablesize.c: New file.
+       * m4/getdtablesize.m4: New file.
+       * modules/getdtablesize: New file.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+       GNULIB_GETDTABLESIZE, HAVE_GETDTABLESIZE.
+       * modules/unistd (Makefile.am): Substitute GNULIB_GETDTABLESIZE,
+       HAVE_GETDTABLESIZE.
+       * doc/glibc-functions/getdtablesize.texi: Mention the new module.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * modules/sched (Makefile.am): Fix typo.
+       Reported by Simon Josefsson.
+
+2008-10-05  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: check for LT_INIT, too
+       * build-aux/bootstrap: Both AC_PROG_LIBTOOL and AM_PROG_LIBTOOL
+       are deprecated.  Suggestion from Ralf Wildenhues.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/spawn.in.h (POSIX_SPAWN_*): Use the system's values, rather than
+       overriding them by ours.
+       (POSIX_SPAWN_USEVFORK): Use the next free bit position.
+
+2008-10-05  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL
+       * build-aux/bootstrap: Check for AC_PROG_LIBTOOL, as well as the
+       obsolete AM_PROG_LIBTOOL.  Spotted by Debarshi Ray <rishi@gnu.org>.
+
+2008-10-04  Bruno Haible  <bruno@clisp.org>
+
+       * modules/dup2 (License): Change to LGPLv2+.
+       * modules/sleep (License): Likewise.
+       * modules/perror (License): Likewise.
+       * modules/fopen (License): Change to LGPLv2+, with approval by Eric
+       Blake.
+       * modules/signal (License): Likewise.
+       * modules/sigprocmask (License): Likewise.
+       * modules/raise (License): Change to LGPLv2+, with approval by Jim
+       Meyering.
+
+2008-10-04  Bruno Haible  <bruno@clisp.org>
+
+       * lib/spawn.in.h (POSIX_SPAWN_*): Undefine before redefining.
+       Reported by Rainer Tammer <tammer@tammer.net>.
+
+2008-10-03  Paolo Bonzini  <bonzini@gnu.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       * lib/errno.in.h (EWOULDBLOCK) [win32]: Define to EAGAIN.
+       * lib/winsock.c (set_winsock_errno): Map WSAEWOULDBLOCK to EWOULDBLOCK.
+       * lib/strerror.c (rpl_strerror): Remove error string for EWOULDBLOCK.
+
+2008-10-03  Kamil Dudka  <kdudka@redhat.com>
+
+       filevercmp: new module
+       * lib/filevercmp.h: New function filevercmp comparing version strings.
+       * lib/filevercmp.c: Implementation of filevercmp function.
+       * modules/filevercmp: Module metadata.
+       * tests/test-filevercmp.c: Unit test for new module.
+       * modules/filevercmp-tests: Unit test metadata.
+       * MODULES.html.sh: Add filevercmp module.
+
+2008-10-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-ctype.h: Add comment.
+       Reported by Jim Meyering.
+
+2008-10-02  Bruno Haible  <bruno@clisp.org>
+
+       * modules/posix_spawn-internal (Depends-on): Add 'open'.
+
+2008-10-02  Paolo Bonzini  <bonzini@gnu.org>
+
+       * build-aux/bootstrap: Allow renaming bootstrap, and change the
+       name of bootstrap.conf accordingly.
+
+2008-10-02  Paolo Bonzini  <bonzini@gnu.org>
+
+       * build-aux/bootstrap: Install git-merge-changelog configuration
+       items into .gitconfig if needed.
+
+2008-10-02  Paolo Bonzini  <bonzini@gnu.org>
+
+       * build-aux/bootstrap: Recognize `gnulib' being a submodule in a
+       git repository, and initialize/update it accordingly.
+
+2008-10-02  Richard W.M. Jones  <rjones@redhat.com>
+
+       * modules/fsync-tests: New file.
+       * tests/test-fsync.c: New file.
+
+       New module 'fsync'.
+       * lib/fsync.c: New file.
+       * m4/fsync.m4: New file.
+       * modules/fsync: New file.
+       * lib/unistd.in.h (fsync): New declaration.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Define and AC_SUBST both
+       GNULIB_FSYNC and HAVE_FSYNC.
+       * modules/unistd: Substitute GNULIB_FSYNC and HAVE_FSYNC.
+       * MODULES.html.sh (posix_functions): Add fsync.
+       * doc/posix-functions/fsync.texi: Mention the new module.
+
+2008-10-02  Jim Meyering  <meyering@redhat.com>
+
+       fts.c: sync with similar code from coreutils' remove.c
+       * lib/fts.c (dirent_inode_sort_may_be_useful): Merge from coreutils.
+       Guard also with "#if defined __linux__", since for now at least,
+       this code is Linux-kernel-specific.
+
+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>
+
+       * modules/lock-tests (Depends-on): Add thread, yield.
+       (configure.ac): Remove all checks.
+       (test_lock_LDADD): Use YIELD_LIB instead of LIBSCHED.
+       * tests/test-lock.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_lock, test_rwlock, test_recursive_lock, test_once): Pass an
+       additional NULL argument to gl_thread_join.
+
 2008-09-30  Bruno Haible  <bruno@clisp.org>
 
        Fix the Win32 implementation of the 'thread' module.