stddef: fix NetBSD 5.0 NULL bug, rather than working around it
[gnulib.git] / ChangeLog
index 239faa6..3c0089b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,609 @@
+2009-08-14  Eric Blake  <ebb9@byu.net>
+       and Bruno Haible  <bruno@clisp.org>
+
+       stddef: fix NetBSD 5.0 NULL bug, rather than working around it
+       * tests/test-locale.c: Revert previous patch related to NULL.
+       * tests/test-stdio.c: Likewise.
+       * tests/test-stdlib.c: Likewise.
+       * tests/test-string.c: Likewise.
+       * tests/test-unistd.c: Likewise.
+       * modules/time-tests (Depends-on): Add verify.
+       * modules/wchar-tests (Depends-on): Likewise.
+       * tests/test-time.c: Test for NULL compliance.
+       * tests/test-wchar.c: Likewise.
+       * modules/locale (Depends-on): Add stddef.
+       * modules/stdio (Depends-on): Likewise.
+       * modules/stdlib (Depends-on): Likewise.
+       * modules/string (Depends-on): Likewise.
+       * modules/time (Depends-on): Likewise.
+       * modules/unistd (Depends-on): Likewise.
+       * modules/wchar (Depends-on): Likewise.
+       * lib/locale.in.h (includes): Use <stddef.h> to fix NULL.
+       * lib/stdlib.in.h (includes): Likewise.
+       * lib/string.in.h (includes): Likewise.
+       * lib/time.in.h (includes): Likewise.
+       * lib/unistd.in.h (includes): Likewise.
+       * m4/locale_h.m4 (gl_LOCALE_H): Replace locale.h if stddef.h was
+       replaced.
+       * m4/wchar.m4 (gl_WCHAR_H): Likewise.
+       * m4/stddef_h.m4: New file.
+       * modules/stddef: Likewise.
+       * lib/stddef.in.h: Likewise.
+       * modules/stddef-tests: Likewise.
+       * tests/test-stddef.c: Likewise.
+       * MODULES.html.sh (Basic types <stddef.h>): Mention new module.
+       * doc/posix-headers/stddef.texi (stddef.h): Document the bug.
+       * doc/posix-headers/locale.texi (locale.h): Likewise.
+       * doc/posix-headers/stdio.texi (stdio.h): Likewise.
+       * doc/posix-headers/stdlib.texi (stdlib.h): Likewise.
+       * doc/posix-headers/string.texi (string.h): Likewise.
+       * doc/posix-headers/time.texi (time.h): Likewise.
+       * doc/posix-headers/unistd.texi (unistd.h): Likewise.
+       * doc/posix-headers/wchar.texi (wchar.h): Likewise.
+
+2009-08-14  Eric Blake  <ebb9@byu.net>
+
+       doc: improve git diff of texinfo files
+       * .gitattributes: Add rule for *.texi files, with hint on how to
+       use it.
+       Copied from m4, and based on a report by Bruno Haible.
+
+2009-08-14  Bruno Haible  <bruno@clisp.org>
+
+       Disable multithread support by default on Cygwin 1.5.x for real.
+       * m4/threadlib.m4 (gl_THREADLIB_EARLY_BODY): Fix last commit.
+
+2009-08-14  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: much ado about intervals
+       * build-aux/update-copyright: Implement and document
+       UPDATE_COPYRIGHT_USE_INTERVALS to control expansion and collapse
+       of copyright year intervals.
+       Also, document UPDATE_COPYRIGHT_YEAR.
+       * tests/test-update-copyright.sh: Test it.
+
+       update-copyright: convert 2-digit to 4-digit years
+       * build-aux/update-copyright: Implement and document.
+       * tests/test-update-copyright.sh: Update.
+
+2009-08-14  Jim Meyering  <meyering@redhat.com>
+
+       test-exclude: avoid coreutils "make check" failure
+       * tests/test-exclude.c (ARGMATCH_DIE_DECL) [ARGMATCH_DIE_DECL]: Define,
+       just as in test-argmatch.c.
+
+2009-08-13  Eric Blake  <ebb9@byu.net>
+
+       test-dup2: fix bad assumption
+       * tests/test-dup2.c (main): Tolerate leaked fds from environment.
+       Reported by Peter Breitenlohner <peb@mppmu.mpg.de>.
+
+       test-version-etc: fix CRLF portability issue
+       * tests/test-version-etc.sh: Use tr, not sed, as not all sed
+       recognize \r.
+       * tests/test-argp-version-etc-1.sh: Likewise.
+
+       getopt: update client modules
+       * modules/argp (Depends-on): Use getopt-gnu.
+       * modules/git-merge-changelog (Depends-on): Likewise.
+       * modules/long-options (Depends-on): Likewise.
+       * modules/xstrtol (Depends-on): Likewise.
+
+2009-08-13  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-version-etc.sh: Don't fail on different
+       project/version.  Don't fail on CRLF differences.  Rewrite to use
+       multiple -e instead of multiple sed forks, suggested by Eric Blake
+       <ebb9@byu.net>.
+       * tests/test-argp-version-etc-1.sh: Likewise.
+
+2009-08-13  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-version-etc.sh: Don't fail on different
+       project/version.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Tests for modules 'getopt-posix', 'getopt-gnu'.
+       * modules/getopt-posix-tests: New file.
+       * tests/test-getopt.c: New file.
+       * tests/test-getopt.h: New file.
+       * tests/test-getopt_long.h: New file.
+
+       New modules 'getopt-posix', 'getopt-gnu'.
+       * modules/getopt-gnu: New file, renamed from modules/getopt.
+       * modules/getopt-posix: New file.
+       * modules/getopt: Turn into an obsolete alias for getopt-gnu.
+       * m4/getopt.m4 (gl_FUNC_GETOPT_POSIX, gl_FUNC_GETOPT_GNU): New macros.
+       (gl_GETOPT): Remove macro.
+       (gl_GETOPT_CHECK_HEADERS): Do some checks only for gl_FUNC_GETOPT_GNU.
+       Disable the test against BSD systems that declare optreset. Test
+       against mingw bug. Test against lack of support of optional arguments
+       on many platforms.
+       * doc/glibc-headers/getopt.texi: Update module name and list of
+       relevant platforms.
+       * doc/posix-functions/getopt.texi: Mention modules 'getopt-posix' and
+       'getopt-gnu' and more portability problems.
+       * NEWS: Mention the changes.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Ensure that optarg etc. get declared by <unistd.h>.
+       * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS): Require
+       AC_USE_SYSTEM_EXTENSIONS.
+       * modules/getopt (Depends-on): Add 'extensions'.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test link errors.
+       * modules/pipe-filter-ii-tests (Makefile.am): Define
+       test_pipe_filter_ii1_LDADD and test_pipe_filter_ii2_main_LDADD.
+       * modules/pipe-filter-gi-tests (Makefile.am): Define
+       test_pipe_filter_gi1_LDADD and test_pipe_filter_gi2_main_LDADD.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/getopt.m4 (gl_REPLACE_GETOPT): New macro, was called
+       gl_GETOPT_SUBSTITUTE before.
+       (gl_GETOPT): Use it.
+       * m4/argp.m4 (gl_ARGP): Update.
+       Reported by Sergey Poznyakoff.
+
+       * m4/getopt.m4: Reorder macros.
+       (gl_GETOPT): Inline gl_GETOPT_SUBSTITUTE.
+       (gl_GETOPT_SUBSTITUTE): Remove macro.
+
+2009-08-12  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       Minor improvement in gitlog-to-changelog
+
+       * build-aux/gitlog-to-changelog: New option `--format' makes
+       output format string configurable.
+
+2009-08-12  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       Optimize exclude: use hash tables for non-wildcard patterns.
+
+       * lib/exclude.c: Include hash.h and mbuiter.h
+       (struct exclude_pattern, exclude_segment): New data types.
+       (struct exclude): Rewrite.
+       (fnmatch_pattern_has_wildcards): New function.
+       (new_exclude_segment, free_exclude_segment): New functions.
+       (excluded_file_pattern_p, excluded_file_name_p): New functions.
+       (excluded_file_name, add_exclude): Rewrite using new struct exclude.
+       * lib/exclude.h (is_fnmatch_pattern): New prototype.
+       * modules/exclude: Depend on hash and mbuiter.
+
+       * modules/exclude-tests: New file.
+       * tests/test-exclude.c: New file.
+       * tests/test-exclude1.sh: New file.
+       * tests/test-exclude2.sh: New file.
+       * tests/test-exclude3.sh: New file.
+       * tests/test-exclude4.sh: New file.
+       * tests/test-exclude5.sh: New file.
+       * tests/test-exclude6.sh: New file.
+       * tests/test-exclude7.sh: New file.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Ensure that getopt() gets declared by <unistd.h>.
+       * lib/unistd.in.h: Conditionally include getopt.h.
+       * m4/getopt.m4 (gl_GETOPT_SUBSTITUTE): Require gl_UNISTD_H_DEFAULTS.
+       Set GNULIB_UNISTD_H_GETOPT.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+       GNULIB_UNISTD_H_GETOPT.
+       * modules/unistd (Makefile.am): Substitute GNULIB_UNISTD_H_GETOPT.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Clarify logic.
+       * m4/getopt.m4 (gl_GETOPT_CHECK_HEADERS, gl_GETOPT_IFELSE): Use
+       gl_replace_getopt instead of GETOPT_H.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/getopt.m4: Add comments.
+
+2009-08-12  Bruno Haible  <bruno@clisp.org>
+
+       Disable multithread support by default on Cygwin 1.5.x.
+       * m4/threadlib.m4 (gl_THREADLIB_EARLY_BODY): On Cygwin 1.5.x and older,
+       set gl_use_threads=no if not specified otherwise.
+
+2009-08-11  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compilation error on NetBSD 5.0.
+       * tests/test-locale.c: Write sizeof (NULL) instead of sizeof NULL.
+       * tests/test-stdio.c: Likewise.
+       * tests/test-stdlib.c: Likewise.
+       * tests/test-string.c: Likewise.
+       * tests/test-unistd.c: Likewise.
+       Reported by Greg Troxel <gdt@ir.bbn.com>
+       at <https://savannah.gnu.org/support/?106973>.
+
+2009-08-11  Bruno Haible  <bruno@clisp.org>
+
+       * modules/dup2-tests (Depends-on): Remove close.
+
+       Undo 2009-07-19 commit.
+       * modules/acl-tests (Depends-on): Remove close.
+       * modules/binary-io-tests (Depends-on): Likewise.
+       * modules/closein-tests (Depends-on): Likewise.
+       * modules/flock-tests (Depends-on): Likewise.
+       * modules/fsync-tests (Depends-on): Likewise.
+       * modules/lseek-tests (Depends-on): Likewise.
+       * modules/pipe-tests (Depends-on): Likewise.
+       * modules/posix_spawn-tests (Depends-on): Likewise.
+       * modules/posix_spawnp-tests (Depends-on): Likewise.
+       * modules/stat-time-tests (Depends-on): Likewise.
+       * modules/yesno-tests (Depends-on): Likewise.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/vasnprintf.c (DCHAR_SET): Undefine at the end.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Fix a gcc warning.
+       * lib/write.c (rpl_write): Cast result of _get_osfhandle.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Don't optimize AC_LIBOBJs, as they may appear in different contexts.
+       * m4/close.m4 (gl_REPLACE_CLOSE): Execute AC_LIBOBJ unconditionally,
+       not only the first time.
+       * m4/fclose.m4 (gl_REPLACE_FCLOSE): Likewise.
+       * m4/open.m4 (gl_REPLACE_OPEN): Likewise.
+       * m4/strstr.m4 (gl_FUNC_STRSTR): Execute AC_LIBOBJ when REPLACE_STRSTR
+       is 1, not only the the first time.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Make it possible to use module 'gethostname' without module 'close'.
+       * lib/unistd.in.h (close): Evoke a link error only if
+       UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS is set.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+       UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       * modules/unistd (Makefile.am): Substitute
+       UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       * lib/sys_ioctl.in.h (ioctl): Evoke a link error only if
+       SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS is set.
+       * m4/sys_ioctl_h.m4 (gl_SYS_IOCTL_H_DEFAULTS): Initialize
+       SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       * modules/sys_ioctl (Makefile.am): Substitute
+       SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       * modules/socket (configure.ac): On native Windows, set
+       UNISTD_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS and
+       SYS_IOCTL_H_HAVE_WINSOCK2_H_AND_USE_SOCKETS.
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       * m4/close.m4 (gl_FUNC_CLOSE): Add comment.
+       * modules/ioctl (configure.ac): Likewise.
+
+2009-08-10  Bruno Haible  <bruno@clisp.org>
+
+       Avoid collision between gnulib wrapper and libintl wrapper.
+       * lib/stdio-write.c (printf): Don't define if a printf wrapper is
+       already defined in intl/printf.c.
+       (vprintf): Test REPLACE_VPRINTF_POSIX, not REPLACE_VFPRINTF_POSIX.
+       (vfprintf): Test REPLACE_VFPRINTF_POSIX, not REPLACE_VPRINTF_POSIX.
+
+2009-08-09  Bruno Haible  <bruno@clisp.org>
+
+       Make <sys/select.h> really self-contained, also on Solaris 10.
+       * lib/sys_select.in.h: Include <string.h>.
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Test also against
+       Solaris 10 problem.
+       * tests/test-sys_select.c (main): Add check that FD_ZERO can be used.
+       * doc/posix-headers/sys_select.texi: Mention the Solaris 10 problem.
+       Reported by Jim Meyering.
+
+2009-08-09  Bruno Haible  <bruno@clisp.org>
+
+       Avoid warnings from 'aclocal' that are due to a use of macro name
+       AM_XGETTEXT_OPTION that is not defined in automake.
+       * modules/argp (configure.ac): Hide use of AM_XGETTEXT_OPTION from
+       automake.
+       * modules/error (configure.ac): Likewise.
+       * modules/propername (configure.ac): Likewise.
+       * modules/vasprintf (configure.ac): Likewise.
+       * modules/verror (configure.ac): Likewise.
+       * modules/xprintf (configure.ac): Likewise.
+       * modules/xvasprintf (configure.ac): Likewise.
+
+2009-08-08  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compilation error in C++ mode.
+       * lib/gettimeofday.c (rpl_gettimeofday): Cast timezone argument.
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2009-08-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): Define HOST_NAME_MAX also
+       for the various Unix platforms.
+       * doc/posix-headers/limits.texi: Update platforms list regarding
+       HOST_NAME_MAX.
+       Reported by Tom G. Christensen <tgc@jupiterrise.com>.
+
+2009-08-07  Jim Meyering  <meyering@redhat.com>
+
+       selinux-at: fix typo in a comment
+       * lib/selinux-at.h: s/getfileconat/getfilecon/ in a comment.
+       Spotted by Paolo Bonzini.
+
+       selinux-at: remove redundant m4 code, add documentation
+       * modules/selinux-at (configure.ac): Remove redundant code.
+       LIB_SELINUX is already set via the dependent module, selinux-h.
+       (Include): Add quotes around selinux-at.h.
+       * lib/selinux-at.h: Add documentation.
+       Reported by Bruno Haible in
+       http://marc.info/?l=gnulib-bug&m=124958988300749
+
+2009-08-07  Bruno Haible  <bruno@clisp.org>
+
+       Avoid link error on MacOS X 10.3 and 10.4.
+       * lib/argp-ba.c (argp_program_bug_address): Explicitly zero-initialize
+       on non-ELF systems.
+       * lib/argp-pv.c (argp_program_version): Likewise.
+       Reported by Simon Josefsson.
+
+2009-08-07  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-version-etc.sh: Use $EXEEXT.
+
+2009-08-06  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: update documentation to point to maint.mk
+       * build-aux/update-copyright: Here.
+
+2009-08-06  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: support update-copyright-local
+       * top/maint.mk (update-copyright-local): Define place-holder.
+       (update-copyright): Depend on $(update-copyright-local).
+
+2009-08-06  Jim Meyering  <meyering@redhat.com>
+
+       selinux-at: new module
+       Initially written for coreutils, this module will soon be
+       used by findutils, too.
+       * MODULES.html.sh [Misc]: Add selinux-at.
+       * lib/selinux-at.h: New file, from coreutils.
+       * lib/selinux-at.c: Likewise.
+       * modules/selinux-at: Likewise.
+       (License): Change from LGPL to GPL, since it depends
+       on the GPL'd openat module.
+
+       doc: update README
+       * README: Remove references to cogito.
+       Remove cvs-repo-updating instructions from 2007.
+       Don't imply that CVS is better if you have limited disk space.
+
+2009-08-05  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: support C-style comments
+       * build-aux/update-copyright: Implement and document.
+       * tests/test-update-copyright.sh: Test.
+
+2009-08-05  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: support omitted "(C)"
+       * build-aux/update-copyright: Implement and document.  Also,
+       allow variable whitespace before "(C)".
+       * tests/test-update-copyright.sh: Test.
+
+2009-08-05  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: don't trip on non-FSF copyright statements
+       * build-aux/update-copyright: Fix so that the first correctly
+       formatted FSF copyright statement is recognized no matter what
+       appears before it.  Update documentation.
+       * tests/test-update-copyright.sh: Test that.
+
+2009-08-05  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: clean up code a little
+       * build-aux/update-copyright: Append "_re" to the name of any
+       variable holding a regular expression.
+       Replace "old" and "new" with "stmt" in variable names.
+       Do not accept 2-digit UPDATE_COPYRIGHT_YEAR, which was not
+       handled correctly.
+       Format code more consistently.
+
+2009-08-05  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright-tests: improve portability
+       * tests/test-update-copyright.sh: Use cmp if diff cannot handle
+       -u or /dev/null.  Suggested by Jim Meyering and Eric Blake.
+
+2009-08-03  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: support @copyright{} and &copy;
+       * build-aux/update-copyright: Implement and document.
+       * tests/test-update-copyright.sh: Test.
+
+2009-08-04  Jim Meyering  <meyering@redhat.com>
+
+       update-copyright-tests: correctly test EOL=\r\n handling
+       * tests/test-update-copyright.sh: Put \r at the end of some lines
+       for the dos-eol tests.  Based on a patch by Joel E. Denny.
+
+       maint.mk: make update-copyright exclusion list more configurable
+       * top/maint.mk (update-copyright): Default to excluding COPYING,
+       but allow an override, in case someone does want to update that file.
+
+       maint.mk: don't update copyright date in COPYING
+       * top/maint.mk (update-copyright): Exclude COPYING.
+
+       maint.mk: add a copyright-updating rule
+       * top/maint.mk (update-copyright): New rule.
+       Derived from coreutils/Makefile.am.
+
+       update-copyright: rename some variables
+       * build-aux/update-copyright: Rename a few variables for clarity.
+       Tweak syntax.  List Joel E. Denny as coauthor.
+
+2009-08-03  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: fix bug for 2-digit last year and add tests
+       * build-aux/update-copyright: Fix bug.
+       Use UPDATE_COPYRIGHT_YEAR from environment as current year if
+       specified.
+       * modules/update-copyright-tests: New
+       * tests/test-update-copyright.sh: New.
+
+2009-07-31  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: handle leading tabs in line prefix
+       * build-aux/update-copyright: Count leading tabs as 8 spaces
+       when computing margin.  This helps with the formatting of
+       ChangeLogs, for example.
+       Fix documentation a little.
+
+2009-07-31  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: support EOL=\r\n
+       * build-aux/update-copyright: Implement that.
+
+2009-07-31  Joel E. Denny  <jdenny@clemson.edu>
+
+       update-copyright: automatically format copyright statements
+       * build-aux/update-copyright: Implement that.
+       Also, be a little more predictable and safer by always failing
+       when the full copyright format is not perfectly recognized as an
+       unbroken whole.  Discussed at
+       <http://lists.gnu.org/archive/html/bug-gnulib/2009-07/msg00131.html>.
+       Rewrite documentation.
+
+2009-08-03  Bruno Haible  <bruno@clisp.org>
+
+       * m4/iconv.m4 (AM_ICONV): Fix displayed message with autoconf-2.64.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'uname'.
+       * modules/uname-tests: New file.
+       * tests/test-uname.c: New file.
+
+       New module 'uname'.
+       * lib/uname.c: New file.
+       * m4/uname.m4: New file.
+       * modules/uname: New file.
+       * doc/posix-functions/uname.texi: Mention the new module.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'sys_utsname'.
+       * modules/sys_utsname-tests: New file.
+       * tests/test-sys_utsname.c: New file.
+
+       New module 'sys_utsname'.
+       * lib/sys_utsname.in.h: New file, based on glibc's <sys/utsname.h>.
+       * m4/sys_utsname_h.m4: New file.
+       * modules/sys_utsname: New file.
+       * doc/posix-headers/sys_utsname.texi: Mention the new module.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       Implicitly initialize the sockets library.
+       * lib/gethostname.c: Include sockets.h.
+       (rpl_gethostname): Invoke gl_sockets_startup.
+       * lib/socket.c: Include sockets.h.
+       (rpl_socket): Invoke gl_sockets_startup.
+       * modules/gethostname (Depends-on): Add sockets.
+       * modules/socket (Depends-on): Likewise.
+       * tests/test-poll.c: Don't include sockets.h.
+       (main): Don't invoke gl_sockets_startup.
+       * tests/test-select.c: Don't include sockets.h.
+       (main): Don't invoke gl_sockets_startup.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       Allow multiple calls to gl_sockets_startup.
+       * lib/sockets.c (initialized_sockets_version): New variable.
+       (gl_sockets_startup): Do nothing if already called for this or a higher
+       version.
+       (gl_sockets_cleanup): Reset initialized_sockets_version.
+
+2009-08-03  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-argp-version-etc-1.sh: Use EXEEXT.  Don't fail on
+       different project/version.
+
+2009-08-02  Paolo Bonzini  <bonzini@gnu.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'pipe-filter-gi'.
+       * modules/pipe-filter-gi-tests: New file.
+       * tests/test-pipe-filter-gi1.sh: New file.
+       * tests/test-pipe-filter-gi1.c: New file.
+       * tests/test-pipe-filter-gi2.sh: New file.
+       * tests/test-pipe-filter-gi2-main.c: New file.
+       * tests/test-pipe-filter-gi2-child.c: New file.
+
+       New module 'pipe-filter-gi'.
+       * lib/pipe-filter-gi.c: New file.
+       * modules/pipe-filter-gi: New file.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+            Paolo Bonzini  <bonzini@gnu.org>
+
+       Tests for module 'pipe-filter-ii'.
+       * modules/pipe-filter-ii-tests: New file.
+       * tests/test-pipe-filter-ii1.sh: New file.
+       * tests/test-pipe-filter-ii1.c: New file.
+       * tests/test-pipe-filter-ii2.sh: New file.
+       * tests/test-pipe-filter-ii2-main.c: New file.
+       * tests/test-pipe-filter-ii2-child.c: New file.
+
+       New module 'pipe-filter-ii'.
+       * lib/pipe-filter.h: New file.
+       * lib/pipe-filter-ii.c: New file.
+       * lib/pipe-filter-aux.h: New file.
+       * modules/pipe-filter-ii: New file.
+
+2009-08-02  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/gc-libgcrypt.c: Change copyright to FSF.
+       * lib/gc-gnulib.c: Likewise.
+
+2009-08-02  Martin Lambers  <marlam@marlam.de>  (tiny change)
+
+       * lib/gethostname.c: Include limits.h.
+
+2009-08-02  Simon Josefsson  <simon@josefsson.org>
+            Bruno Haible  <bruno@clisp.org>
+
+       Ensure HOST_NAME_MAX as part of the gethostname module.
+       * m4/gethostname.m4 (gl_FUNC_GETHOSTNAME): On native Windows platforms,
+       define also HOST_NAME_MAX.
+       * tests/test-gethostname.c: Include <limits.h>.
+       (main): Check also HOST_NAME_MAX.
+       * doc/posix-headers/limits.texi: Document the mingw problem.
+
+2009-08-02  Bruno Haible  <bruno@clisp.org>
+
+       * lib/gethostname.c (gethostname): Fix handling of large len argument.
+       Add comments.
+
+2009-03-31  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/gethostname.c: Add Windows wrapper.
+       * m4/gethostname.m4: Look for gethostname in -lws2_32.
+       * modules/gethostname: Depend on sys_socket & errno, for also
+       added lib/w32sock.h.  Add GETHOSTNAME_LIB link directive.
+       * modules/gethostname-tests: Link to @GETHOSTNAME_LIB@.
+
+2009-07-31  Jim Meyering  <meyering@redhat.com>
+
+       getloadavg: fix symbol name in comment
+       * lib/getloadavg.c: Correct a typo I introduced when adding
+       comments to Matt's change: s/NLIST_POINTER/N_NAME_POINTER/.
+       Matt Kraai spotted the problem.
+
 2009-07-29  Matt Kraai  <mkraai@beckman.com>
 
        getloadavg: check whether n_name is a pointer, for QNX 6.4.1