+2008-10-12 Bruno Haible <bruno@clisp.org>
+
+ Use msvcrt aware primitives for creation/termination of Win32 threads.
+ * lib/glthread/thread.c: Include <process.h>.
+ (glthread_create_func): Use _beginthreadex instead of CreateThread.
+ (wrapper_func): Update signature.
+ (gl_thread_exit_func): Use _endthreadex instead of EndThread.
+
+2008-10-11 Yoann Vandoorselaere <yoann@prelude-ids.org>
+ Bruno Haible <bruno@clisp.org>
+
+ Provide a Win32 implementation of the 'cond' module.
+ * lib/glthread/cond.h [USE_WIN32]: New implementation.
+ * lib/glthread/cond.c (glthread_cond_init_func,
+ glthread_cond_wait_func, glthread_cond_timedwait_func,
+ glthread_cond_signal_func, glthread_cond_broadcast_func,
+ glthread_cond_destroy_func) [USE_WIN32]: New functions.
+ * modules/cond (Dependencies): Add gettimeofday.
+
+2008-10-11 Bruno Haible <bruno@clisp.org>
+
+ Make sleep work on older versions of mingw.
+ * m4/sleep.m4 (gl_FUNC_SLEEP): Test whether 'sleep' is declared, not
+ only whether it exists.
+ * doc/posix-functions/sleep.texi: Mention the problem with older
+ versions of mingw.
+
+2008-10-11 Bruno Haible <bruno@clisp.org>
+
+ New module 'shutdown'.
+ * modules/shutdown: New file.
+ * lib/sys_socket.in.h (shutdown): New declaration.
+ * lib/winsock.c (shutdown): New function.
+ * m4/sys_socket_h.m4 (gl_SYS_SOCKET_H_DEFAULTS): Initialize
+ GNULIB_SHUTDOWN.
+ * modules/sys_socket (Makefile.am): Substitute GNULIB_SHUTDOWN.
+ * doc/posix-functions/shutdown.texi: Document the new module.
+
+2008-10-11 Jim Meyering <meyering@redhat.com>
+
+ * lib/fclose.c: Fix typo in comment: s/close/fclose/.
+
+2008-10-11 Bruno Haible <bruno@clisp.org>
+
+ New module 'fclose'.
+ * modules/fclose: New file.
+ * lib/stdio.in.h (fclose): New declaration.
+ * lib/fclose.c: New file.
+ * m4/fclose.m4: New file.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize GNULIB_FCLOSE,
+ REPLACE_FCLOSE.
+ * m4/close.m4 (gl_REPLACE_CLOSE): Invoke gl_REPLACE_FCLOSE.
+ * modules/stdio (Makefile.am): Substitute GNULIB_FCLOSE,
+ REPLACE_FCLOSE.
+ * modules/close (Depends-on): fclose.
+ * doc/posix-functions/fclose.texi: Mention the problem on Windows.
+
+2008-10-11 Bruno Haible <bruno@clisp.org>
+
+ * lib/winsock.c (_gl_close_fd_maybe_socket): If closesocket fails,
+ set errno and don't call _close.
+
+2008-10-10 Bruno Haible <bruno@clisp.org>
+
+ * lib/copy-acl.c (qcopy_acl) [CYGWIN]: Call chmod before setting the
+ ACL, not afterwards. Fixes test failure on Cygwin.
+
+2008-10-09 Ben Pfaff <blp@gnu.org>
+
+ * build-aux/announce-gen: Fix gnulib version related part of usage
+ message. Die with a useful error message if no tarballs are
+ found.
+
+2008-10-10 Jim Meyering <meyering@redhat.com>
+
+ bootstrap: use git's --depth=N option only if it's supported
+ * build-aux/bootstrap: Work with git-1.4.4.4, which does not
+ recognize the --depth option. Reported by Pádraig Brady.
+
+2008-10-09 Bruno Haible <bruno@clisp.org>
+
+ New module 'ioctl'.
+ * modules/ioctl: New file.
+ * lib/sys_socket.in.h (ioctl): Remove declaration.
+ * lib/winsock.c: Include <sys/ioctl.h>.
+ (rpl_ioctl): Define only of the gnulib module 'ioctl' is present.
+ * m4/sys_socket_h.m4 (gl_PREREQ_SYS_H_WINSOCK2): Require
+ gl_SYS_IOCTL_H_DEFAULTS. Set also SYS_IOCTL_H_HAVE_WINSOCK2_H.
+ * modules/sys_socket (Files): Add m4/sys_ioctl_h.m4.
+ * doc/posix-functions/ioctl.texi: Mention the new module.
+
+2008-10-09 Bruno Haible <bruno@clisp.org>
+
+ New module 'sys_ioctl'.
+ * lib/sys_ioctl.in.h: New file.
+ * m4/sys_ioctl_h.m4: New file.
+ * modules/sys_ioctl: New file.
+ * doc/glibc-headers/sys_ioctl.texi: Mention the new module.
+
+2008-10-09 Bruno Haible <bruno@clisp.org>
+
+ * lib/sys_socket.in.h (ioctl): Make signature POSIX compliant.
+ * lib/winsock.c: Include <stdarg.h>.
+ (rpl_ioctl): Change to second argument 'int' and then varargs.
+
+2008-10-09 Bruno Haible <bruno@clisp.org>
+
+ * m4/close.m4 (gl_FUNC_CLOSE): Arrange to replace the close() function
+ when the sys_socket module is present and the system has <winsock2.h>.
+
+2008-10-09 Bruno Haible <bruno@clisp.org>
+
+ * doc/posix-functions/close.texi: Mention module 'close' instead of
+ module 'sys_socket'.
+
+2008-10-09 Bruno Haible <bruno@clisp.org>
+
+ * doc/glibc-headers/sys_ioctl.texi: New file.
+ * doc/gnulib.texi: Include it.
+
+2008-10-09 Paolo Bonzini <bonzini@gnu.org>
+ Bruno Haible <bruno@clisp.org>
+
+ Combine the two replacements of 'close'.
+ * lib/sys_socket.in.h (close): Define to a reminder to include
+ <unistd.h>.
+ (_gl_close_fd_maybe_socket): New declaration.
+ (HAVE__GL_CLOSE_FD_MAYBE_SOCKET): New macro.
+ * lib/winsock.c (close): Remove undefinition.
+ (_gl_close_fd_maybe_socket): Renamed from rpl_close. Define only when
+ needed for the gnulib module 'close'.
+ * lib/unistd.in.h (close): If the gnulib module 'close' is not used,
+ define to an error symbol or to a warning, if suitable.
+ * lib/close.c: Include <sys/socket.h>.
+ (rpl_close): Invoke _gl_close_fd_maybe_socket when gnulib defines it.
+ * m4/sys_socket_h.m4 (gl_PREREQ_SYS_H_WINSOCK2): Set also
+ UNISTD_H_HAVE_WINSOCK2_H.
+ (gl_SYS_SOCKET_H_DEFAULTS): Require gl_UNISTD_H_DEFAULTS.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+ UNISTD_H_HAVE_WINSOCK2_H.
+ * modules/sys_socket (Files): Add m4/unistd_h.m4.
+ (configure.ac): Set a module indicator.
+ (Makefile.am): Substitute GNULIB_CLOSE.
+ * modules/unistd (Makefile.am): Substitute UNISTD_H_HAVE_WINSOCK2_H.
+ * modules/poll-tests (Depends-on): Add close.
+ * modules/select-tests (Depends-on): Likewise.
+
+2008-10-09 Paolo Bonzini <bonzini@gnu.org>
+ Bruno Haible <bruno@clisp.org>
+
+ New module 'close'.
+ * modules/close: New file.
+ * lib/unistd.in.h (close): Move declaration out of the
+ FCHDIR_REPLACEMENT scope.
+ (_gl_unregister_fd): New declaration.
+ * lib/close.c: New file.
+ * lib/fchdir.c (rpl_close): Remove function.
+ * m4/close.m4: New file.
+ * m4/fchdir.m4 (gl_FUNC_FCHDIR): When replacing fchdir, also replace
+ close.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_CLOSE and
+ REPLACE_CLOSE.
+ * modules/unistd (Makefile.am): Substitute GNULIB_CLOSE and
+ REPLACE_CLOSE.
+ * modules/fchdir (Depends-on): Add close.
+
+2008-10-09 Paolo Bonzini <bonzini@gnu.org>
+ Bruno Haible <bruno@clisp.org>
+
+ * lib/fcntl.in.h (open): Simplify conditionals.
+ (_gl_register_fd): New declaration.
+ * lib/fchdir.c (rpl_open): Remove function.
+ * lib/open.c: When FCHDIR_REPLACEMENT is defined, compile the file
+ also.
+ (open): When FCHDIR_REPLACEMENT is defined, invoke _gl_register_fd.
+ * m4/fchdir.m4 (gl_FUNC_FCHDIR): When replacing fchdir, also replace
+ open.
+
+2008-10-09 Jim Meyering <meyering@redhat.com>
+
+ GNUmakefile: use the more name-space-friendly "_version"
+ * top/GNUmakefile (_dummy): Update.
+ (_version): Rename from "version".
+
+2008-10-09 Paolo Bonzini <bonzini@gnu.org>
+ Bruno Haible <bruno@clisp.org>
+
+ * lib/fchdir.c (_gl_unregister_fd): New functions, extracted from
+ rpl_close.
+ (_gl_register_fd): New function, extracted from rpl_open.
+ (rpl_close, rpl_closedir): Use _gl_unregister_fd.
+ (rpl_open, rpl_opendir): Use _gl_register_fd.
+
+2008-10-09 Paolo Bonzini <bonzini@gnu.org>
+
+ Fix organization of 'open' replacement.
+ * m4/open.m4 (gl_REPLACE_OPEN): New macro.
+ (gl_FUNC_OPEN): Use it.
+ (gl_PREREQ_OPEN): Add a : to make the body non-empty.
+
+2008-10-08 Bruno Haible <bruno@clisp.org>
+
+ * modules/getdate-tests (test_getdata_LDADD): Add LIBINTL.
+
+2008-10-08 Simon Josefsson <simon@josefsson.org>
+
+ * m4/sys_socket_h.m4: Don't AC_LIBOBJ(winsock). The file is
+ AC_LIBOBJ'ed by each gnulib module that needs it (e.g., socket,
+ listen).
+
+2008-10-08 Eric Blake <ebb9@byu.net>
+
+ GNUmakefile: add 'make version' target
+ * top/GNUmakefile (_curr-ver): Split version update rules...
+ (version): ...into a target.
+
+2008-10-07 Bruno Haible <bruno@clisp.org>
+
+ Use a more portable replacement expression for -0.0L.
+ * m4/signbit.m4 (gl_SIGNBIT_TEST_PROGRAM): Use -LDBL_MIN * LDBL_MIN
+ instead of -0.0L. Fix m4 quotation.
+
+ * tests/test-signbit.c: Include <float.h>.
+ (minus_zero): New variable.
+ (test_signbitl): Use minus_zero instead of -zero.
+ * modules/signbit-tests (Depends-on): Add float.
+
+ * tests/test-ceill.c: Include <float.h>.
+ (zero): Remove variable.
+ (minus_zero): New variable.
+ (main): Use minus_zero instead of -zero.
+ * modules/ceill-tests (Depends-on): Add float.
+
+ * tests/test-floorl.c: Include <float.h>.
+ (zero): Remove variable.
+ (minus_zero): New variable.
+ (main): Use minus_zero instead of -zero.
+ * modules/floorl-tests (Depends-on): Add float.
+
+ * tests/test-roundl.c: Include <float.h>.
+ (zero): Remove variable.
+ (minus_zero): New variable.
+ (main): Use minus_zero instead of -zero.
+ * modules/roundl-tests (Depends-on): Add float.
+
+ * tests/test-truncl.c: Include <float.h>.
+ (zero): Remove variable.
+ (minus_zero): New variable.
+ (main): Use minus_zero instead of -zero.
+ * modules/truncl-tests (Depends-on): Add float.
+
+ * tests/test-frexpl.c (zero): Remove variable.
+ (minus_zero): New variable.
+ (main): Use minus_zero instead of -zero.
+ * modules/frexpl-tests (Depends-on): Add float.
+
+ * tests/test-isnan.c (zerol): Remove variable.
+ (minus_zerol): New variable.
+ (test_long_double): Use minus_zerol instead of -zerol.
+ * modules/isnan-tests (Depends-on): Add float.
+
+ * tests/test-isnanl.h (zero): Remove variable.
+ (minus_zero): New variable.
+ (main): Use minus_zero instead of -zero.
+ * modules/isnanl-nolibm-tests (Depends-on): Add float.
+ * modules/isnanl-tests (Depends-on): Add float.
+
+ * tests/test-ldexpl.c (zero): Remove variable.
+ (minus_zero): New variable.
+ (main): Use minus_zero instead of -zero.
+ * modules/ldexpl-tests (Depends-on): Add float.
+
+ * tests/test-snprintf-posix.h (zerol): Remove variable.
+ (minus_zerol): New variable.
+ (test_function): Use minus_zerol instead of -zerol.
+ * modules/snprintf-posix-tests (Depends-on): Add float.
+ * modules/vsnprintf-posix-tests (Depends-on): Add float.
+
+ * tests/test-sprintf-posix.h (zerol): Remove variable.
+ (minus_zerol): New variable.
+ (test_function): Use minus_zerol instead of -zerol.
+ * modules/sprintf-posix-tests (Depends-on): Add float.
+ * modules/vsprintf-posix-tests (Depends-on): Add float.
+
+ * tests/test-vasnprintf-posix.c (zerol): Remove variable.
+ (minus_zerol): New variable.
+ (test_function): Use minus_zerol instead of -zerol.
+ * modules/vasnprintf-posix-tests (Depends-on): Add float.
+
+ * tests/test-vasprintf-posix.c (zerol): Remove variable.
+ (minus_zerol): New variable.
+ (test_function): Use minus_zerol instead of -zerol.
+ * modules/vasprintf-posix-tests (Depends-on): Add float.
+
+2008-10-07 Simon Josefsson <simon@josefsson.org>
+
+ * MODULES.html.sh (Support for building documentation): Mention
+ pmccabe2html. Sort entries.
+
+ Add pmccabe2html module, from gnupdf.
+ * build-aux/pmccabe.css: New file.
+ * build-aux/pmccabe2html: New file.
+ * m4/pmccabe2html.m4: New file.
+ * modules/pmccabe2html: New file.
+
+2008-10-07 Richard W.M. Jones <rjones@redhat.com>
+
+ flock: new module
+ * MODULES.html.sh: Add to list of modules.
+ * lib/flock.c: flock implementation for Windows and Unix systems
+ which have fcntl.
+ * doc/glibc-functions/flock.texi: Update documentation.
+ * lib/sys_file.in.h: <sys/file.h> header file.
+ * m4/flock.m4: M4 macros.
+ * m4/sys_file_h.m4: M4 macros for replacement sys/file.h.
+ * modules/flock: flock module.
+ * modules/flock-tests: flock tests module.
+ * modules/sys_file: sys/file.h module.
+ * tests/test-flock.c: test suite for flock.
+
+2008-10-06 Jim Meyering <meyering@redhat.com>
+
+ bootstrap: check for LT_INIT more portably still ;-)
+ * build-aux/bootstrap: Don't rely on \>, since it's not portable.
+ Spotted by Bruno Haible.
+
+2008-10-06 Eric Blake <ebb9@byu.net>
+
+ test-signbit: avoid tripping Irix cc bug on -0.0L
+ * tests/test-signbit.c (minus_zerol): Delete, and replace with
+ '-zerol'. This may break on HP-UX/hppa, but at least makes the
+ entire testsuite consistent and avoids an Irix 6.2 bug.
+
+2008-10-05 Bruno Haible <bruno@clisp.org>
+ Jim Meyering <jim@meyering.net>
+
+ Add an option for ignoring EPIPE during close_stdout.
+ * lib/closeout.h: Include <stdbool.h>.
+ (close_stdout_set_ignore_EPIPE): New declaration.
+ * lib/closeout.c: Include <stdbool.h>.
+ (ignore_EPIPE): New variable.
+ (close_stdout_set_ignore_EPIPE): New function.
+ (close_stdout): Ignore EPIPE error if ignore_EPIPE is set.
+ * lib/close-stream.c (close_stream): Mention the possible EPIPE
+ failure.
+ * modules/closeout (Depends-on): Add stdbool.
+
+2008-10-05 Bruno Haible <bruno@clisp.org>
+
+ * modules/accept: New file.
+ * modules/bind: New file.
+ * modules/connect: New file.
+ * modules/getpeername: New file.
+ * modules/getsockname: New file.
+ * modules/getsockopt: New file.
+ * modules/listen: New file.
+ * modules/recv: New file.
+ * modules/recvfrom: New file.
+ * modules/send: New file.
+ * modules/sendto: New file.
+ * modules/setsockopt: New file.
+ * modules/socket: New file.
+ * lib/sys_socket.in.h: Include the GL_LINK_WARNING definition.
+ (socket, connect, accept, bind, getpeername, getsockname, getsockopt,
+ listen, recv, send, recvfrom, sendto, setsockopt): Declare only when
+ the particular module is requested. Add a link warning when the
+ particular module is not requested.
+ * lib/winsock.c (rpl_socket, rpl_connect, rpl_accept, rpl_bind,
+ rpl_getpeername, rpl_getsockname, rpl_getsockopt, rpl_listen, rpl_recv,
+ rpl_send, rpl_recvfrom, rpl_sendto, rpl_setsockopt): Define only when
+ the particular module is requested.
+ * m4/sys_socket_h.m4 (gl_SYS_SOCKET_MODULE_INDICATOR,
+ gl_SYS_SOCKET_H_DEFAULTS): New macros.
+ (gl_HEADER_SYS_SOCKET): Require gl_SYS_SOCKET_H_DEFAULTS.
+ * modules/sys_socket (Depends-on): Add link-warning.
+ (Makeifle.am): Substitute GNULIB_SOCKET, GNULIB_CONNECT, GNULIB_ACCEPT,
+ GNULIB_BIND, GNULIB_GETPEERNAME, GNULIB_GETSOCKNAME, GNULIB_GETSOCKOPT,
+ GNULIB_LISTEN, GNULIB_RECV, GNULIB_SEND, GNULIB_RECVFROM,
+ GNULIB_SENDTO, GNULIB_SETSOCKOPT, and the definition of
+ GL_LINK_WARNING.
+ * doc/posix-functions/accept.texi: Mention the new module 'accept'.
+ * doc/posix-functions/bind.texi: Mention the new module 'bind'.
+ * doc/posix-functions/connect.texi: Mention the new module 'connect'.
+ * doc/posix-functions/getpeername.texi: Mention the new module
+ 'getpeername'.
+ * doc/posix-functions/getsockname.texi: Mention the new module
+ 'getsockname'.
+ * doc/posix-functions/getsockopt.texi: Mention the new module
+ 'getsockopt'.
+ * doc/posix-functions/listen.texi: Mention the new module 'listen'.
+ * doc/posix-functions/recv.texi: Mention the new module 'recv'.
+ * doc/posix-functions/recvfrom.texi: Mention the new module 'recvfrom'.
+ * doc/posix-functions/send.texi: Mention the new module 'send'.
+ * doc/posix-functions/sendto.texi: Mention the new module 'sendto'.
+ * doc/posix-functions/setsockopt.texi: Mention the new module
+ 'setsockopt'.
+ * doc/posix-functions/socket.texi: Mention the new module 'socket'.
+ * modules/poll-tests (Depends-on): Add socket, bind, getsockopt,
+ listen, connect, accept.
+ * modules/select-tests (Depends-on): Likewise.
+
+2008-10-05 Bruno Haible <bruno@clisp.org>
+
+ * lib/winsock.c (strerror): Remove unused #undef.
+ (rpl_close): Remove unused local variable.
+
+ * modules/sys_socket (Depends-on); Add errno.
+
+2008-10-05 Bruno Haible <bruno@clisp.org>
+
+ * lib/sys_select.in.h: Include the GL_LINK_WARNING definition.
+ (select): Add a link warning when the 'select' module is not used.
+ * modules/sys_select (Depends-on): Add link-warning.
+ (Makefile.am): Substitute the definition of GL_LINK_WARNING.
+ Suggested by Paolo Bonzini.
+
+2008-10-05 Jim Meyering <meyering@redhat.com>
+
+ bootstrap: check for LT_INIT more portably
+ * build-aux/bootstrap: Avoid using grep -E, since it's not
+ portable enough. Suggestion from Bruno Haible.
+
+2008-10-05 Bruno Haible <bruno@clisp.org>
+
+ * doc/posix-headers/sys_select.texi: Mention 'struct timeval' problem
+ as being fixed by gnulib.
+
+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.
+ * doc/posix-functions/select.texi: Update.
+
+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.
+ * lib/glthread/thread.h [USE_WIN32_THREADS] (gl_thread_t): Change to a
+ pointer type.
+ (gl_thread_self): Invoke gl_thread_self_func.
+ (gl_thread_self_func): New declaration.
+ * lib/glthread/thread.c [USE_WIN32_THREADS] (self_key): New variable.
+ (do_init_self_key, init_self_key): New functions.
+ (struct gl_thread_struct): Renamed from 'struct thread_extra'.
+ Remove some fields.
+ (running_threads, running_lock): Remove variables.
+ (get_current_thread_handle): New function.
+ (gl_thread_self_func, wrapper_func, glthread_create_func,
+ glthread_join_func, gl_thread_exit_func): Largely rewritten and
+ simplified.
+
+2008-09-30 Bruno Haible <bruno@clisp.org>
+
+ * lib/winsock-select.c (win32_poll_handle): Add shortcut for regular
+ files.
+
+2008-09-30 Jim Meyering <meyering@redhat.com>
+
+ fts.m4: correct the test for statfs.f_type
+ * m4/fts.m4 (gl_FUNC_FTS_CORE): Include <sys/statfs.h>
+ when checking for statfs.f_type.
+
+2008-09-15 Simon Josefsson <simon@josefsson.org>
+
+ tests: avoid some compiler warnings
+ * tests/test-memchr.c (main): Pass NULL indirectly.
+ * tests/test-getdate.c (main): Remove unused variable 'ret'.
+
+2008-09-29 Ondřej Vašík <ovasik@redhat.com>
+
+ getdate.y: disallow countable dayshifts like "4 yesterday ago"
+ * lib/getdate.y (relative_time_table) [tDAY_SHIFT]: New type for
+ exactly specified dayshifts.
+ (dayshift): New rule.
+ (rel): Add dayshift.
+ (relative_time_table) [tomorrow, yesterday, today, now]:
+ Use tDAY_SHIFT in place of tDAY_UNIT.
+ * tests/test-getdate.c: Add tests for now-disallowed countable
+ dayshifts, e.g., "4 yesterday ago".
+
+2008-09-29 Bruno Haible <bruno@clisp.org>
+
+ * tests/test-posix_spawn1.c: Renamed from tests/test-posix_spawn.c.
+ * tests/test-posix_spawn1.in.sh: Renamed from
+ tests/test-posix_spawn.in.sh.
+ * tests/test-posix_spawn2.c: New file.
+ * tests/test-posix_spawn2.in.sh: New file.
+ * modules/posix_spawnp-tests (Files): Update.
+ (Makefile.am): Update. Add test-posix_spawn2 to the tests.
+
+2008-09-29 Bruno Haible <bruno@clisp.org>
+
+ Propagate effects of putenv/setenv/unsetenv to child processes.
+ * lib/execute.c (execute): Use spawnvpe instead of spawnvp.
+ * lib/pipe.c (create_pipe): Likewise.
+
+2008-09-29 Bruno Haible <bruno@clisp.org>
+
+ Enable use of shell scripts as executables in mingw.
+ * lib/execute.c (execute): When spawnv fails with error ENOEXEC,
+ run the program as a shell script.
+ * lib/pipe.c (create_pipe): Likewise.
+ * lib/w32spawn.h (prepare_spawn): Add a hidden element in front of the
+ resulting array.
+