+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.
+