Improve announce-gen user messages.
[gnulib.git] / ChangeLog
index 04d5f43..802c405 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,230 @@
+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
        entire testsuite consistent and avoids an Irix 6.2 bug.
 
 2008-10-05  Bruno Haible  <bruno@clisp.org>
-            Jim Meyering  <jim@meyering.net>
+           Jim Meyering  <jim@meyering.net>
 
        Add an option for ignoring EPIPE during close_stdout.
        * lib/closeout.h: Include <stdbool.h>.
        Reported by Rainer Tammer <tammer@tammer.net>.
 
 2008-10-03  Paolo Bonzini  <bonzini@gnu.org>
-            Bruno Haible  <bruno@clisp.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.