New modules 'unistr/u8-cmp', 'unistr/u16-cmp', 'unistr/u32-cmp'.
[gnulib.git] / ChangeLog
index 7be6fcc..9c67e8a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,629 @@
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_all_modules): Use find, not ls, to traverse the
+       modules directory. Filter out CVS, ChangeLog, COPYING, README also from
+       subdirectories.
+
+2007-01-08  Karl Berry  <karl@gnu.org>
+
+       * doc/error.texi: mention that main() fns must set program_name
+       when progname is used.
+
+2007-01-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/wctype.m4 (gl_WCTYPE_H): Compute ABSOLUTE_WCTYPE_H even if
+       WCTYPE_H is empty, for the benefit of builds from non-distclean
+       directories.  Problem reported by Eric Blake in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2007-01/msg00157.html>.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME): Remove
+       PROVIDE_CANONICALIZE_FILENAME_MODE macro definition.
+       * lib/canonicalize.h: Test GNULIB_CANONICALIZE instead of
+       PROVIDE_CANONICALIZE_FILENAME_MODE.
+       * modules/canonicalize (configure.ac): Use gl_MODULE_INDICATOR.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/fts.m4 (gl_FUNC_FTS_LGPL): Remove _LGPL_PACKAGE macro definition.
+       * lib/fts_.h (_LGPL_PACKAGE): Remove macro.
+       Use !GNULIB_FTS instead of _LGPL_PACKAGE.
+       * lib/fts.c: Likewise.
+       * modules/fts (configure.ac): Use gl_MODULE_INDICATOR.
+
+2006-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/utf8-ucs4-safe: New file.
+       * lib/utf8-ucs4-safe.h: New file.
+       * lib/unistr/utf8-ucs4-safe.c: New file.
+
+       * modules/utf16-ucs4-safe: New file.
+       * lib/utf16-ucs4-safe.h: New file.
+       * lib/unistr/utf16-ucs4-safe.c: New file.
+
+       * MODULES.html.sh (Unicode string functions): Add the new modules.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * modules/utf8-ucs4 (Files, lib_SOURCES): Add unistr/utf8-ucs4.c.
+       (Depends-on): Add unitypes.
+       * lib/utf8-ucs4.h: Add double-inclusion guard. Include unitypes.h.
+       (u8_mbtouc_aux): Move out to separate file.
+       (u8_mbtouc): Use ucs4_t, uint8_t types.
+       * lib/unistr/utf8-ucs4.c: New file.
+
+       * modules/utf16-ucs4 (Files, lib_SOURCES): Add unistr/utf16-ucs4.c.
+       (Depends-on): Add unitypes.
+       * lib/utf16-ucs4.h: Add double-inclusion guard. Include unitypes.h.
+       (u16_mbtouc_aux): Move out to separate file.
+       (u16_mbtouc): Use ucs4_t, uint16_t types.
+       * lib/unistr/utf16-ucs4.c: New file.
+
+       * modules/ucs4-utf8 (Files, lib_SOURCES): Add unistr/ucs4-utf8.c.
+       (Depends-on): Add unitypes.
+       * lib/ucs4-utf8.h: Add double-inclusion guard. Include unitypes.h.
+       (u8_uctomb_aux): Move out to separate file.
+       (u8_uctomb): Use ucs4_t, uint8_t types.
+       * lib/unistr/ucs4-utf8.c: New file.
+
+       * modules/ucs4-utf16 (Files, lib_SOURCES): Add unistr/ucs4-utf16.c.
+       (Depends-on): Add unitypes.
+       * lib/ucs4-utf16.h: Add double-inclusion guard. Include unitypes.h.
+       (u16_uctomb_aux): Move out to separate file.
+       (u16_uctomb): Use ucs4_t, uint16_t types.
+       * lib/unistr/ucs4-utf16.c: New file.
+
+2006-12-25  Bruno Haible  <bruno@clisp.org>
+
+       * modules/unitypes: New file.
+       * lib/unitypes.h: New file.
+       * MODULES.html.sh (func_all_modules): New section "Unicode string
+       functions". Move ucs4-utf8, ucs4-utf16, utf8-ucs4, utf16-ucs4 to
+       this section. Add unitypes.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       Avoid variable names that conflict with those from libtool.
+       * m4/lib-link.m4 (AC_LIB_RPATH, AC_LIB_LINKFLAGS_BODY,
+       AC_LIB_LINKFLAGS_FROM_LIBS): Rename libext to acl_libext,
+       shlibext to acl_shlibext, libname_spec to acl_libname_spec,
+       library_names_spec to acl_library_names_spec, hardcode_* to
+       acl_hardcode_*.
+       Reported by Ralf Wildenhues.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/gc-arcfour.m4 (gl_GC_ARCFOUR): Remove GC_USE_ARCFOUR macro
+       definition.
+       * m4/gc-arctwo.m4 (gl_GC_ARCTWO): Remove GC_USE_ARCTWO macro
+       definition.
+       * m4/gc-des.m4 (gl_GC_DES): Remove GC_USE_DES macro definition.
+       * m4/gc-hmac-md5.m4 (gl_GC_HMAC_MD5): Remove GC_USE_HMAC_MD5 macro
+       definition.
+       * m4/gc-hmac-sha1.m4 (gl_GC_HMAC_SHA1): Remove GC_USE_HMAC_SHA1 macro
+       definition.
+       * m4/gc-md2.m4 (gl_GC_MD2): Remove GC_USE_MD2 macro definition.
+       * m4/gc-md4.m4 (gl_GC_MD4): Remove GC_USE_MD4 macro definition.
+       * m4/gc-md5.m4 (gl_GC_MD5): Remove GC_USE_MD5 macro definition.
+       * m4/gc-random.m4 (gl_GC_RANDOM): Remove GC_USE_RANDOM macro
+       definition.
+       * m4/gc-rijndael.m4 (gl_GC_RIJNDAEL): Remove GC_USE_RIJNDAEL macro
+       definition.
+       * m4/gc-sha1.m4 (gl_GC_SHA1): Remove GC_USE_SHA1 macro definition.
+       * lib/gc-gnulib.c: Use GNULIB_GC_<algorithm> instead of
+       GC_USE_<algorithm>.
+       * lib/gc-libgcrypt.c: Likewise.
+       * modules/gc-arcfour (configure.ac): Use gl_MODULE_INDICATOR.
+       * modules/gc-arctwo (configure.ac): Likewise.
+       * modules/gc-des (configure.ac): Likewise.
+       * modules/gc-hmac-md5 (configure.ac): Likewise.
+       * modules/gc-hmac-sha1 (configure.ac): Likewise.
+       * modules/gc-md2 (configure.ac): Likewise.
+       * modules/gc-md4 (configure.ac): Likewise.
+       * modules/gc-md5 (configure.ac): Likewise.
+       * modules/gc-random (configure.ac): Likewise.
+       * modules/gc-rijndael (configure.ac): Likewise.
+       * modules/gc-sha1 (configure.ac): Likewise.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/close-stream.m4 (gl_CLOSE_STREAM): Remove GNULIB_CLOSE_STREAM
+       macro definition.
+       * m4/fcntl-safer.m4 (gl_FCNTL_SAFER): Remove GNULIB_FCNTL_SAFER macro
+       definition.
+       * m4/stdio-safer.m4 (gl_FOPEN_SAFER): Remove GNULIB_FOPEN_SAFER macro
+       definition.
+       * modules/close-stream (configure.ac): Invoke gl_MODULE_INDICATOR.
+       * modules/fcntl-safer (configure.ac): Likewise.
+       * modules/fopen-safer (configure.ac): Likewise.
+       * modules/fwriteerror (configure.ac): Likewise. Remove explicit
+       GNULIB_FWRITEERROR macro definition.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/gnulib-common.m4: New file.
+       * gnulib-tool (func_get_autoconf_snippet): Undo last change.
+       (func_get_filelist): Add m4/gnulib-common.m4.
+
+2007-01-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Simplify the sorting
+       command.
+
+2007-01-08  Jim Meyering  <jim@meyering.net>
+
+       Use a more robust test for a "can't happen" condition.
+       * lib/fts.c (fts_read): Revert the change of 2006-11-22, since it
+       narrowed the st_size value.  Presuming the "can't happen" condition
+       is true, that narrowing could conceivably convert an invalid st_size
+       value into a valid one.  Instead, use a change based on Matthew
+       Woehlke's original patch.
+
+       Slight readability improvement: use an assert-like macro
+       in place of literal "abort ()" uses.
+       * lib/fts.c (fts_assert): Define.
+       (fts_set_stat_required, cwd_advance_fd, fts_read, fd_ring_check):
+       Use this macro instead of a bare 'abort'.
+
+2007-01-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Don't worry about using IRIX 5.3's wctype.h broken definitions;
+       simply work around them.
+       * lib/wctype_.h: Remove test for HAVE_WCTYPE_CTMP_BUG.
+       (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, iswlower):
+       (iswprint, iswpunct, iswspace, iswupper, iswxdigit): Undef before declaring.
+       Don't bother to define as macros, since the standard doesn't require it.
+       * m4/wctype.m4 (WCTYPE_H, ABSOLUTE_WCTYPE_H): Simplify, since we no
+       longer worry about IRIX 5.3.
+       (HAVE_WCTYPE_CTMP_BUG): Remove.
+
+2007-01-04  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/wctype_.h (_ctmp_) [HAVE_WCTYPE_CTMP_BUG]: Now of type wchar_t,
+       not wint_t.  Also, include <ctype.h>, to fix another IRIX bug.
+       * m4/wctype.m4 (gl_WCTYPE_H): Likewise.
+       Problems reported by Georg Schwarz for IRIX 5.3.
+
+       * gnulib-tool (autoconf_minversion): Take the maximum version number
+       found, not the minimum.  Problem reported by James Youngman.
+
+2007-01-03  Karl Berry  <karl@gnu.org>
+
+       * doc/error.texi: new file, explaining interaction with progname.
+       * doc/gnulib.texi: include it.  Update copyright.
+
+2007-01-03  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_create_testdir): Run AC_CANONICAL_BUILD and
+       AC_CANONICAL_HOST, to improve autobuild outputs.
+
+2007-01-03  Paolo Bonzini  <bonzini@gnu.org>
+           Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+
+       * lib/poll.c (poll): Use recv on Mac OS X to distinguish connected
+       sockets, server sockets, and other file descriptors.  Count errors
+       to compute the return value.  Reorder the code a bit to be easier
+       to follow.  Don't set event bits that were not requested (except
+       POLLERR and POLLHUP).
+
+2007-01-01  Bruno Haible  <bruno@clisp.org>
+
+       * modules/lchmod (Include): Require lchmod.h, not lchown.h.
+
+2007-01-03  Jim Meyering  <jim@meyering.net>
+
+       * modules/fts-lgpl (Depends-on): Add i-ring.  Reported by Bruno Haible.
+
+2007-01-02  Bruno Haible  <bruno@clisp.org>
+
+       * modules/settime (Include): Require timespec.h.
+       * modules/nanosleep (Include): Likewise.
+
+2007-01-01  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_copyright_notice): Bump year.
+       (func_get_autoconf_snippet): Emit a GNULIB_<modulename> macro.
+
+2007-01-01  Bruno Haible  <bruno@clisp.org>
+
+       Improve support for OpenBSD.
+       * build-aux/config.rpath (libname_spec): Export.
+       (library_names_spec): New variable. Export.
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Extract libname_spec and
+       library_names_spec from the config.rpath output. Locate shared library
+       through the name pattern in library_names_spec.
+
+2007-01-01  Eric Blake  <ebb9@byu.net>
+
+       * lib/version-etc.c (COPYRIGHT_YEAR): Bump for new year.
+
+2006-12-30  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (SORT): Remove, since we no longer assume GNU sort.
+       Rewrite so as not to assume GNU sort or "tail -1".  Also, don't
+       assume the C locale, and avoid an "eval" that could cause trouble.
+       Problem with SORT reported by Bob Proulx.
+
+       * lib/getpagesize.h (getpagesize) [defined __amigaos4__]:
+       Define.  Trivial patch from Henning Nielsen Lund, originally
+       sent to bug-grep@gnu.org today.
+
+2006-12-29  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/acl.h: Include sys/types.h and sys/stat.h, for mode_t and
+       struct stat.  Problem reported by Henning Nielsen Lund.
+       * lib/acl.c: Include acl.h first, to check interface.  Don't
+       bother to include sys/types.h and sys/stat.h again.
+
+2006-12-28  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Import the following change from libc; problem reported by
+       Sven Verdoolaege.
+
+       2005-10-13  Ulrich Drepper  <drepper@redhat.com>
+
+       [BZ #1373]
+       * lib/argp.h: Remove __NTH for __argp_usage inline function.
+
+2006-12-28  Jim Meyering  <jim@meyering.net>
+
+       * build-aux/announce-gen: Do not assume that the package
+       builds any of tar.gz, tar.bz2, and .xdelta files.
+       Suggestion from Simon Josefsson.
+
+2006-12-28  Simon Josefsson  <simon@josefsson.org>
+
+       * modules/announce-gen: New file.
+
+2006-12-27  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/mbchar.h: Just include <wctype.h>; the wctype module
+       handles its gotchas now.
+       * lib/mbswidth.c: Likewise.
+       * lib/wcwidth.h: Likewise.
+       * m4/mbchar.m4 (gl_MBCHAR): Don't bother checking for wctype.h
+       and iswcntrl; the wctype module does this stuff now.
+       * m4/mbswidth.m4 (gl_MBSWIDTH): Likewise.
+       * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise.
+       * modules/mbchar (Depends-on): Add wctype.
+       * modules/mbswidth (Depends-on): Likewise.
+       * modules/wcwidth (Depends-on): Likewise.
+
+2006-12-27  Eric Blake  <ebb9@byu.net>
+
+       * lib/fnmatch.c: Reinstate inclusion of <wchar.h>, since this
+       module uses more than what <wctype.h> is required to provide.
+
+2006-12-26  Eric Blake  <ebb9@byu.net>
+
+       * gnulib-tool (sed_extract_prog): Avoid space-tab.
+
+2006-12-26  Eric Blake  <ebb9@byu.net>
+
+       * modules/absolute-header: New module.
+       * modules/fcntl (Depends-on): Depend on it.
+       * modules/inttypes (Depends-on): Likewise.
+       * modules/stdint (Depends-on): Likewise.
+       * modules/sys_stat (Depends-on): Likewise.
+       * modules/wctype (Depends-on): Likewise.
+       * MODULES.html.sh (Support for building libraries and
+       executables): Document it.
+
+2006-12-25  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * gnulib-tool (SED): Remove, undoing previous change.
+       The problem was that it broke coreutils on Solaris, because
+       "sed --posix" leaked into a makefile.
+       (sed): New alias, if 'alias' and GNU sed.
+
+2006-12-24  Jim Meyering  <jim@meyering.net>
+
+       Work around an fchownat bug in glibc-2.4:
+       http://lists.ubuntu.com/archives/ubuntu-users/2006-September/093218.html
+       This bug would cause "chown -RP ... DIR" to follow symlinks in DIR,
+       in spite of the -P option.
+       * m4/openat.m4 (gl_FUNC_FCHOWNAT, gl_FUNC_FCHOWNAT_DEREF_BUG):
+       New macros.
+       (gl_PREREQ_OPENAT): Require gl_FUNC_FCHOWNAT.
+       * modules/openat (Files): Add lib/fchownat.c.
+       * lib/openat.c (fchownat): Don't define here.  Move to...
+       * lib/fchownat.c: ...this new file.
+
+2006-12-23  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix bug reported by Bruno Haible in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00228.html>
+       where quotearg.c didn't compile on Mac OS X 10.2 because it
+       lacks <wchar.h> and wint_t.
+       * lib/wctype_.h (__wctype_wint_t): New type.
+       Include <stdio.h>, <time.h>, <wchar.h> only if HAVE_WINT_T.
+       (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph):
+       (iswlower, iswprint, iswpunct, iswspace, iswupper, ixwxdigit):
+       Arg is now of type __wctype_wint_t, not wint_t.
+       * m4/wctype.m4 (gl_WCTYPE_H): Require gt_TYPE_WINT_T, and
+       substitute HAVE_WINT_T.
+       * modules/wctype (Files): Add m4/wint_t.m4.
+       (wctype.h): Substitute HAVE_WINT_T.
+
+2006-12-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/safe-read.h [C++]: Wrap declarations in extern "C".
+
+2006-12-23  Bruno Haible  <bruno@clisp.org>
+
+       * lib/canonicalize-lgpl.c (__realpath): Test HAVE_READLINK instead of
+       S_ISLNK.
+       Needed because gnulib's sys/stat.h replacement defines S_ISLNK on
+       mingw.
+
+2006-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * lib/copy-file.c: Include acl.h.
+       (copy_file_preserving) [USE_ACL]: Use copy_acl instead of chmod.
+       Close the file descriptors only after being done with copy_acl.
+       * modules/copy-file (Depends-on): Add acl.
+
+2006-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (SED): New variable.
+       Use $SED instead of sed everywhere.
+
+2006-12-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/no-c++: New file.
+       * m4/no-c++.m4: New file.
+       * MODULES.html.sh (Support for building libraries and executables):
+       Add no-c++.
+
+2006-12-22  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/mktime.m4 (AC_FUNC_MKTIME): Sync from Autoconf.
+       Include <limits.h>, and use its INT_MAX to rewrite the
+       j loop so that it does not overflow 'int'.  Problem reported by
+       Ralf Wildenhues in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2006-12/msg00084.html>.
+       Play it safe by shifting left by 1 rather than multiplying by 2,
+       as GCC is less likely to optimize this away when the value
+       is signed (when it assumes overflow leads to undefined behavior).
+       Also, don't assume time_t uses two's complement.
+
+2006-12-21  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * MODULES.html.sh: New module wctype.
+       * lib/wctype_.h, m4/wctype.m4, modules/wctype: New files.
+       * lib/fnmatch.c: Don't bother to include <wchar.h> before
+       <wctype.h>, since the new wctype module should fix this.
+       * lib/quotearg.c: Include <wctype.h> unconditionally, since
+       the wctype module should arrange for it.
+       * lib/regex_internal.h: Likewise.
+       * m4/quotearg.m4 (gl_QUOTEARG): Don't check for wctype.h or iswprint,
+       since the wctype module should handle this now.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Don't check for wctype.h.
+       * modules/fnmatch (Depends-on): Add wctype.
+       * modules/quotearg (Depends-on): Likewise.
+       * modules/regex (Depends-on): Likewise.
+
+2006-12-19  Bruno Haible  <bruno@clisp.org>
+
+       * lib/strdup.h [C++]: Wrap definitions in extern "C".
+       Suggested by Lorenzo Bettini <bettini@dsi.unifi.it>.
+
+2006-12-19  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * modules/savewd (Depends-on): Fix dependency on fcntl.
+
+2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/stdint.m4 (gl_STDINT_H): Set STDINT_H to empty if stdint.h
+       conforms to C99, rather than relying on the user's environment
+       setting of STDINT_H.
+
+2006-12-18  Paul Eggert  <eggert@cs.ucla.edu>
+       and Eric Blake  <ebb9@byu.net>
+
+       * lib/dirname.h (DOUBLE_SLASH_IS_DISTINCT_ROOT): Default to 0, not 1.
+       This is more consistent with the other defines here.
+       * m4/double-slash-root.m4 (gl_DOUBLE_SLASH_ROOT):
+       Port to z/OS.  Problem reported by Paul Gilmartin.
+       Change local vars to use gl_ prefix rather than ac_.
+       Don't define DOUBLE_SLASH_IS_DISTINCT_ROOT to 0, for consistency
+       with other defines.
+       * modules/double-slash-root: New module.
+       * modules/dirname (Files): Remove m4/double-slash-root.m4.
+       (Depends-on): Add double-slash-root.
+       * MODULES.html.sh (File system functions): Mention new module.
+
+2006-12-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/yesno.c [!ENABLE_NLS]: Don't include getline.h.
+       (yesno) [!ENABLE_NLS]: Don't invoke getline or rpmatch.
+       This is for the benefit of gzip, which doesn't do i18n.
+
+2006-12-12  Jim Meyering  <jim@meyering.net>
+
+       * m4/acl.m4 (gl_ACL_GET_FILE): Fix logic error.
+       Reported by Andreas Schwab <schwab@suse.de>.
+
+2006-12-12  Bruno Haible  <bruno@clisp.org>
+
+       Merge these changes.
+       2006-09-05  Bruno Haible  <bruno@clisp.org>
+       * lib/iconvme.c (iconv_string): No need to save and restore errno when
+       iconv_alloc succeeded.
+       (iconv_alloc): Don't assume that malloc() or realloc(), when failing,
+       sets errno to ENOMEM. (malloc on GNU/kFreeBSD doesn't.) No need to
+       test for " && dest " at the end - dest is always != NULL there. Call
+       iconv with 4xNULL arguments initially, to reset the state. Call iconv
+       with 2xNULL arguments, also to flush the state storage. Handle the
+       IRIX iconv behaviour. Realloc the final result, to throw away unused
+       memory.
+
+2006-12-11  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/openat.m4 (gl_FUNC_OPENAT): Don't compile mkdirat
+       and fchmodat unconditionally, since glibc 2.4 has them.
+       Problem reported by Arkadiusz Miskiewicz.
+
+2006-12-10  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import): Show the include files only for those
+       modules that are copied and specified.
+       Reported by Karl Berry.
+
+2006-12-08  Jim Meyering  <jim@meyering.net>
+
+       * build-aux/announce-gen ($VERSION): Don't use of $Revision...$.
+       Instead, use Emacs' time-stamp write hook.  Note that the time is UTC.
+
+       * build-aux/announce-gen: Add two new options, both optional:
+       --bootstrap-tools=TOOL_LIST
+             a comma-separated list of tools, e.g.,
+             autoconf,automake,bison,gnulib
+       --gnulib-snapshot-date=DATE
+             if gnulib is in the bootstrap tool list,
+             then report this as the snapshot date.
+             If not specified, use the current date/time.
+             If you specify a date here, be sure it's UTC.
+
+2006-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * tests/test-argp-2.sh: Fix test to match actual output.
+       (func_compare): Fix sed script to be portable.
+
+2006-12-05  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/utimens.c (futimens) [HAVE_BUGGY_NFS_TIME_STAMPS]: Add a
+       workaround for this case.  It is not autoconfigured now; offhand
+       it's hard to see how to autoconfigure it.
+
+2006-12-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/mkdir-p.c (make_dir_parents): Fix race condition when making
+       a directory that is about to be chowned.  Such a directory's
+       initial file permissions should permit the owner only and this
+       should not be changed until after the chown, since the group and
+       other bits would be incorrect if they granted permission before
+       the chown.
+
+       Fix porting problem for iswctype reported by Georg Schwarz in:
+       http://lists.gnu.org/archive/html/bug-coreutils/2006-12/msg00017.html
+       * lib/fnmatch.c (WIDE_CHAR_SUPPORT): Require HAVE_ISWCTYPE, too.
+       * lib/regex_internal.h (RE_ENABLE_I18N): Likewise.
+       * m4/fnmatch.m4 (_AC_LIBOBJ_FNMATCH): Check for iswctype, too.
+       * m4/regex.m4 (gl_PREREQ_REGEX): Likewise.
+
+2006-12-03  Jim Meyering  <jim@meyering.net>
+
+       * lib/fts.c (fts_load): Don't set sp->fts_dev here, since
+       p->fts_statp may not yet be defined.
+       (fts_read): Instead, set it in the caller, once p->fts_statp is
+       sure to be defined, and corresponds to a top-level directory.
+       This bug made du -x fail.  Here's the coreutils test case:
+       http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commit;h=ba45154d8e9f
+       Reported by Mike Frysinger.
+
+2006-12-01  Jim Meyering  <jim@meyering.net>
+
+       * modules/savewd (Depends-on): Add fcntl_h to avoid self-test
+       build failure due to missing definition of HAVE_WORKING_O_NOFOLLOW.
+       Reported by Simon Josefsson.
+
+2006-11-30  Jim Meyering  <jim@meyering.net>
+
+       * m4/warning.m4: Use the all-permissive copyright notice
+       recommended by RMS (rather than LGPL).
+       * m4/vararrays.m4: Likewise.
+       * m4/flexmember.m4: Likewise.
+
+2006-11-29  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Initialize also
+       noinst_LIBRARIES. Augment noinst_LIBRARIES and noinst_LTLIBRARIES
+       using +=.
+       Reported by Simon Josefsson <simon@josefsson.org>.
+
+2006-11-28  James Youngman <jay@gnu.org>
+
+       * README: Advise users that they might find the bug-gnulib@gnu.org
+       and autotools-announce@gnu.org mailing lists useful.
+
+2006-11-28  Bruno Haible  <bruno@clisp.org>
+
+       * m4/ptrdiff_max.m4: Remove file.
+
+2006-11-21  Bruno Haible  <bruno@clisp.org>
+
+       * m4/eoverflow.m4 (gl_EOVERFLOW): Use AC_COMPUTE_INT instead of
+       _AC_COMPUTE_INT.
+       (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
+       * m4/ptrdiff_max.m4 (gl_PTRDIFF_MAX): Use AC_COMPUTE_INT instead of
+       _AC_COMPUTE_INT.
+       (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
+       * m4/size_max.m4 (gl_SIZE_MAX): Use AC_COMPUTE_INT instead of
+       _AC_COMPUTE_INT.
+       (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
+
+2006-11-28  Jim Meyering  <jim@meyering.net>
+
+       * lib/regcomp.c (parse_branch): Rename local, exp->expr, to avoid
+       warning from "gcc -Wshadow" about shadowing the builtin.
+
+2006-11-27  Bruno Haible  <bruno@clisp.org>
+
+       * m4/stdint.m4 (gl_STDINT_BITSIZEOF): Use AC_COMPUTE_INT instead of
+       _AC_COMPUTE_INT.
+       (AC_COMPUTE_INT): Add fallback definition for autoconf < 2.61.
+
+2006-11-27  Bruno Haible  <bruno@clisp.org>
+           Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/regex.h (__restrict_arr): Redo logic of #if, for clarity.
+
+2006-11-26  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Initialize also
+       noinst_LTLIBRARIES.
+
+2006-11-27  Paul Eggert  <eggert@cs.ucla.edu>
+           Bruno Haible  <bruno@clisp.org>
+
+       * lib/gettext.h (_LIBGETTEXT_HAVE_VARIABLE_SIZE_ARRAYS): Define to 0
+       if compiling with "gcc -ansi".
+
+2006-11-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix some incompatibilities with gcc -ansi -pedantic.
+       * lib/regex.h (__restrict_arr): Don't use the [restrict] syntax
+       if compiling pedantically with GCC, unless it's C99 or later.
+       Don't trust sys/cdefs.h's definition of __restrict_arr, either, as
+       it mishandles gcc -ansi -pedantic as well.
+       * lib/regex_internal.h (re_token_t): Don't use enum bitfields
+       if gcc -pedantic.
+       * lib/regexec.c (check_node_accept_bytes): Don't use auto
+       initializers for struct if -pedantic, unless it's C99 or later.
+
+2006-11-25  Nix  <nix@esperi.org.uk>  (tiny change)
+
+       * m4/fcntl_h.m4 (gl_FCNTL_H): Test the atime, not the mtime.
+       Don't close an fd more than once. Identical atimes indicate
+       success, not failure.
+
+2006-11-22  Robinson Mittmann <bob@hoplon.com>  (tiny change)
+
+       * lib/sincosl.c (kernel_sinl): Fix typo in threshold.
+
+2006-11-23  Jim Meyering  <jim@meyering.net>
+
+       * build-aux/announce-gen: New file.  From coreutils.
+
 2006-11-22  Jim Meyering  <jim@meyering.net>
 
+       Work around a compile-time error from the HP-UX 11.00 /bin/cc.
+       * lib/fts.c (enum Fts_stat): Give this previously-anon enum a name.
+       (fts_read): Use a temporary to narrow the overused st_size member
+       before using it in a switch statement.  Reported by Matthew Woehlke.
+
        * m4/clock_time.m4 (gl_CLOCK_TIME): Quote AC_SUBST argument.
        * m4/euidaccess.m4 (gl_PREREQ_EUIDACCESS): Likewise.
 
        * m4/allocsa.m4 (gl_ALLOCSA): Don't invoke macro already picked up by
        the module dependency.
 
-2006-11-15  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
-            Bruno Haible  <bruno@clisp.org>
+2006-11-15  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
+           Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_create_testdir): Add license consistency check.
 
        * modules/gc-des:
        * modules/gc-arcfour: Distribute more files.
 
-2006-09-22  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2006-09-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * lib/gl_anylinked_list2.h [lint] (gl_linked_iterator)
        (gl_linked_iterator_from_to): Initialize struct completely.
        * gnulib-tool (func_emit_lib_Makefile_am): Initialize also
        lib_..._LDFLAGS.
 
-2006-09-05  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2006-09-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * lib/argz_.h: Sync from Libtool.
 
 
        * lib/libltdl/argz_.h: It's __cplusplus, not _cplusplus.
 
-2006-09-05  Davide Angelocola <davide.angelocola@tiscali.it>
+2006-09-05  Davide Angelocola  <davide.angelocola@tiscali.it>
 
        * modules/trim: New file.
 
-2006-09-05  Davide Angelocola <davide.angelocola@tiscali.it>
+2006-09-05  Davide Angelocola  <davide.angelocola@tiscali.it>
 
        * lib/trim.h: New file.
        * lib/trim.c: New file.
        * build-aux/elisp-comp: New file.
        * modules/elisp-comp: New file.
 
-2006-08-24  Bruno Haible <bruno@clisp.org>
+2006-08-24  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_create_testdir): Use non-default values of
        sourcebase and m4base.
 
-2006-08-24  Bruno Haible <bruno@clisp.org>
+2006-08-24  Bruno Haible  <bruno@clisp.org>
 
        * MODULES.html.sh (Compatibility checks for POSIX:2001 functions: Fix
        HTML structure.
 
        * modules/openat (Depends-on): Add lchown.
 
-2006-08-23  Bruno Haible <bruno@clisp.org>
+2006-08-23  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_import, func_create_testdir): Emit an invocation
        of gl_LOCK_EARLY instead of gl_LOCK.
        * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Likewise.
        * m4/intmax_t.m4 (gt_AC_TYPE_INTMAX_T): Likewise.
 
-2006-08-22  Bruno Haible <bruno@clisp.org>
+2006-08-22  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_emit_lib_Makefile_am): Don't treat lib_LIBRARIES
        and lib_LTLIBRARIES like the other lib_* variables.
 
-2006-08-22  Bruno Haible <bruno@clisp.org>
+2006-08-22  Bruno Haible  <bruno@clisp.org>
 
        * build-aux/x-to-1.in: New file, from GNU gettext.
 
        to get the necessary .h files and whatnot.
 
 2006-08-21  Mark D. Baushke  <mdb@gnu.org>
-           Bruno Haible <bruno@clisp.org>
+           Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_verify_module): Work around Sun's non-POSIX 1003.2
        /bin/sh understanding of '!' conditional negation.
 
        * modules/openat (Depends-on): Add lstat.  Alphabetize.
 
-2006-08-21  Bruno Haible <bruno@clisp.org>
+2006-08-21  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
        Emit a pkgdata_DATA variable only if some snippets add contents to it.
        Reported by Martin Lambers <marlam@marlam.de>.
 
-2006-08-21  Bruno Haible <bruno@clisp.org>
+2006-08-21  Bruno Haible  <bruno@clisp.org>
 
        * gnulib-tool (func_emit_lib_Makefile_am): If the snippets already
        specify an installation location, don't emit a noinst_LIBRARIES or
        in an AC_DEFUN. Needed so that the autoconf snippets can use
        AC_REQUIRE.
 
-2006-08-06  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2006-08-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * gnulib-tool (func_emit_lib_Makefile_am, func_emit_tests_Makefile_am):
        Initialize pkgdata_DATA.
 
        * config/srclist.txt (*setenv.[ch]): Remove rules.
 
-2006-07-28  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+2006-07-28  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
 
        * m4/inet_pton.m4, inet_ntop.m4: Check for netinet/in.h too.
 
-2006-07-28  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+2006-07-28  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
 
        * lib/inet_ntop.h, inet_pton.h: Need to include netinet/in.h before
        arpa/inet.h.
        * lib/regex_internal.h (struct re_dfa_t) [!_LIBC]: Avoid invalid C89
        macro expansion.
 
-2006-07-28  Bruno Haible <bruno@clisp.org>
+2006-07-28  Bruno Haible  <bruno@clisp.org>
 
        * lib/inet_ntop.h, inet_pton.h: Use #if HAVE* instead of #ifdef HAVE*.
 
        gl_linked_add_after, gl_linked_add_at, gl_linked_remove_node,
        gl_linked_remove_at): Use it.
 
-2006-07-22  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+2006-07-22  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
        and Simon Josefsson <jas@extundo.com>
 
        * lib/getaddrinfo.h (AI_PASSIVE): Make sure it is defined.
 
        * m4/stdarg.m4 (gl_STDARG_H): Properly parenthesize gl_va_copy.
 
-2006-06-30  Jim Hyslop <jhyslop@dreampossible.ca>  (tiny change)
+2006-06-30  Jim Hyslop  <jhyslop@dreampossible.ca>  (tiny change)
 
        * lib/getaddrinfo.c: fixed typo
 
        Problem reported by Denis Excoffier in
        <http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00023.html>.
 
-2006-06-19  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+2006-06-19  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
 
        * modules/sys_socket, modules/socklen: Include sys/types since
        FreeBSD 4.x's sys/socket.h needs it.
        including some doc fixes.
        (base64_encode_alloc): Fix +1 bug on allocation failures.
 
-2006-03-24  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2006-03-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * lib/base64.c (base64_encode): Do not read past end of array with
        unsanitized input on systems with CHAR_BIT > 8.
        * gnulib-tool (func_import): Fix comparison in handling of symbolic
        links.
 
-2005-09-04  Martin Lambers <marlam@marlam.de>  (tiny change)
+2005-09-04  Martin Lambers  <marlam@marlam.de>  (tiny change)
 
        * modules/size_max (Makefile.am): Add size_max.h
 
        * gnulib-tool (func_import): Also copy m4/gnulib-tool.m4. Omit
        declaration macro definitions from generated gnulib.m4.
 
-2005-08-30  "Oskar Liljeblad" <oskar@osk.mine.nu>
+2005-08-30  Oskar Liljeblad  <oskar@osk.mine.nu>
 
        * lib/iconvme.h: Add prototype for iconv_alloc.
 
 
        * modules/byteswap (Makefile.am): Fix rule to not assume GNU make.
 
-2005-08-29  "Oskar Liljeblad" <oskar@osk.mine.nu>
+2005-08-29  Oskar Liljeblad  <oskar@osk.mine.nu>
 
        * lib/iconvme.c: Split iconv_string into iconv_alloc.
 
 
        * lib/strnlen.h: New file.
 
-2005-08-08  Ralf Wildenhues <Ralf.Wildenhues@gmx.de>  (tiny change)
+2005-08-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>  (tiny change)
 
        * README: Typos.
 
        date --iso-8601=ns generates acceptable dates; it doesn't yet.
        Problem reported by Nic Ferrier.
 
-2005-05-10  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+2005-05-10  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
 
        * lib/getaddrinfo.c: Don't fail when SOCK_STREAM or SOCK_DGRAM are
        specified in ai_socktype. Fix invalid ai_protocol
        * m4/getopt.m4 (gl_GETOPT): Check for Solaris 10 bug, not decl, when
        possible.
 
-2005-05-09  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+2005-05-09  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
            Bruno Haible  <bruno@clisp.org>
 
        * modules/inet_ntop: New file.
        * MODULES.html.sh (Support for systems lacking POSIX:2001): Add
        inet_ntop.
 
-2005-05-09  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+2005-05-09  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
            Bruno Haible  <bruno@clisp.org>
 
        * m4/inet_ntop.m4: New file.
 
-2005-05-09  Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+2005-05-09  Yoann Vandoorselaere  <yoann.v@prelude-ids.com>
            Bruno Haible  <bruno@clisp.org>
 
        * lib/inet_ntop.h: New file.
 
        * gnulib-tool (Options): Make --symlink mean --symbolic.
 
-2005-04-18  Oskar Liljeblad <oskar@osk.mine.nu>
+2005-04-18  Oskar Liljeblad  <oskar@osk.mine.nu>
 
        * doc/gnulib.texi (Initial import): Fix.  Mention --aux-dir.
 
 
        * gnulib-tool: Rename --symlink to --symbolic.
 
-2005-04-15  Oskar Liljeblad <oskar@osk.mine.nu>
+2005-04-15  Oskar Liljeblad  <oskar@osk.mine.nu>
 
        * gnulib-tool: Add -s, --symlink option to gnulib-tool to make
        symbolic links to files instead of copying/moving.  Add --aux-dir,
        with errno == ERANGE if the buffer is too small.
        Problem reported by Mark D. Baushke.
 
-2004-11-03  Albert Chin <china@thewrittenword.com>
+2004-11-03  Albert Chin  <china@thewrittenword.com>
            Paul Eggert  <eggert@cs.ucla.edu>
 
        * m4/uint32_t.m4 (gl_AC_TYPE_UINT32_T): When determining uint32_t
 
        * lib/dirfd.h, getpagesize.h: Add copyright notice.
 
-2004-10-01  Yoann Vandoorselaere <yoann@prelude-ids.org>
+2004-10-01  Yoann Vandoorselaere  <yoann@prelude-ids.org>
 
        * modules/strsep: New file.
 
-2004-10-01  Yoann Vandoorselaere <yoann@prelude-ids.org>
+2004-10-01  Yoann Vandoorselaere  <yoann@prelude-ids.org>
 
        * m4/strsep.m4: New file.
 
-2004-10-01  Yoann Vandoorselaere <yoann@prelude-ids.org>
+2004-10-01  Yoann Vandoorselaere  <yoann@prelude-ids.org>
 
        * lib/strsep.h: New file.
        * lib/strsep.c: New file.
        * modules/extensions, modules/gnu-source: New files.
        * modules/timespec, modules/unlocked-io: Depend on extensions.
 
-2003-08-07 Paul Eggert  <eggert@twinsun.com>
+2003-08-07  Paul Eggert  <eggert@twinsun.com>
 
        * modules/restrict: New file.
        * MODULES.html.sh (func_all_modules): Add restrict.
        Combine two mostly-identical uses of alloca into one.
        Thanks to the Cray-Cyber project for access to a Cray Y-MP.
 
-2003-08-04  Dave Love <d.love@dl.ac.uk>
+2003-08-04  Dave Love  <d.love@dl.ac.uk>
 
        [From Emacs.]
 
 
        * m4/sysexits.m4: New file.
 
-2003-06-10  Simon Josefsson <jas@extundo.com>
+2003-06-10  Simon Josefsson  <jas@extundo.com>
 
        * lib/argp.h: New file, from glibc.
        * lib/argp-ba.c: New file, from glibc.
        * lib/Makefile.am (Makefile): Depend on $(BUILT_SOURCES), so those
        files will be created before anything else.
 
-2001-11-17 Paul Eggert  <eggert@twinsun.com>
+2001-11-17  Paul Eggert  <eggert@twinsun.com>
 
        * m4/jm-winsz1.m4 (jm_WINSIZE_IN_PTEM): Do not define
        WINSIZE_IN_PTEM if <termios.h> defines struct winsize.
        * m4/uintmax_t.m4: New file.
        * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4.
 
-Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
+Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
   Free Software Foundation, Inc.
 Copying and distribution of this file, with or without modification,
 are permitted provided the copyright notice and this notice are preserved.