Provide additional interfaces and documentation for version-etc module.
[gnulib.git] / ChangeLog
index 082be5e..7405482 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2009-06-25  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       Provide additional interfaces and documentation for version-etc
+       module.
+
+       * lib/version-etc.c (version_etc_arn, version_etc_ar): New
+       interfaces.
+       * lib/version-etc.h (version_etc_arn, version_etc_ar): New
+       prototypes.
+
+2009-06-24  Bruno Haible  <bruno@clisp.org>
+
+       * m4/lib-link.m4 (AC_LIB_HAVE_LINKFLAGS): Fix description of
+       HAVE_LIB${NAME} macro.
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2009-06-23  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/hash-tests (test_hash_LDADD): Link to libintl when
+       needed.
+
+2009-06-21  Bruno Haible  <bruno@clisp.org>
+
+       Make two consecutive identical invocations of AC_LIB_HAVE_LINKFLAGS
+       work.
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Reset HAVE_LIB${NAME}
+       together with LIB${NAME}, LTLIB${NAME}.
+       Reported by Sam Steingold <sds@gnu.org>.
+
+2009-06-20  Jim Meyering  <meyering@redhat.com>
+
+       tests: make sc_require_test_exit_idiom more generic
+       * top/maint.mk (Exit_witness_file): New overridable variable.
+       (sc_require_test_exit_idiom): Don't hard-code tests/test-lib.sh.
+       Relax test for /^Exit \$fail$$/ to just /^Exit ./.
+
+2009-06-19  Jim Meyering  <meyering@redhat.com>
+
+       hash: reverse order of src/dst parameters in an internal interface
+       * lib/hash.c (transfer_entries): Reverse order of parameters to
+       put DST before SRC.  Adjust callers.
+
+       tests: test-hash: avoid wholesale duplication
+       * tests/test-hash.c (main): Don't copy/paste a 60-line loop.
+       Instead, use a loop and add a single conditional.
+
+       tests: test-hash: allow seed selection via a command line argument
+       * tests/test-hash.c (get_seed): New function.
+       (main): Use it.
+
+2009-06-19  Eric Blake  <ebb9@byu.net>
+
+       hash: avoid memory leak on allocation failure
+       * lib/hash.c: (hash_rehash): Avoid memory leak on allocation
+       failure.  Factor repeated algorithm...
+       (transfer_entries): ...into new helper routine.
+       (hash_delete): React to hash_rehash return value.
+
+       hash: reduce memory pressure in hash_rehash no-op case
+       * lib/hash.c (next_prime): Avoid overflow.
+       (hash_initialize): Factor bucket size computation...
+       (compute_bucket_size): ...into new helper function.
+       (hash_rehash): Use new function and open coding to reduce memory
+       pressure, and avoid a memory leak in USE_OBSTACK code.
+       Reported by Jim Meyering.
+
+2009-06-18  Eric Blake  <ebb9@byu.net>
+
+       hash: make rotation more obvious
+       * modules/hash (Depends-on): Add bitrotate and stdint.
+       * lib/bitrotate.h (rotl_sz, rotr_sz): New functions.
+       * lib/hash.c (headers): Drop limits.h.  Add stdint.h.
+       (SIZE_MAX): Rely on headers for definition.
+       (hash_string) [USE_DIFF_HASH]: Use rotl_sz.
+       (raw_hasher): Use rotr_sz.
+       Suggested by Jim Meyering.
+
+       hash: fix memory leak in last patch
+       * lib/hash.c (hash_rehash): Avoid memory leak.
+
+       hash: avoid no-op rehashing
+       * lib/hash.c (hash_rehash): Recognize useless rehash attempts.
+
+       hash: provide default callback functions
+       * lib/hash.c (raw_hasher, raw_comparator): New functions.
+       (hash_initialize): Use them as defaults.
+       * tests/test-hash.c (main): Test this.
+
+       hash: minor optimization
+       * lib/hash.c (hash_lookup, hash_find_entry): Avoid function call
+       when possible.
+       (hash_initialize): Document this promise.
+       (hash_do_for_each, hash_clear, hash_free): Use C89 syntax.
+       * tests/test-hash.c (hash_compare_strings): Test this.
+
+2009-06-18  Bruno Haible  <bruno@clisp.org>
+
+       * m4/strstr.m4 (gl_FUNC_STRSTR): Skip linear time test if strstr is
+       going to be replaced anyway.
+
+2009-06-18  Bruno Haible  <bruno@clisp.org>
+
+       * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): Invoke AC_LIBOBJ only
+       in one place.
+       (gl_FUNC_STRCASESTR): Skip linear time test if strcasestr is going to
+       be replaced anyway.
+
+2009-06-18  Eric Blake  <ebb9@byu.net>
+
+       hash: check for resize before insertion
+       * lib/hash.c (hash_insert): Check whether bucket usage exceeds
+       threshold before insertion, so that a pathological hash_rehash
+       that fills every bucket can still trigger another rehash.
+
+2009-06-18  Jim Meyering  <meyering@redhat.com>
+
+       hash-tests: add a loop around the small tests
+       * tests/test-hash.c (main): Repeat small tests with selected
+       small initial table sizes.
+
+2009-06-17  Eric Blake  <ebb9@byu.net>
+
+       hash: minor cleanups
+       * lib/hash.h (hash_entry): Make opaque, by moving...
+       * lib/hash.c (hash_entry): ...here.
+       (hash_insert): Clarify restrictions on what can be inserted.
+       (hash_get_next): Clarify when it is safe to remove an element
+       during traversal.
+       (check_tuning): Skip verification when tuning is known safe.
+       (hash_initialize): Clarify restrictions on tuning.
+
+2009-06-17  Jim Meyering  <jim@meyering.net>
+       and Eric Blake  <ebb9@byu.net>
+
+       hash-tests: new module
+       * modules/hash-tests: New file.
+       * tests/test-hash.c: New file.
+
+2009-06-17  Eric Blake  <ebb9@byu.net>
+
+       strstr-simple: document new module
+       * MODULES.html.sh: Document new module.
+
+       strstr, strcasestr: replace on platforms with broken memchr
+       * modules/strstr: Split into...
+       * modules/strstr-simple: ...new module that does not care about
+       performance, but does care about glibc bug.
+       * m4/strstr.m4 (gl_FUNC_STRSTR): Split...
+       (gl_FUNC_STRSTR_SIMPLE): ...into new macro, which replaces strstr
+       if platform memchr is broken, per Debian bug 521737.
+       * m4/strcasestr.m4 (gl_FUNC_STRCASESTR_SIMPLE): React to broken
+       memchr.
+       * m4/memchr.m4 (gl_FUNC_MEMCHR): Only expand once.
+       * doc/posix-functions/strstr.texi (strstr): Document the fix.
+       * doc/glibc-functions/strcasestr.texi (strcasestr): Likewise.
+       * modules/mountlist (Depends-on): Add strstr-simple.
+       * modules/gen-uni-tables (Depends-on): Likewise.
+       * modules/argz (Depends-on): Add strstr.
+
+2009-06-17  Bruno Haible  <bruno@clisp.org>
+
+       * modules/posix_spawn-internal (Depends-on): Add errno.
+
+2009-06-17  Bruno Haible  <bruno@clisp.org>
+
+       Define missing ESTALE on Interix 3.5.
+       * lib/errno.in.h (ESTALE): Assign a value if missing.
+       * lib/strerror.c (rpl_strerror): Handle missing ESTALE and ECANCELED.
+       * m4/errno_h.m4 (gl_HEADER_ERRNO_H): Also test whether ESTALE is
+       missing.
+       * doc/posix-headers/errno.texi: Mention the Interix bug.
+       Reported by Jay Krell <jay.krell@cornell.edu> via Eric Blake.
+
+2009-06-15  Eric Blake  <ebb9@byu.net>
+
+       memchr, memchr2: add valgrind exception
+       * lib/memchr.valgrind: New file.
+       * lib/memchr2.valgrind: New file.
+       * modules/memchr (Files): Distribute valgrind file.
+       * modules/memchr2 (Files): Likewise.
+
+       docs: memchr is no longer obsolete
+       * MODULES.html.sh: Move memchr from obsolete to string.h section.
+       * lib/string.in.h (memchr): Simplify logic.
+
+2009-06-14  Jim Meyering  <meyering@redhat.com>
+
+       link-follow: fix the "checking..." message to not mention trailing slash
+       * m4/link-follow.m4 (gl_AC_FUNC_LINK_FOLLOWS_SYMLINK): This test has
+       never considered trailing slashes.
+
+2009-06-14  Bruno Haible  <bruno@clisp.org>
+
+       * m4/memchr.m4: Mention also the bug on IA-64.
+       * doc/posix-functions/memchr.texi: Likewise.
+
+2009-06-12  Eric Blake  <ebb9@byu.net>
+
+       memchr: detect broken x86_64 and alpha implementations
+       * modules/memchr-tests (Depends-on): Move mmap detection...
+       * modules/memchr (Depends-on): ...here.
+       (configure.ac): Set indicator.
+       * lib/string.in.h (memchr): Declare replacement.
+       * modules/string (Makefile.am): Trigger replacement.
+       * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Likewise.
+       * m4/memchr.m4 (gl_FUNC_MEMCHR): Use mmap to detect platform
+       bugs.
+       * doc/posix-functions/memchr.texi (memchr): Document the bug.
+       * modules/getpagesize (License): Relax license.
+
+2009-06-11  Bruno Haible  <bruno@clisp.org>
+
+       * lib/idpriv.h: Add more references.
+
+2009-06-08  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'idpriv-droptemp'.
+       * modules/idpriv-droptemp-tests: New file.
+       * tests/test-idpriv-droptemp.sh: New file.
+       * tests/test-idpriv-droptemp.su.sh: New file.
+       * tests/test-idpriv-droptemp.c: New file.
+
+       New module 'idpriv-droptemp'.
+       * lib/idpriv-droptemp.c: New file.
+       * modules/idpriv-droptemp: New file.
+
+2009-06-08  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'idpriv-drop'.
+       * modules/idpriv-drop-tests: New file.
+       * tests/test-idpriv-drop.sh: New file.
+       * tests/test-idpriv-drop.su.sh: New file.
+       * tests/test-idpriv-drop.c: New file.
+
+       New module 'idpriv-drop'.
+       * lib/idpriv.h: New file.
+       * lib-idpriv-drop.c: New file.
+       * m4/idpriv.m4: New file.
+       * modules/idpriv-drop: New file.
+
+2009-06-08  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistdio/u8-vasnprintf (Depends-on): Add memchr.
+       * modules/unistdio/u8-u8-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u16-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u16-u16-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u32-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/u32-u32-vasnprintf (Depends-on): Likewise.
+       * modules/unistdio/ulc-vasnprintf (Depends-on): Likewise.
+
+2009-06-08  Eric Blake  <ebb9@byu.net>
+
+       test-strstr: use memory fence, when possible
+       * tests/test-strstr.c (main): Use memory fence, in order to be
+       more likely to trigger Debian bug 521737.
+       * modules/strstr-tests (Files): Pull in additional files.
+
+       memchr: no longer obsolete, for wider field testing
+       * modules/memchr (Status, Notice): Delete, this module is no
+       longer obsolete.
+       * modules/vasnprintf (Depends-on): Add memchr.
+
+2009-06-07  Jim Meyering  <meyering@redhat.com>
+
+       hash: declare some functions with the warn_unused_result attribute
+       * lib/hash.h (__attribute__, ATTRIBUTE_WUR): Define.
+
+2009-06-07  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-alignof.c: Don't test int64_t if it does not exist.
+       Reported by Eric Blake.
+
+2009-06-06  Eric Blake  <ebb9@byu.net>
+
+       test-alignof: fix typo with long double
+       * tests/test-alignof.c (CHECK): Use longdouble typedef to avoid
+       compiler error.
+
+2009-06-06  Neil Jerram  <neil@ossau.uklinux.net>  (tiny change)
+
+       Escape non-texinfo { and }s.
+       * doc/ld-output-def.texi (Visual Studio Compatibility): Fix
+       markup error.
+
+2009-06-04  Jim Meyering  <meyering@redhat.com>
+
+       gitlog-to-changelog: don't infloop on an empty commit log
+       * build-aux/gitlog-to-changelog: Warn about an empty log message.
+       Reported by Boris Petersen <transacid@centerim.org>.
+
+2009-06-03  Mike Frysinger  <vapier@gentoo.org>
+
+       version-etc: extend for packagers
+       Add three new configure options, intended for packagers:
+         --with-packager="packager name"
+         --with-packager-version="packager-specific version"
+         --with-packager-bug-reports="packager bug reporting"
+       An example with coreutils:
+         $ ./configure \
+           --with-packager=Gentoo \
+           --with-packager-bug-report=http://bugs.gentoo.org/ \
+           --with-packager-version="patchset 1.6"
+         $ ./src/ls --version | head -n3
+         ls (GNU coreutils) 7.1-dirty
+         Packaged by Gentoo (patchset 1.6)
+         Copyright (C) 2009 Free Software Foundation, Inc.
+       Note that the bug reporting info via --help doesn't show up because
+       coreutils uses its own custom emit_bug_reporting_address() implementation
+       in src/system.h.  If it didn't, it'd look like:
+         $ ./src/ls --help | tail -n4
+         Report bugs to <bug-coreutils@gnu.org>.
+         Report Gentoo bugs to <http://bugs.gentoo.org/>.
+         GNU coreutils home page: <http://www.gnu.org/software/coreutils/>.
+         General help using GNU software: <http://www.gnu.org/gethelp/>.
+       * lib/version-etc.c: Print new information, if provided.
+       * m4/version-etc.m4: New file.
+       * modules/version-etc (Files): Add m4/version-etc.m4.
+       (configure.ac): Add gl_VERSION_ETC.
+
+2009-05-31  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-alignof.c: Include <stdint.h>. Check also 'long double'
+       and 'int64_t'.
+       * modules/alignof-tests (Dependencies): Add stdint.
+       Reported by Eric Blake.
+
+2009-05-31  Bruno Haible  <bruno@clisp.org>
+
+       * lib/alignof.h (alignof_slot, alignof_type, alignof): Document
+       restriction due to compiler bugs.
+       Reported by Eric Blake.
+
+2009-05-31  Simon Josefsson  <simon@josefsson.org>
+           Bruno Haible  <bruno@clisp.org>
+
+       Fix test-alignof failure.
+       * lib/alignof.h (alignof_slot): New macro.
+       (alignof_type): New macro, with the same semantics as the previous
+       'alignof'.
+       (alignof): Alias to alignof_slot.
+       * tests/test-alignof.c (CHECK): Check alignof_slot, not alignof. Also
+       check that the results are usable as constant expressions.
+
+2009-05-31  Bruno Haible  <bruno@clisp.org>
+
+       * tests/zerosize-ptr.h (zerosize_ptr): Specify more details.
+       * tests/test-memchr.c (main): Check that memchr does not read past the
+       first occurrence of the byte.
+       * tests/test-strstr.c (main): Update comment.
+       Suggested by Eric Blake.
+
+2009-05-30  Bruno Haible  <bruno@clisp.org>
+
+       * doc/ld-output-def.texi (Visual Studio Compatibility): Explain in more
+       detail how to use dumpbin.
+       Reported by David Byron <dbyron@dbyron.com>.
+
+2009-06-02  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-parse-duration.sh: Don't use non-portable 'read -u3'.
+
+2009-06-02  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/manywarnings.m4: Add GCC 4.4 warnings.
+
+2009-05-28  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Don't do HAVE_CONFIG_H replacements on
+       build-aux/ files.
+
+2009-05-28  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_import): Transform license on build-aux/ files too.
+
+2009-05-27  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (sed_transform_main_lib_file)
+       (sed_transform_testsrelated_lib_file): : Don't use non-POSIX
+       regexps.
+
+2009-05-26  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-strstr.c: Add another self-test.
+       * tests/test-strstr.c: Rewrite to use malloc/strcpy instead of
+       strdup.  Suggested by Eric Blake  <ebb9@byu.net>.
+
+2009-05-23  Bruno Haible  <bruno@clisp.org>
+
+       * doc/havelib.texi (AC_LIB_HAVE_LINKFLAGS): Update for 2009-04-26
+       change.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       Simplify use of mode_t varargs.
+       * lib/open.c (open): Use PROMOTED_MODE_T instead of a conditional that
+       uses 'mode_t' or 'int'.
+       * lib/openat.c (openat): Likewise.
+       * lib/open-safer.c (open_safer): Likewise.
+       * m4/mode_t.m4: New file.
+       * m4/open.m4 (gl_PREREQ_OPEN): Require gl_PROMOTED_TYPE_MODE_T.
+       * m4/openat.m4 (gl_PREREQ_OPENAT): Likewise.
+       * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Likewise.
+       * modules/open (Files): Add m4/mode_t.m4.
+       * modules/openat (Files): Likewise.
+       * modules/fcntl-safer (Files): Likewise.
+       Suggested by Eric Blake.
+
+2009-05-21  Pádraig Brady  <P@draigbrady.com>
+
+       * doc/glibc-functions/fallocate.texi: New file.
+       * doc/gnulib.texi: Include it.
+
+2009-05-21  Eric Blake  <ebb9@byu.net>
+           Bruno Haible  <bruno@clisp.org>
+
+       * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Remove redundant m4_quote
+       invocations.
+       * m4/absolute-header.m4 (gl_ABSOLUTE_HEADER): Likewise.
+
+2009-05-21  Eric Blake  <ebb9@byu.net>
+           Bruno Haible  <bruno@clisp.org>
+
+       Second attempt to work around an AIX 5.3, 6.1 compiler bug with
+       include_next. Fix of 2008-11-20 commit.
+       * m4/include_next.m4 (gl_CHECK_NEXT_HEADERS): Also set
+       NEXT_AS_FIRST_DIRECTIVE_FOO_H.
+       * lib/math.in.h: Use NEXT_AS_FIRST_DIRECTIVE_MATH_H instead of
+       NEXT_MATH_H.
+       * modules/math (Makefile.am): Substitute NEXT_AS_FIRST_DIRECTIVE_MATH_H
+       instead of NEXT_MATH_H.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       Avoid redefinition warnings for SIZE_MAX.
+       * m4/size_max.m4 (gl_SIZE_MAX): Avoid redefining SIZE_MAX in config.h.
+       Reported by Simon Josefsson.
+
+2009-05-21  Bruno Haible  <bruno@clisp.org>
+
+       * m4/size_max.m4 (gl_SIZE_MAX): Use AC_CACHE_CHECK instead of
+       AC_CACHE_VAL.
+
+2009-05-20  Bruno Haible  <bruno@clisp.org>
+
+       Make zeroptr.h work on mingw.
+       * tests/zerosize-ptr.h: Test for the presence of <sys/mman.h> and
+       mprotect.
+       * modules/memchr-tests (configure.ac): Also test for sys/mman.h.
+       * modules/memchr2-tests (configure.ac): Likewise.
+       * modules/memcmp-tests (configure.ac): Likewise.
+       * modules/memmem-tests (configure.ac): Likewise.
+       * modules/memrchr-tests (configure.ac): Likewise.
+       Reported by Simon Josefsson.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-glob.c: Include string.h for strcmp prototype.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/getdelim (Depends-on): Add explicit stdint, although it
+       was implicitly already pulled in via realloc-posix.
+       * lib/getdelim.c: Get SIZE_MAX from stdint.h.
+
+2009-05-20  Simon Josefsson  <simon@josefsson.org>
+
+       MinGW and IRIX does not have sa_family_t type.  Reported by "Tom
+       G. Christensen" <tgc@jupiterrise.com>.
+       * m4/sys_socket_h.m4: Check for sa_family_t.
+       * lib/sys_socket.in.h: Typedef sa_family_t when needed.
+       * modules/sys_socket: Substitute HAVE_SA_FAMILY_T.
+       * tests/test-sys_socket.c: Check that sa_family_t works.
+
+2009-05-18  Eric Blake  <ebb9@byu.net>
+
+       maint.mk: allow gnulib_dir in VPATH build
+       * top/maint.mk (gnulib_dir): Make relative to $(srcdir).
+
+2009-05-15  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: Give gnulib_dir a default definition.
+       * top/maint.mk (gnulib_dir): Define to 'gnulib', by default.
+       Thus, most packages no longer need to specify this variable in cfg.mk
+
+2009-05-14  Tom Prince  <tom.prince@ualberta.net>  (tiny change)
+
+       rename.m4: fix typos that would make non-mingw cross-configure fail
+       * m4/rename.m4 (gl_FUNC_RENAME): Fix typos.
+
+2009-05-13  Eric Blake  <ebb9@byu.net>
+
+       mmap-anon: avoid out-of-order autoconf expansion
+       * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Use correct
+       SYSTEM_EXTENSIONS macro to silence warnings from autoconf 2.63b.
+       * modules/memchr-tests (Depends-on): Add extensions.
+       * modules/memchr2-tests (Depends-on): Add extensions.
+       * modules/memcmp-tests (Depends-on): Add extensions.
+       * modules/memmem-tests (Depends-on): Add extensions.
+       * modules/memrchr-tests (Depends-on): Add extensions.
+
+2009-05-13  Bruno Haible  <bruno@clisp.org>
+
+       Make some tests ISO C 99 compliant.
+       * tests/zerosize-ptr.h: New file.
+       * tests/test-memchr.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * tests/test-memchr2.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * tests/test-memcmp.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * tests/test-memmem.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * tests/test-memrchr.c: Include zerosize-ptr.h.
+       (main): Use a zero-size object pointer instead of NULL.
+       * modules/memchr-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+       * modules/memchr2-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+       * modules/memcmp-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+       * modules/memmem-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+       * modules/memrchr-tests (Files): Add tests/zerosize-ptr.h,
+       m4/mmap-anon.m4.
+       (Depends-on): Add getpagesize.
+       (configure.ac): Invoke gl_FUNC_MMAP_ANON. Check for mprotect.
+
+2009-05-12  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'alignof'.
+       * modules/alignof-tests: New file.
+       * tests/test-alignof.c: New file.
+
+2009-05-12  Bruno Haible  <bruno@clisp.org>
+
+       Fix alignof macro.
+       * lib/alignof.h (alignof): Remove special cases for AIX and HP-UX
+       vendor compilers that are always correct.
+
+2009-05-12  Bruno Haible  <bruno@clisp.org>
+
+       Make the MAP_ANONYMOUS detection work on HP-UX 11.
+       * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Check whether mmap exists, but
+       not whether its fully works.
+
+2009-05-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Add comments.
+
+2009-05-12  Jim Meyering  <meyering@redhat.com>
+
+       * top/maint.mk: Adjust backslash alignment.
+
+2009-05-11  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk: Make $(srcdir)/build-aux configurable.
+
+2009-05-11  Eric Blake  <ebb9@byu.net>
+
+       argp: avoid undefined behavior
+       * lib/argp-fmtstream.c (weak_alias): Pass correct types to ctype
+       macros.
+
+2009-05-08  Simon Josefsson  <simon@josefsson.org>
+
+       * tests/test-vc-list-files-git.sh: Do git config of user.email and
+       user.name to prevent git commit from complaining.
+
+2009-05-10  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import, func_create_testdir, copy-file): Change
+       sed_rewrite_old_files, sed_rewrite_new_files, sed_rewrite_files so that
+       it rewrites every file name only once.
+       Reported by Simon Josefsson. Helped by Ralf Wildenhues.
+
+2009-05-08  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sys_socket.in.h (_SS_PADSIZE): Use a conditional expression
+       instead of 'max'.
+
+2009-05-08  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/sys_socket_h.m4: Test for ws2tcpip.h earlier, needed for
+       sockaddr_storage test.
+
+2009-05-07  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/sys_socket (Makefile.am): Substitute
+       HAVE_STRUCT_SOCKADDR_STORAGE.  Depend on alignof.
+       * m4/sys_socket_h.m4: Check for sockaddr_storage.
+       * lib/sys_socket.in.h (sockaddr_storage): Define when needed.
+       * tests/test-sys_socket.c: Check sockaddr_storage.
+
+2009-05-08  Bruno Haible  <bruno@clisp.org>
+
+       New module 'alignof'.
+       * lib/alignof.h: New file.
+       * modules/alignof: New file.
+
+2009-05-04  David Bartley  <dtbartle@csclub.uwaterloo.ca>
+           Bruno Haible  <bruno@clisp.org>
+
+       Fix test-file-has-acl on FreeBSD.
+       * tests/test-file-has-acl.sh: Also test a directory. On FreeBSD, the
+       mask is implicitly added.
+       * tests/test-file-has-acl.c: Include <signal.h>.
+       (main): Terminate the test after 5 seconds.
+       * modules/acl-tests (configure.ac): Check for alarm function.
+
+2009-05-04  Bruno Haible  <bruno@clisp.org>
+
+       Exploit new semantics of AC_DEFUN_ONCE available since 2009-01-26.
+       * m4/errno_h.m4 (gl_HEADER_ERRNO_H): Remove outdated comment.
+       * modules/errno (configure.ac): Drop AC_REQUIRE.
+       * m4/multiarch.m4 (gl_MULTIARCH): Remove outdated comment.
+       * modules/multiarch (configure.ac): Drop AC_REQUIRE.
+
+2009-05-04  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/glob-tests: New module.
+       * tests/test-glob.c: Add.
+
+2009-05-04  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/fnmatch-tests: New module.
+       * tests/test-fnmatch.c: Add.
+
+2009-05-04  Eric Blake  <ebb9@byu.net>
+
+       maint: make the new no-submodule-changes rule VPATH-safe
+       * top/maint.mk (no-submodule-changes): Don't assume a srcdir build.
+
+2009-05-04  David Bartley  <dtbartle@csclub.uwaterloo.ca>
+           Bruno Haible  <bruno@clisp.org>
+
+       acl: Fix infinite loop on FreeBSD.
+       * lib/acl_entries.c (acl_entries) [Linux, FreeBSD]: Fix interpretation
+       of return value from acl_get_entry.
+       * lib/file-has-acl.c (acl_access_nontrivial) [Linux, FreeBSD]:
+       Likewise.
+
+2009-05-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/acl-internal.h (acl_entries): Clarify return value.
+       * lib/acl_entries.c (acl_entries): Likewise.
+
+2009-05-04  David Bartley  <dtbartle@csclub.uwaterloo.ca>
+
+       Bug fix in acl module.
+       * lib/set-mode-acl.c: Use correct struct with ACL_SETACL.
+
+2009-05-03  Bruno Haible  <bruno@clisp.org>
+
+       Create gperf-generated file in the source dir, not in the build dir.
+       * modules/iconv_open (iconv_open-aix.h, iconv_open-hpux.h,
+       iconv_open-irix.h, iconv_open-osf.h): Create file in the source tree.
+       * modules/unicase/locale-language (unicase/locale-languages.h):
+       Likewise.
+       * modules/unicase/special-casing (unicase/special-casing-table.h):
+       Likewise.
+       * modules/unictype/property-byname (unictype/pr_byname.h): Likewise.
+       * modules/unictype/scripts (unictype/scripts_byname.h): Likewise.
+       * modules/uninorm/composition (uninorm/composition-table.h): Likewise.
+       Reported by Ralf Wildenhues.
+
+2009-05-03  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fnmatch (Description, configure.ac): Taken from
+       fnmatch-posix.
+       * modules/fnmatch-posix: Turn into a symbolic reference to the
+       'fnmatch' module, and deprecate.
+       * doc/posix-functions/fnmatch.texi: Mention the fnmatch module.
+
+2009-05-03  Bruno Haible  <bruno@clisp.org>
+
+       * m4/vasnprintf.m4 (gl_PREREQ_VASNPRINTF,
+       gl_PREREQ_VASNPRINTF_LONG_DOUBLE): Define through AC_DEFUN_ONCE.
+       Reported by Ralf Wildenhues.
+
+2009-05-04  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/fnmatch.m4: Fix fnmatch re-define.
+
+2009-04-27  David Bartley  <dtbartle@csclub.uwaterloo.ca>
+
+       priv-set: new module and tests; adapt write-any-file
+       * lib/priv-set.c: New file.
+       * lib/priv-set.h: New file.
+       * lib/unlinkdir.c: Make cannot_unlink_dir thread-safe.
+       * lib/write-any-file.c: Simplify by using priv-set module.
+       * m4/priv-set.m4: New file.
+       * modules/priv-set: New file.
+       * modules/unlinkdir: Add dependency on priv-set module.
+       * modules/write-any-file: Likewise.
+
+       Tests for module 'priv-set'.
+       * modules/priv-set-tests: New file.
+       * tests/test-priv-set.c: New file.
+
+2009-05-03  Jim Meyering  <meyering@redhat.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/propername.c (proper_name_utf8): Ignore no-op translations;
+       use the converted UTF-8 variant of the name instead.
+
+2009-05-03  Jim Meyering  <meyering@redhat.com>
+
+       tests: tighten some getdate tests
+       * tests/test-getdate.c (main): Tighten tests: require equality,
+       not just greater than.  Set TZ envvar to UTC0.
+
+2009-05-03  Giuseppe Scrivano  <gscrivano@gnu.org>
+
+       getdate: correctly interpret "next monday" when run on a Monday
+       * lib/getdate.y (get_date): Correct the calculation of tm_mday so
+       that e.g., "next tues" (when run on a tuesday) results in a date
+       that is one week in the future, and not today's date.
+       I.e., add a week when the wday is the same as the current one.
+       Reported by Tom Broadhurst in http://savannah.gnu.org/bugs/?25406,
+       and earlier by Martin Bernreuther and Jan Minář.
+       * tests/test-getdate.c (main): Check that "next DAY" is always in
+       the future and that "last DAY" is always in the past.
+
+2009-05-02  Jim Meyering  <meyering@redhat.com>
+
+       build: ensure that a release build fails when a submodule is unclean
+       * top/maint.mk (no-submodule-changes): New rule.
+       (alpha beta major): Depend on it.
+
+2009-05-02  Bruno Haible  <bruno@clisp.org>
+
+       Remove incompatibility between modules fnmatch-posix and fnmatch-gnu.
+       * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX, gl_FUNC_FNMATCH_GNU): Use a
+       shell variable gl_fnmatch_required to detect which variant is
+       requested.
+       (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): Remove macros. Inlined into
+       gl_FUNC_FNMATCH_POSIX.
+       * gnulib-tool (func_create_testdir, func_create_megatestdir): Don't
+       exclude fnmatch-posix.
+
+2009-05-02  Bruno Haible  <bruno@clisp.org>
+
+       Relicense mbsrtowcs and strnlen1 under LGPLv2+.
+       * modules/mbsrtowcs (License): Change to LGPLv2+.
+       * modules/strnlen1 (License): Likewise.
+       Reported by Simon Josefsson.
+
+2009-05-02  Bruno Haible  <bruno@clisp.org>
+
+       * m4/fnmatch.m4 (_AC_FUNC_FNMATCH_IF): Say "guessing no" instead of
+       "cross".
+       (gl_FUNC_FNMATCH_POSIX, gl_FUNC_FNMATCH_GNU): Update. Don't assume that
+       gnulib-tool was called with option --source-base=lib.
+
+2009-05-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Use automake *-local hooks without commands, for extensibility.
+       * modules/localcharset (Makefile.am): Rename install-exec-local
+       rule to install-exec-localcharset, and make it a prerequisite of
+       install-exec-local.  Likewise, rename the uninstall-local rule to
+       uninstall-localcharset, and make it a prerequisite of the former.
+
+2009-05-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/wchar.in.h (wcsnrtombs): Define if REPLACE_WCSNRTOMBS is 1.
+       * m4/wcsnrtombs.m4 (gl_FUNC_WCSRTOMBS): Invoke gl_MBSTATE_T_BROKEN, and
+       set REPLACE_WCSNRTOMBS if mbstate_t must be replaced.
+       * m4/wchar.m4 (gl_WCHAR_H_DEFAULTS): Initialize REPLACE_WCSNRTOMBS.
+       * modules/wchar (Makefile.am): Substitute REPLACE_WCSNRTOMBS.
+       * modules/wcsnrtombs (Files): Add m4/mbrtowc.m4, m4/locale-ja.m4,
+       m4/locale-zh.m4, m4/codeset.m4.
+
+       * m4/wcsrtombs.m4 (gl_FUNC_WCSNRTOMBS): Invoke gl_MBSTATE_T_BROKEN, and
+       set REPLACE_WCSRTOMBS if mbstate_t must be replaced.
+       * modules/wcsrtombs (Files): Add m4/mbrtowc.m4, m4/locale-ja.m4,
+       m4/locale-zh.m4.
+
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Invoke gl_MBSTATE_T_BROKEN, and set
+       REPLACE_WCRTOMB if mbstate_t must be replaced.
+       * modules/wcrtomb (Files): Add m4/mbrtowc.m4.
+       Reported by Jens Rehsack <rehsack@googlemail.com> via Eric Blake.
+
+2009-05-01  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compiler warnings when redefining macros defined by <libintl.h>.
+       * lib/gettext.h [!ENABLE_NLS] (gettext, dgettext, dcgettext, ngettext,
+       dngettext, dcngettext, textdomain, bindtextdomain,
+       bind_textdomain_codeset): Undefine before redefining.
+
+2009-04-30  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2009-04-25.
+       * lib/math.in.h (gl_signbitf_OPTIMIZED_MACRO,
+       gl_signbitd_OPTIMIZED_MACRO, gl_signbitl_OPTIMIZED_MACRO): New macros.
+       * lib/signbitf.c (gl_signbitd): Undefine if gl_signbitf_OPTIMIZED_MACRO
+       is defined.
+       * lib/signbitd.c (gl_signbitd): Undefine if gl_signbitd_OPTIMIZED_MACRO
+       is defined.
+       * lib/signbitl.c (gl_signbitd): Undefine if gl_signbitl_OPTIMIZED_MACRO
+       is defined.
+       Reported by Elbert_Pol <elbert.pol@gmail.com>.
+
+2009-04-28  Bruno Haible  <bruno@clisp.org>
+
+       Comment tweaks.
+       * lib/unistr.h (u*_cmp2): Clarify what memcmp2 is.
+       * lib/uninorm.h (u*_normxfrm): Fix description of return value.
+       * lib/unicase.h (u*_casexfrm): Likewise.
+       Reported by Paolo Bonzini.
+
+2009-04-28  Bruno Haible  <bruno@clisp.org>
+
+       Fix a compilation error.
+       * lib/mbsrtowcs-state.c (_gl_mbsrtowcs_state): Fix initializer.
+       * lib/wcsrtombs-state.c (_gl_wcsrtombs_state): Likewise.
+       Reported by Jim Meyering.
+
+2009-04-27  Bruno Haible  <bruno@clisp.org>
+
+       New module 'libunistring'.
+       * modules/libunistring: New file.
+       * m4/libunistring.m4: New file.
+       * MODULES.html.sh (Unicode string functions): Add it.
+
+2009-04-27  Eric Blake  <ebb9@byu.net>
+
+       maint.mk: allow package-specific header to provide <config.h>
+       * top/maint.mk (sc_require_config_h): New variable.
+       (sc_require_config_h, sc_require_config_h_first): Use it.
+
+2009-04-27  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (sc_avoid_if_before_free): Except
+       useless-if-before-free script.
+
+2009-04-27  Eric Blake  <ebb9@byu.net>
+
+       maintainer-makefile: depend on all required helper scripts
+       * modules/maintainer-makefile (Depends-on): Add vc-list-files and
+       useless-if-before-free.
+       * top/maint.mk (VC_LIST, sc_avoid_if_before_free): Use local
+       version, rather than assuming gnulib checkout is available.
+       Reported by Simen Josefsson.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Make the lib vs. lib64 recognition work on openSUSE 11 with "gcc -m32".
+       * m4/lib-prefix.m4 (AC_LIB_PREPARE_MULTILIB): Ignore paths that end in
+       "../" or "..".
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * m4/lib-link.m4 (AC_LIB_HAVE_LINKFLAGS): Accept a fifth argument.
+       * m4/libsigsegv.m4 (gl_LIBSIGSEGV): Simplify by using
+       AC_LIB_HAVE_LINKFLAGS.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Simplify calling convention of u*_conv_from_encoding.
+       * lib/uniconv.h (u8_conv_from_encoding, u16_conv_from_encoding,
+       u32_conv_from_encoding): Expect a resultbuf argument and return the
+       result directly as a pointer.
+       * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Likewise.
+       * lib/uniconv/u-conv-from-enc.h (FUNC): Likewise.
+       * lib/uniconv/u-strconv-from-enc.h (FUNC): Update.
+       * lib/unicase/ulc-casecmp.c (ulc_u8_casefold): Update.
+       * lib/unicase/ulc-casexfrm.c (ulc_casexfrm): Update.
+       * lib/unilbrk/ulc-possible-linebreaks.c (ulc_possible_linebreaks):
+       Update.
+       * lib/unilbrk/ulc-width-linebreaks.c (ulc_width_linebreaks): Update.
+       * lib/uniwbrk/ulc-wordbreaks.c (ulc_wordbreaks): Update.
+       * lib/vasnprintf.c (VASNPRINTF): Update.
+       * tests/uniconv/test-u8-conv-from-enc.c (main): Update.
+       * tests/uniconv/test-u16-conv-from-enc.c (main): Update.
+       * tests/uniconv/test-u32-conv-from-enc.c (main): Update.
+       * NEWS: Mention the change.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Simplify calling convention of u*_conv_to_encoding.
+       * lib/uniconv.h (u8_conv_to_encoding, u16_conv_to_encoding,
+       u32_conv_to_encoding): Expect a resultbuf argument and return the
+       result directly as a pointer.
+       * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise.
+       * lib/uniconv/u-conv-to-enc.h (FUNC): Likewise. Preserve errno while
+       freeing scaled_offsets if mem_iconveha failed.
+       * lib/unicase/u-casexfrm.h (FUNC): Update.
+       * lib/uninorm/u-normxfrm.h (FUNC): Update.
+       * lib/vasnprintf.c (VASNPRINTF): Update.
+       * tests/uniconv/test-u8-conv-to-enc.c (main): Update.
+       * tests/uniconv/test-u16-conv-to-enc.c (main): Update.
+       * tests/uniconv/test-u32-conv-to-enc.c (main): Update.
+       * NEWS: Mention the change.
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failures on AIX and OSF/1.
+       * lib/uniconv/u8-conv-from-enc.c (u8_conv_from_encoding): Avoid calling
+       malloc(0).
+       * lib/uniconv/u8-conv-to-enc.c (u8_conv_to_encoding): Likewise.
+       * lib/unilbrk/ulc-possible-linebreaks.c (ulc_possible_linebreaks):
+       Likewise.
+       * lib/unilbrk/ulc-width-linebreaks.c (ulc_width_linebreaks): Likewise.
+       * lib/uniwbrk/ulc-wordbreaks.c (ulc_wordbreaks): Likewise.
+       * lib/uniconv/u-conv-to-enc.h (FUNC): Likewise. Fix memory leak.
+       * lib/unistr/u-cpy-alloc.h (FUNC): Call malloc(1) instead of malloc(0).
+       * doc/posix-functions/malloc.texi: Document the portability problem
+       related to malloc(0).
+
+2009-04-26  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unistr/u8-cpy-alloc (Depends-on): Add malloc-posix.
+       * modules/unistr/u16-cpy-alloc (Depends-on): Likewise.
+       * modules/unistr/u32-cpy-alloc (Depends-on): Likewise.
+
+2009-04-25  Bruno Haible  <bruno@clisp.org>
+
+       Avoid link error when creating a namespace clean library.
+       * lib/math.in.h (gl_signbitf, gl_signbitd, gl_signbitl): Don't define
+       as macro with arguments if already defined as an alias.
+       * lib/signbitf.c (gl_signbitf): Don't undefine.
+       * lib/signbitd.c (gl_signbitd): Don't undefine.
+       * lib/signbitl.c (gl_signbitl): Don't undefine.
+
+2009-04-25  Jim Meyering  <meyering@redhat.com>
+
+       vc-list-files: fix another quoting bug
+       * build-aux/vc-list-files: Avoid sed backslash expansion
+       of pathological directory names.
+
+2009-04-25  Eric Blake  <ebb9@byu.net>
+
+       vc-list-files: fix shell quoting error
+       * build-aux/vc-list-files: Protect against $ in $dir.  Normalize
+       timestamp.
+
+2009-04-25  Jim Meyering  <meyering@redhat.com>
+
+       vc-list-files: restore lost functionality with subdir argument
+       * build-aux/vc-list-files: When given a non-"." sub-directory
+       argument, substitute the $dir/ prefix back onto each resulting name.
+       Otherwise, coreutils' root_tests check would fail.
+
+2009-04-24  Eric Blake  <ebb9@byu.net>
+
+       vc-list-files: ignore git symlinks
+       * build-aux/vc-list-files (.git): Use ls-tree and a filter, rather
+       than ls-files, to ignore git symlinks.
+
+       maint.mk: import improvements from m4
+       * top/maint.mk (VC-tag): Use signing key from cfg.mk.
+       (move_if_change): Delete unused macro.
+       (news-date-check, vc-diff-check): Support VPATH builds.
+       (announcement): Likewise.  Split --bootstrap-tools list...
+       (boostrap-tools): ...into separate list, which can be overridden
+       in cfg.mk.
+       (sc_avoid_if_before_free): Point to $(gnulib_dir), rather than
+       requiring dependency on useless-if-before-free module.
+       (VC_LIST, VC_LIST_EXCEPT): Likewise for vc-list-files module.
+       Support VPATH builds.
+
+2009-04-24  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: remove coreutils-specific rules and variables
+       * top/maint.mk (bin, taint-distcheck, coreutils-path-check, t): Remove.
+       (fake_home, install-transform-check, my-instcheck, pfx, TMPDIR): Remove.
+       (t_prefix, t_taint, tp, warn_cflags, write_loser, my-distcheck): Remove.
+
+       maint.mk: remove obsolete rule
+       * top/maint.mk (rel-check): Remove rule.
+       (WGET, WGETFLAGS): Remove now-unused variables.
+
+2009-04-24  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (makefile-check): Renamed to sc_makefile_check for
+       consistency.
+
+       * modules/vc-list-files-tests (TESTS_ENVIRONMENT): Use
+       '$(PATH_SEPARATOR)' instead of ':'.
+
+2009-04-24  Simon Josefsson  <simon@josefsson.org>
+
+       * lib/getopt1.c (main): Use 'const' for static array.
+
+2009-04-24  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk: Sync with coreutils.
+       * NEWS: Explain incompatibilities.
+
+2009-04-22  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+           Bruno Haible  <bruno@clisp.org>
+
+       Fix cross-compilation results.
+       * m4/btowc.m4 (gl_FUNC_BTOWC): Use no-op statement, rather than empty
+       statement, as third argument of AC_TRY_RUN.
+       * m4/mbrtowc.m4 (gl_MBRTOWC_INCOMPLETE_STATE, gl_MBRTOWC_SANITYCHECK,
+       gl_MBRTOWC_NULL_ARG, gl_MBRTOWC_RETVAL, gl_MBRTOWC_NUL_RETVAL):
+       Likewise.
+       * m4/mbsrtowcs.m4 (gl_MBSRTOWCS_WORKS): Likewise.
+       * m4/wcsrtombs.m4 (gl_WCSRTOMBS_TERMINATION, gl_WCSRTOMBS_NULL):
+       Likewise.
+       * m4/wctob.m4 (gl_FUNC_WCTOB): Likewise.
+       * m4/wcrtomb.m4 (gl_FUNC_WCRTOMB): Likewise. Update for AIX 4.3.
+       * doc/posix-functions/wcrtomb.texi: Mention the bug on AIX 4.3.
+
+2009-04-20  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failure on mingw.
+       * tests/uniwidth/test-uc_width2.sh: Convert newlines in output.
+
+2009-04-20  Bruno Haible  <bruno@clisp.org>
+
+       Avoid compilation error on mingw.
+       * modules/localename-tests (Depends-on): Add locale.
+
+2009-04-19  Bruno Haible  <bruno@clisp.org>
+
+       Support for building a shared library on Windows platforms.
+       * tests/uninorm/test-nfc.c (n): Don't define if WOE32DLL.
+       (main): Test the presence of UNINORM_NFC here.
+       * tests/uninorm/test-nfd.c (n): Don't define if WOE32DLL.
+       (main): Test the presence of UNINORM_NFD here.
+       * tests/uninorm/test-nfkc.c (n): Don't define if WOE32DLL.
+       (main): Test the presence of UNINORM_NFKC here.
+       * tests/uninorm/test-nfkd.c (n): Don't define if WOE32DLL.
+       (main): Test the presence of UNINORM_NFKD here.
+
+2009-04-19  Bruno Haible  <bruno@clisp.org>
+
+       Avoid a compiler warning.
+       * tests/uninorm/test-u32-normalize-big.c (read_normalization_test_file):
+       Change type of variable 'sequence'.
+
+2009-04-19  Bruno Haible  <bruno@clisp.org>
+
+       * modules/configmake (Makefile.am): When the contents of configmake.h
+       does not change, arrange to preserve its modification time.
+
+2009-04-17  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (PO_DOMAIN): New variable, allows overriding of
+       gettext domain.
+
+2009-04-16  Jim Meyering  <meyering@redhat.com>
+
+       useless-if-before-free: improve conversion code
+       * build-aux/useless-if-before-free: Adjust code-in-comment to match
+       "...!= 0" as well as "...!= NULL".  emacs has one of the former.
+
+2009-04-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fcntl (Depends-on): Add extensions.
+       * m4/fcntl_h.m4 (gl_FCNTL_H): Add a comment.
+
+2009-04-12  Ben Pfaff  <blp@gnu.org>
+
+       Make fcntl module detect O_NOATIME, O_NOFOLLOW on GNU/Linux.
+       * m4/fcntl_h.m4 (gl_FCNTL_H): Require AC_USE_SYSTEM_EXTENSIONS.
+
+2009-03-20  Ben Pfaff  <blp@gnu.org>
+
+       Make rename replace existing destinations on Windows.
+       * m4/rename.m4: Add test for Mingw.
+       * lib/rename.c: Add rename replacement that uses MoveFileEx with
+       MOVEFILE_REPLACE_EXISTING to replace existing destination files.
+       * doc/posix-functions/rename.texi: Document.
+
+2009-04-10  Bruno Haible  <bruno@clisp.org>
+
+       New include file "iconveh.h".
+       * lib/iconveh.h: New file, extracted from lib/striconveh.h.
+       * lib/striconveh.h: Include it.
+       (enum iconv_ilseq_handler): Remove definition.
+       * lib/striconveha.h: Include <stddef.h> and iconveh.h instead of
+       striconveh.h.
+       * lib/striconveha.c: Include striconveh.h.
+       * lib/uniconv.h: Include iconveh.h instead of striconveh.h.
+       * modules/striconveh (Files): Add lib/iconveh.h.
+       * modules/uniconv/base (Files): Add lib/iconveh.h. Remove
+       lib/striconveh.h.
+
+2009-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/uniconv.h: Update comment.
+
+2009-04-10  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unistr/u8-mbtouc-aux.c: Inside libunistring, define the function
+       always.
+       * lib/unistr/u8-mbtouc-unsafe-aux.c: Likewise.
+       * lib/unistr/u16-mbtouc-aux.c: Likewise.
+       * lib/unistr/u16-mbtouc-unsafe-aux.c: Likewise.
+       * lib/unistr/u8-mbtouc.c: Inside libunistring, include
+       "unistring-notinline.h", so that the function gets defined always.
+       * lib/unistr/u8-mbtouc-unsafe.c: Likewise.
+       * lib/unistr/u8-uctomb.c: Likewise.
+       * lib/unistr/u16-mbtouc.c: Likewise.
+       * lib/unistr/u16-mbtouc-unsafe.c: Likewise.
+       * lib/unistr/u16-uctomb.c: Likewise.
+       * lib/unistr/u32-mbtouc.c: Likewise.
+       * lib/unistr/u32-mbtouc-unsafe.c: Likewise.
+       * lib/unistr/u32-uctomb.c: Likewise.
+
+2009-04-10  Bruno Haible  <bruno@clisp.org>
+
+       Mark 'utime' obsolete.
+       * modules/utime (Status, Notice): New sections.
+       Suggested by Jim Meyering.
+
+       Fix cross-compile guess for utime test.
+       * m4/utime.m4 (AC_FUNC_UTIME_NULL): Add definition from newest unstable
+       autoconf.
+       * doc/posix-functions/utime.texi: Give more precisions.
+       Reported by Jan <ipif@ymail.com>.
+
+2009-04-09  Kamil Dudka  <kdudka@redhat.com>
+
+       filevercmp: correct today's change
+       * lib/filevercmp.c: Also handle coreutils' test inputs.
+       * tests/test-filevercmp.c: Add inputs from one of coreutils' test scripts.
+
+       Fix regression in 'filevercmp' module. Thanks Sven Joachim
+       for reporting it.
+       * lib/filevercmp.c: Special handle for "", "." and "..".
+       * tests/test-filevercmp.c: Enlarge the set suite.
+
+2009-04-07  Jim Meyering  <meyering@redhat.com>
+
+       useless-if-before-free: show how to remove braced useless free, too
+       * build-aux/useless-if-before-free: still only in a comment, though.
+
+2009-04-07  Reuben Thomas  <rrt@sc3d.org>
+
+       maint.mk: import changes to syntax-check macros from coreutils
+       * top/maint.mk (_prohibit_regexp, _header_without_use): Define.
+       Use them in the relevant macros.
+
+2009-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Fix unportable use of bit-fields.
+       * lib/unicase/special-casing.h (struct special_casing_rule): Change the
+       bit-field type from 'int' to 'signed int'. Otherwise Solaris cc,
+       AIX xlc, and OSF/1 cc interpret it as 'unsigned int'.
+
+2009-04-06  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failures on AIX and OSF/1.
+       * tests/unicase/test-u8-casefold.c (check): Account for the possibility
+       that malloc(0) = NULL.
+       * tests/unicase/test-u8-tolower.c (check): Likewise.
+       * tests/unicase/test-u8-totitle.c (check): Likewise.
+       * tests/unicase/test-u8-toupper.c (check): Likewise.
+       * tests/unicase/test-u16-casefold.c (check): Likewise.
+       * tests/unicase/test-u16-tolower.c (check): Likewise.
+       * tests/unicase/test-u16-totitle.c (check): Likewise.
+       * tests/unicase/test-u16-toupper.c (check): Likewise.
+       * tests/unicase/test-u32-casefold.c (check): Likewise.
+       * tests/unicase/test-u32-tolower.c (check): Likewise.
+       * tests/unicase/test-u32-totitle.c (check): Likewise.
+       * tests/unicase/test-u32-toupper.c (check): Likewise.
+       * tests/uninorm/test-u8-nfc.c (check): Likewise.
+       * tests/uninorm/test-u8-nfd.c (check): Likewise.
+       * tests/uninorm/test-u8-nfkc.c (check): Likewise.
+       * tests/uninorm/test-u8-nfkd.c (check): Likewise.
+       * tests/uninorm/test-u16-nfc.c (check): Likewise.
+       * tests/uninorm/test-u16-nfd.c (check): Likewise.
+       * tests/uninorm/test-u16-nfkc.c (check): Likewise.
+       * tests/uninorm/test-u16-nfkd.c (check): Likewise.
+       * tests/uninorm/test-u32-nfc.c (check): Likewise.
+       * tests/uninorm/test-u32-nfd.c (check): Likewise.
+       * tests/uninorm/test-u32-nfkc.c (check): Likewise.
+       * tests/uninorm/test-u32-nfkd.c (check): Likewise.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       Work around an autoconf limitation.
+       * gnulib-tool (func_emit_lib_Makefile_am): Omit the "Reproduce by"
+       comment line if it would be longer than 3 KB.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       Avoid test failure with libiconv-1.13.
+       * tests/test-striconveh.c (main): Allow result of libiconv 1.13 as one
+       of the expected test results.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Don't add the library to
+       noinst_LTLIBRARIES if the Makefile.am in the same directory specifies
+       that it should be installed.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: New option --copy-file.
+       (func_usage): Document it.
+       (func_dest_tmpfilename): Moved out of func_import.
+       (func_add_file, func_update_file): New functions, extracted from
+       func_import.
+       (func_import): Update.
+
+2009-04-05  Karl Berry  <karl@gnu.org>
+
+       * README: prominently mention gnulib-tool.
+       Rearrange sections so getting the code is near the top.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unicase.h: Mention u*_cmp2.
+       * lib/unicase/u-casecmp.h (FUNC): Invoke U_CMP2 instead of U_CMP.
+       * lib/unicase/u8-casecmp.c: Use u8_cmp2 instead of u8_cmp.
+       * lib/unicase/ulc-casecmp.c: Likewise.
+       * lib/unicase/u16-casecmp.c: Use u16_cmp2 instead of u16_cmp.
+       * lib/unicase/u32-casecmp.c: Use u32_cmp2 instead of u32_cmp.
+       * modules/unicase/u8-casecmp (Depends-on): Add unistr/u8-cmp2, remove
+       unistr/u8-cmp.
+       * modules/unicase/ulc-casecmp (Depends-on): Likewise.
+       * modules/unicase/u16-casecmp (Depends-on): Add unistr/u16-cmp2, remove
+       unistr/u16-cmp.
+       * modules/unicase/u32-casecmp (Depends-on): Add unistr/u32-cmp2, remove
+       unistr/u32-cmp.
+
+       * lib/uninorm.h: Mention u*_cmp2.
+       * lib/uninorm/u-normcmp.h (FUNC): Invoke U_CMP2 instead of U_CMP.
+       * lib/uninorm/u8-normcmp.c: Use u8_cmp2 instead of u8_cmp.
+       * lib/uninorm/u16-normcmp.c: Use u16_cmp2 instead of u16_cmp.
+       * lib/uninorm/u32-normcmp.c: Use u32_cmp2 instead of u32_cmp.
+       * modules/uninorm/u8-normcmp (Depends-on): Add unistr/u8-cmp2, remove
+       unistr/u8-cmp.
+       * modules/uninorm/u16-normcmp (Depends-on): Add unistr/u16-cmp2, remove
+       unistr/u16-cmp.
+       * modules/uninorm/u32-normcmp (Depends-on): Add unistr/u32-cmp2, remove
+       unistr/u32-cmp.
+
+       New module 'unistr/u32-cmp2'.
+       * lib/unistr/u32-cmp2.c: New file.
+       * modules/unistr/u32-cmp2: New file.
+
+       New module 'unistr/u16-cmp2'.
+       * lib/unistr/u16-cmp2.c: New file.
+       * modules/unistr/u16-cmp2: New file.
+
+       New module 'unistr/u8-cmp2'.
+       * lib/unistr.h (u8_cmp2, u16_cmp2, u32_cmp2): New declarations.
+       * lib/unistr/u8-cmp2.c: New file.
+       * lib/unistr/u-cmp2.h: New file.
+       * modules/unistr/u8-cmp2: New file.
+
+2009-04-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/unictype.h (uc_property_is_valid): New macro.
+       * tests/unictype/test-pr_byname.c (main): Use it.
+
+       * lib/unistr.h: Doc fixes.
+       * lib/uniconv.h: Doc fixes.
+       * lib/unictype.h: Doc fixes.
+
+2009-04-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Port coreutils 7.2 to Solaris 8.
+
+       * modules/arpa_inet (arpa/inet.h): Depend on arpa_inet.in.h.
+       * m4/inet_ntop.m4 (gl_INET_NTOP): Search for inet_ntop in -lnsl,
+       for Solaris 8.  This is a bit of a hack, as it means it's the
+       caller's responsibility to add -lnsl if needed, but most likely it
+       won't be needed since only getaddrinfo uses this and getaddrinfo
+       isn't needed on Solaris 8.
+
+       * modules/fnmatch (Depends-on): Add mbsrtowcs, to fix a porting
+       problem to Solaris 8 encountered with coreutils 7.2, which
+       resulted in a message "fnmatch.c:292: warning: passing argument 4
+       of 'mbsrtowcs' from incompatible pointer type".  Also, add mbsinit
+       at the suggestion of Bruno Haible, since fnmatch uses mbsinit.
+
+2009-04-03  Simon Josefsson  <simon@josefsson.org>
+
+       * m4/ld-version-script.m4: Add FIXME comment.
+
+2009-04-02  Simon Josefsson  <simon@josefsson.org>
+
+       * doc/ld-output-def.texi: Use DLL_VERSION instead of confusing
+       SOVERSION variable.
+
+2009-04-02  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile (info, html, dvi, pdf): Combine the rules.
+       Suggested by Jim Meyering.
+
+2009-04-01  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile (info, html, dvi, pdf): New targets.
+       Reported by Reuben Thomas <rrt@sc3d.org>.
+
 2009-04-01  Bruno Haible  <bruno@clisp.org>
 
        * doc/gnulib-tool.texi (Invoking gnulib-tool): Document how gnulib-tool