* lib/openat.h (rpl_fstatat): New macro, if
[gnulib.git] / ChangeLog
index f88f1d4..e7ec6a6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,586 @@
+2006-11-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/openat.h (rpl_fstatat): New macro, if
+       [HAVE_OPENAT && ! LSTAT_FOLLOWS_SLASHED_SYMLINK.
+       (fstatat): Define to rpl_fstatat under the same conditions,
+       unless COMPILING_FSTATAT.
+       * m4/openat.m4 (gl_FUNC_OPENAT): Compile fstatat.c too, if fstatat
+       seems to have the bug.
+       * lib/fstatat.c: New file.
+       * modules/openat (Files): Add it.
+
+2006-11-20  Bruno Haible  <bruno@clisp.org>
+
+       * Makefile: New file.
+
+2006-11-20  Jim Meyering  <jim@meyering.net>
+
+       * lib/idcache.c: Adjust comments in user- and group- portions to
+       be more accurate, and to be consistent with one another.
+
+2006-11-20  Andreas Schwab  <schwab@suse.de>  (tiny change)
+
+       Avoid syntax error in test program.
+       * m4/gettext.m4 (AM_GNU_GETTEXT): When inside a [...] context,
+       quote with "[...]", not "[[...]]".
+
+2006-11-20  Jim Meyering  <jim@meyering.net>
+
+       * lib/idcache.c: Restore most of the 2006-11-06 patch, so as to
+       continue using the flexible array member (thus, this module performs
+       half as many malloc calls), with the addition that...
+       (getgroup, getuser): Consistently record a non-match via an empty
+       "name" string, and map an empty string match to a NULL return value.
+       * modules/idcache (Depends-on): Re-add flexmember.
+
+       * lib/idcache.c (getuser): Remove all uses of the register keyword.
+       (getuidbyname, getgroup, getgidbyname): Likewise.
+
+       Use cleaner syntax: NULL rather than 0.
+       * lib/idcache.c (getuidbyname, getgidbyname): Return NULL, not 0.
+
+2006-11-20  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/idcache.c: Undo most recent patch, dated 2006-11-06.
+       It mishandled the case where the group was missing.
+       Problem reported by Greg Schafer.
+       * modules/idcache: Likewise.
+
+2006-11-18  Jim Meyering  <jim@meyering.net>
+
+       * check-module (%exempt_header): Add exception for some
+       conditionally-included headers.
+
+       * modules/i-ring (Depends-on): Add verify.
+       (License): Change to LGPL.
+
+2006-11-16  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/getaddinfo (Depends-on): Remove inttostr; add snprintf.
+       * lib/getaddrinfo.c: Include snprintf.h rather than intprops.h
+       and inttostr.h.  Use snprintf rather than uinttostr, so that
+       LGPLed code doesn't depend on GPLed.
+
+2006-11-17  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/inline (License): Change from GPL to LGPL.
+
+2006-11-17  Jim Meyering  <jim@meyering.net>
+
+       * modules/d-type (License): Switch to LGPL.
+
+2006-11-15  Bruno Haible  <bruno@clisp.org>
+
+       * m4/alloca.m4 (gl_FUNC_ALLOCA): Fix the AC_CACHE_CHECK message.
+
+2006-11-15  Eric Blake  <ebb9@byu.net>
+
+       * 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>
+
+       * gnulib-tool (func_create_testdir): Add license consistency check.
+
+2006-11-15  Eric Blake  <ebb9@byu.net>
+
+       * m4/alloca.m4 (gl_FUNC_ALLOCA): Use AC_CACHE_CHECK to avoid a
+       random "(cached)" in configure output.
+
+2006-11-14  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * m4/inttypes.m4 (gl_INTTYPES_H): Use AC_CACHE_CHECK so that the
+       test for conforming inttypes.h is both announced and cached.
+
+       * MODULES.html.sh (seen_modules, seen_files): New variables.
+       (func_module): Rewrite to use a few less gnulib-tool and sed
+       invocations.  Avoid a couple of quadratic algorithms for ...
+       (missed_modules, missed_files): ... these, with ...
+       (func_append, func_tmpdir): ... these new functions, from
+       gnulib-tool.  Analogously, install traps for cleanup.
+
+       * tests/test-gc.c (main): Remove unused variables.
+       * tests/test-read-file.c: Include stdlib.h, for 'free'.
+
+2006-11-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * modules/inttostr (License): Change to LGPL.
+
+2006-11-14  Eric Blake  <ebb9@byu.net>
+
+       * modules/tempname (License): Change to LGPL.
+
+2006-11-14  Eric Blake  <ebb9@byu.net>
+
+       * doc/functions.texi (Function Portability): *printf functions on
+       Cygwin now understand all POSIX size specifiers.
+
+2006-11-14  Bruno Haible  <bruno@clisp.org>
+
+       * modules/c-ctype (License): Change to LGPL.
+
+2006-11-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/lib-link.m4 (AC_LIB_LINKFLAGS, AC_LIB_HAVE_LINKFLAGS,
+       AC_LIB_LINKFLAGS_BODY): Also set a LIB${NAME}_PREFIX variable. Needed
+       for GNOME libraries, for which the include files are installed in
+       subdirectories of $prefix/include.
+
+2006-11-12  Bruno Haible  <bruno@clisp.org>
+
+       * m4/lib-link.m4: Require at least autoconf-2.54.
+       (AC_LIB_LINKFLAGS_BODY) [autoconf < 2.61]: Turn dots into the library
+       name to underscores for the --with option.
+
+2006-11-13  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_create_testdir): Set gl_source_base correctly in
+       the tests directory.
+       Reported by Ralf Wildenhues.
+
+2006-11-13  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_initmacro_start): Also override AC_LIBSOURCES.
+       (func_emit_initmacro_end): Undo the override here.
+       (func_emit_initmacro_done): Emit a definition for gl_LIBSOURCES.
+       Works around the famous automake error in coreutils.
+
+2006-11-13  Eric Blake  <ebb9@byu.net>
+
+       * lib/gl_anytree_oset.h (gl_tree_search_atleast): Return the
+       element, not its node.
+
+2006-11-12  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_emit_lib_Makefile_am): Replace occurrences of
+       '$(top_srcdir)/build-aux/', taking into account the real auxdir.
+
+2006-11-12  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool: New option --local-symlink.
+       (func_usage): Document it.
+       (lsymbolic): New variable.
+       (func_import, func_create_testdir): If --symlink was not specified,
+       test whether --local-symlink was specified and the file comes from
+       the local_gnulib_dir.
+
+2006-11-12  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_ln): New function.
+       (func_ln_if_changed, func_create_testdir): Use it instead of "ln -s".
+
+2006-11-12  Bruno Haible  <bruno@clisp.org>
+
+       Finish support for source files in subdirectories.
+       * gnulib-tool (func_emit_lib_Makefile_am): If some of the source files
+       are in subdirectories, set uses_subdirs and add 'subdir-objects' to
+       AUTOMAKE_OPTIONS.
+       (func_import, func_create_testdir): Invoke AM_PROG_CC_C_O in this case.
+
+2006-11-12  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_get_automake_snippet): Synthesize also an
+       EXTRA_lib_SOURCES augmentation.
+       (func_emit_lib_Makefile_am): Initialize EXTRA_lib..._SOURCES to empty.
+
+2006-11-12  Jim Meyering  <jim@meyering.net>
+
+       Make fts (in FTS_CWDFD mode) more efficient by caching a few open
+       file descriptors.  This also averts a failure on systems with
+       native openat support when a traversed directory lacks "x" access.
+       * lib/fts_.h: Include "i-ring.h"
+       (struct FTS) [fts_fd_ring]: New member.
+       * lib/fts.c (RESTORE_INITIAL_CWD): Also call fd_ring_clear.
+       (FCHDIR): Add parentheses.
+       (fd_ring_check, fd_ring_print) [!FTS_DEBUG]: Define away.
+       (cwd_advance_fd): Add a 3rd parameter.  Adjust all callers.
+       When descending, rather than simply closing the previous
+       fts_cwd_fd value, push that file descriptor onto the ring.
+       (same_fd, fd_ring_print, fd_ring_check) [FTS_DEBUG]: New functions.
+       (fts_open): Initialize the new fd_ring member.
+       (fts_close): Clear the ring.
+       (fts_safe_changedir): When possible, use our new fd_ring to skip
+       the diropen and fstat and dev/ino comparison that would normally
+       accompany a virtual `chdir ("..")'.
+
+       * modules/fts (Depends-on): Add i-ring.
+       * modules/i-ring: New module.
+       * lib/i-ring.c, lib/i-ring.h, lib/i-ring-test.c: New files.
+       * m4/i-ring.m4: New file.
+
+2006-11-12  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * gnulib-tool (func_create_testdir): Fix replacement of
+       `build-aux' in configure.ac.  Run autotools in gltests
+       subdirectory.
+       (func_create_testdir, func_create_megatestdir, test): There is
+       no need for '--force' in most autotool invocations in a new
+       tree.  Actually fail the whole test if any of the tools, or the
+       configure or make stages fail.
+
+       Sync from Automake.
+       * build-aux/gnupload: Revert last change.  Add pointer to upload
+       instructions of the GNU Maintenance Instructions.
+       Suggestion by Karl Berry.
+
+2006-11-10  Jim Meyering  <jim@meyering.net>
+
+       * lib/fts.c [FTS_DEBUG]: Don't try to print a pointer via %s.
+
+2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/gettext.h (dgettext, dcgettext, ngettext) [! ENABLE_NLS]:
+       (dngettext, dcngettext, bindtextdomain) [! ENABLE_NLS]:
+       (bind_textdomain_codeset) [! ENABLE_NLS]:
+       Evaluate all the arguments.  That way, callers get compatible behavior
+       if the arguments have side effects.  Also, it avoids some GCC
+       diagnostics in some cases; Joel E. Denny reported problems when Bison
+       was configured with --enable-gcc-warnigs.
+
+2006-11-10  Jim Meyering  <jim@meyering.net>
+
+       * m4/inline.m4 (gl_INLINE): Check with the compiler, not cpp, so that
+       relevant options in CFLAGS (like -O, -fno-inline) are taken into
+       account.
+
+2006-11-10  Jim Meyering  <jim@meyering.net>
+
+       * modules/inline: New file/module.
+       * modules/xalloc (Files): Remove m4/inline.m4.
+       (Depends-on): Add inline, instead.
+       * modules/oset: Likewise.
+       * modules/list: Likewise.
+
+2006-11-09  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/stdint_.h (uintmax_t): Fix typo: int64_t -> uint64_t.
+       Problem reported by Matthew Woehlke.
+
+2006-11-09  Bruno Haible  <bruno@clisp.org>
+
+       * lib/tempname.c (gen_tempname): Remove variant that invokes
+       __gen_tempname.
+       * m4/tempname.m4 (gl_FUNC_GEN_TEMPNAME): Don't test for
+       __gen_tempname.
+
+2006-11-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Set ac_cv_type_long_long_int
+       to 'yes' instead of 'cross-compiling'.
+
+2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/quotearg.h (quotearg_free): New decl.
+       * lib/quotearg.c (quotearg_free): New function.
+       (slot0, nslots, slotvec0, slotvec):
+       Now file-scope so that quotearg_free can get at them.
+
+2006-11-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       Sync from Automake.
+       * build-aux/gnupload: Add missing 'gnu' to example URL.
+       Report by Karl Berry.
+
+2006-11-08  Bruno Haible  <bruno@clisp.org>
+
+       * m4/inline.m4 (gl_INLINE): Also test __NO_INLINE__.
+       Suggested by Paul Eggert.
+
+2006-11-08  Jim Meyering  <jim@meyering.net>
+
+       * lib/fts.c [!_LGPL_PACKAGE]: Don't include fcntl--.h twice.
+       It's already included if !_LIBC.
+       (fts_safe_changedir): Add a comment.
+
+2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/longlong.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
+       Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
+       Matthew Woehlke.
+
+       * lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Move
+       definitions up, to avoid colliding with change below.
+       (static_inline) [HAVE_INLINE]: New macro.
+       (xnmalloc, xnrealloc, x2nrealloc, xcharalloc):
+       Provide extern decls when !HAVE_INLINE.  Do not define unless
+       static_inline is defined, either by us or by xmalloc.c.  Use
+       static_inline rather than static inline.
+       (XCALLOC): Optimize sizeof(T) = 1 case.
+       * lib/xmalloc.c (static_inline) [!HAVE_INLINE]: New macro.
+
+2006-11-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/xalloc.h (XNMALLOC): Restore optimization of sizeof(T) = 1 case.
+       * m4/xalloc.m4 (gl_PREREQ_XALLOC): Require gl_INLINE instead of
+       AC_C_INLINE.
+       * modules/xalloc (Files): Add m4/inline.m4.
+
+2006-11-07  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * README: Fix typo.
+       * doc/gnulib.texi (Miscellaneous Notes): Likewise, rename...
+       (Miscellanous Notes): ...from this.
+
+2006-11-07  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * m4/flexmember.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER):
+       Mention that offsetof should be used instead of sizeof.
+       From Bruno Haible.
+
+2006-11-07  Bruno Haible  <bruno@clisp.org>
+
+       * lib/w32spawn.h (prepare_spawn): Use XNMALLOC instead of xmalloc.
+
+2006-11-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Simplify xmalloc expressions. Add overflow check in xmalloc arguments.
+       * lib/gl_anyavltree_list2.h (create_subtree_with_contents):
+       (gl_tree_create, gl_tree_add_first, gl_tree_add_last):
+       (gl_tree_add_before, gl_tree_add_after):
+       Use XMALLOC instead of xmalloc, and XCALLOC instead of xzalloc.
+       * lib/gl_anyhash_list2.h (hash_resize): Likewise.
+       * lib/gl_anylinked_list2.h (gl_linked_create_empty, gl_linked_create):
+       (gl_linked_add_first, gl_linked_add_last, gl_linked_add_before):
+       (gl_linked_add_after, gl_linked_add_at): Likewise.
+       * lib/gl_anyrbtree_list2.h (create_subtree_with_contents):
+       (gl_tree_create, gl_tree_add_first, gl_tree_add_last):
+       (gl_tree_add_before, gl_tree_add_after): Likewise.
+       * lib/gl_anytree_list2.h (gl_tree_create_empty): Likewise.
+       * lib/gl_anytree_oset.h (gl_tree_create_empty): Likewise.
+       * lib/gl_anytreehash_list1.h (add_to_bucket): Likewise.
+
+2006-11-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * lib/gl_oset.h: Use C comment style, not C++ comment style.
+
+2006-11-06  Bruno Haible  <bruno@clisp.org>
+
+       * m4/inline.m4: New file.
+       * m4/gl_list.m4 (gl_LIST): Require gl_INLINE.
+       * modules/list (Files): Add m4/inline.m4.
+       * modules/oset (Files): Likewise.
+
+2006-11-06  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/idcache.c: Include <stddef.h>, for offsetof.
+       (struct userid.name): Change from char * to a flexible array member.
+       All uses changed.
+       * modules/idcache (Depends-on): Add flexmember.
+
+       * MODULES.html.sh (Core language properties): New module flexmember.
+       * modules/flexmember, m4/flexmember.m4: New files.
+
+       * lib/xalloc.h (xnmalloc, xnrealloc, x2nrealloc): Now static
+       inline functions that are identical with the old xnmalloc_inline,
+       xnrealloc_inline, x2nrealloc_inline of lib/xmalloc.c.  This is so
+       that we can avoid some unnecessary integer multiplications and
+       divisions in the common case where the element size is known at
+       compile time.
+       (XNMALLOC) [HAVE_INLINE]: Remove special case, which is no longer
+       needed.
+       (xnboundedmalloc): Remove.
+       (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): Use lower-case letters for
+       arguments, for consistency with rest of this header.
+       (xcharalloc): Rewrite using XNMALLOC.
+       * lib/xmalloc.c (xnmalloc_inline, xnmalloc, xnrealloc_inline):
+       (xnrealloc, x2nrealloc_inline, x2nrealloc): Remove.  The *_inline
+       versions have been moved to lib/xalloc.h and renamed to be the
+       non-*_inline versions.
+       (xmalloc, xrealloc): Implement without reference to the xnmalloc
+       and xnrealloc functions, since those functions are now inline and
+       now call us.
+       (x2realloc): Invoke x2realloc, not x2realloc_inline, to accommodate
+       renaming described above.
+       * m4/xalloc.m4 (gl_PREREQ_XMALLOC): Remove AC_C_INLINE since
+       xmalloc.c no longer uses inline directly.  gl_PREREQ_XALLOC now
+       captures the dependency in AC_C_INLINE.
+
+       New module canonicalize-lgpl, proposed by Charles Wilson in
+       <http://lists.gnu.org/archive/html/bug-gnulib/2006-11/msg00020.html>
+       with a few small changes afterwards.
+       * MODULES.html.sh (File system functions): New module
+       canonicalize-lgpl.
+       * lib/canonicalize.h: Add comments for canonicalize_filename_mode
+       and canonicalize_file_name.
+       * lib/canonicalize-lgpl.c, m4/canonicalize-lgpl.m4:
+       * modules/canonicalize-lgpl: New files.
+
+2006-11-05  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_import, func_create_testdir): Create directories
+       also for files in subdirectories of lib/.
+
+2006-11-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/gl_array_list.c (gl_array_iterator_next): Make pointer decrement
+       ANSI C compliant.
+
+2006-11-03  Bruno Haible  <bruno@clisp.org>
+
+       Simplify xmalloc expressions. Add overflow check in xmalloc arguments.
+       * m4/xalloc.m4 (gl_PREREQ_XALLOC): Require AC_C_INLINE.
+       * lib/xalloc.h (XMALLOC, XNMALLOC, XZALLOC, XCALLOC): New macros.
+       (xnboundedmalloc): New inline function.
+       * lib/classpath.c (new_classpath): Use XNMALLOC instead of xmalloc.
+       * lib/clean-temp.c (create_temp_dir): Use XNMALLOC, XMALLOC instead of
+       xmalloc.
+       * lib/concatpath.c (concatenated_pathname): Use XNMALLOC instead of
+       xmalloc.
+       * lib/fatal-signal.c (at_fatal_signal): Use XNMALLOC instead of xmalloc.
+       * lib/findprog.c (find_in_path): Use XNMALLOC instead of xmalloc.
+       * lib/gl_array_list.c (gl_array_create_empty): Use XMALLOC instead of
+       xmalloc.
+       (gl_array_create): Use XNMALLOC, XMALLOC instead of xmalloc.
+       * lib/gl_array_oset.c (gl_array_create_empty): Use XNMALLOC instead of
+       xmalloc.
+       * lib/gl_avltree_oset.c (gl_tree_add_first, gl_tree_add_before,
+       gl_tree_add_after): Use XMALLOC instead of xmalloc.
+       * lib/gl_carray_list.c (gl_carray_create_empty): Use XMALLOC instead of
+       xmalloc.
+       (gl_carray_create): Use XNMALLOC, XMALLOC instead of xmalloc.
+       * lib/gl_rbtree_oset.c (gl_tree_add_first, gl_tree_add_before,
+       gl_tree_add_after): Use XMALLOC instead of xmalloc.
+       * lib/gl_sublist.c (gl_sublist_create): Use XMALLOC instead of xmalloc.
+       * lib/pagealign_alloc.c (new_memnode): Use XMALLOC instead of xmalloc.
+       * lib/sh-quote.c (shell_quote_argv): Use XNMALLOC instead of xmalloc.
+       * lib/xvasprintf.c (xstrcat): Use XNMALLOC instead of xmalloc.
+
+2006-11-03  Bruno Haible  <bruno@clisp.org>
+
+       * lib/c-ctype.h [C++]: Define functions without name mangling.
+       * lib/fwriteerror.h [C++]: Likewise.
+       * lib/gcd.h [C++]: Likewise.
+       * lib/linebreak.h [C++]: Likewise.
+
+2006-11-03  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * lib/canonicalize.h: (canonicalize_mode_t, CAN_EXISTING):
+       (CAN_ALL_BUT_LAST, CAN_MISSING, canonicalize_filename_mode):
+       Define only if PROVIDE_CANONICALIZE_FILENAME_MODE is defined.
+       * m4/canonicalize.m4 (AC_FUNC_CANONICALIZE_FILE_NAME):
+       Check for functions and headers just once.
+       Check for declaration of canonicalize_file_name.
+       Define PROVIDE_CANONICALIZE_FILENAME_MODE.
+
+2006-11-02  Charles Wilson  <cygwin@cwilson.fastmail.fm>
+
+       * gnulib-tool (func_import): Fix typo in actioncmd.
+
+2006-11-02  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_get_automake_snippet): Interpret a backslash-
+       newline sequence in the Makefile.am snippet as a space, like "make"
+       does.
+       Reported by Roger Persson <perrog@gmail.com>.
+
+2006-11-01  Bruno Haible  <bruno@clisp.org>
+
+       * m4/strcase.m4 (gl_FUNC_STRNCASECMP): Check whether strncasecmp is
+       already declared in <string.h>.
+       * lib/strcase.h (strncasecmp): Don't declare it if yes.
+
+2006-11-01  Bruno Haible  <bruno@clisp.org>
+
+       * m4/strcase.m4 (gl_FUNC_STRCASECMP): Don't define strcasecmp here.
+       * lib/strcase.h: Include <string.h>.
+       (strcasecmp): Define to rpl_strcasecmp here.
+
+2006-11-01  Bruno Haible  <bruno@clisp.org>
+
+       * lib/printf-parse.c (PRINTF_PARSE): Cast malloc/realloc results.
+
+2006-11-01  Eric Blake  <ebb9@byu.net>
+
+       * lib/mkstemp-safer.c (mkstemp_safer): Allow C++ compilation.
+
+       * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Allow C++ configuration.
+
+2006-10-29  Bruno Haible  <bruno@clisp.org>
+
+       Make it compile in C++ mode.
+       * lib/full-write.c (full_rw): Add a cast.
+
+2006-11-01  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_get_automake_snippet): Change sed_combine_lines to
+       be POSIX compliant.
+       Reported by Roger Persson <perrog@gmail.com>.
+
+2006-11-01  Eric Blake  <ebb9@byu.net>
+
+       * lib/getopt_.h: Fix comments.
+
+2006-10-31  Eric Blake  <ebb9@byu.net>
+
+       * modules/tmpdir (Depends-on): Add sys_stat.
+       * modules/mkdtemp (Depends-on): Add tempname, drop unistd.
+       * lib/mkdtemp.c (gen_tempname): Remove; tempname covers this.
+       * lib/tmpdir.c (S_ISDIR): Simplify, thanks to sys_stat.
+       * m4/mkdtemp.m4 (gl_PREREQ_MKDTEMP): Simplify, thanks to
+       tempname.
+
+2006-10-31  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Avoid some C++ diagnostics reported by Bruno Haible.
+       * lib/quotearg.c (clone_quoting_options): Use xmemdup rather than
+       xmalloc.
+       (quotearg_alloc): Use xcharalloc rather than xmalloc.
+       (struct slotvec): Move to top level.
+       (quotearg_n_options): Rewrite to avoid xmalloc.
+       * lib/xalloc.h (xcharalloc): New function.
+       * (xrealloc, xnrealloc, x2realloc, x2nrealloc, xmemdup):
+       [defined __cplusplus]: Add function template that provides result
+       type propagation.  This part of the change is from Bruno Haible.
+
+2006-10-29  Bruno Haible  <bruno@clisp.org>
+
+       Make it compile in C++ mode.
+       * lib/striconv.c (mem_cd_iconv): Cast malloc/realloc result.
+       * lib/strnlen1.c (strnlen1): Cast memchr result.
+       * lib/mbchar.h (mb_copy): Rename arguments to 'new_mbc', 'old_mbc'.
+       * lib/clean-temp.c (string_equals, string_hash): Add casts.
+       (create_temp_dir): Rename local variable 'template'.
+       (compile_csharp_using_sscli): Add cast.
+       * lib/fatal-signal.c (at_fatal_signal): Cast xmalloc result.
+       * lib/findprog.c (find_in_path): Likewise.
+       * lib/linebreak.c (mbs_width_linebreaks): Cast malloc result.
+       * lib/wait-process.c (register_slave_subprocess): Likewise.
+
+2006-10-22  Bruno Haible  <bruno@clisp.org>
+
+       * modules/tsearch: New file.
+       * lib/tsearch.h: New file.
+       * lib/tsearch.c: New file, from glibc-2.5 with small modifications.
+       * m4/tsearch.m4: New file.
+       * MODULES.html.sh (Support for systems lacking POSIX:2001): Add tsearch.
+
+2006-10-29  Eric Blake  <ebb9@byu.net>
+
+       * lib/arcfour.c: Assume config.h.
+       * lib/arctwo.c: Likewise.
+       * lib/base64.c: Likewise.
+       * lib/check-version.c: Likewise.
+       * lib/crc.c: Likewise.
+       * lib/des.c: Likewise.
+       * lib/gc-gnulib.c: Likewise.
+       * lib/gc-libgcrypt.c: Likewise.
+       * lib/gc-pbkdf2-sha1.c: Likewise.
+       * lib/getaddrinfo.c: Likewise.
+       * lib/getdelim.c: Likewise.
+       * lib/getline.c: Likewise.
+       * lib/hmac-md5.c: Likewise.
+       * lib/hmac-sha1.c: Likewise.
+       * lib/iconvme.c: Likewise.
+       * lib/md2.c: Likewise.
+       * lib/md4.c: Likewise.
+       * lib/memxor.c: Likewise.
+       * lib/read-file.c: Likewise.
+       * lib/readline.c: Likewise.
+       * lib/rijndael-alg-fst.c: Likewise.
+       * lib/rijndael-api-fst.c: Likewise.
+       * lib/xgetdomainname.c: Likewise.
+
 2006-10-28  Eric Blake  <ebb9@byu.net>
 
        * lib/xstrndup.c: Assume config.h.
        * lib/mkdir-p.c: Include dirname.h, for IS_ABSOLUTE_FILE_NAME.
        (make_dir_parents): Use a subprocess if necessary.  New arg WD;
        all users changed.
-       * lib/savewd.c, savewd.h: New files.
+       * lib/savewd.c, lib/savewd.h: New files.
 
 2006-09-15  Jim Meyering  <jim@meyering.net>
 
 
 2006-08-29  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * lib/isapipe.c, isapipe.h: New files.
+       * lib/isapipe.c, lib/isapipe.h: New files.
 
 2006-08-29  Jim Meyering  <jim@meyering.net>
 
 
        * m4/cycle-check.m4: New file.
        Require gl_STRUCT_DEV_INO and gl_SAME_INODE.
-       * m4/dev-ino.m4, same-inode.m4: New files.
+       * m4/dev-ino.m4, m4/same-inode.m4: New files.
 
 2006-08-10  Eric Blake  <ebb9@byu.net>
 
 
 2006-08-08  Eric Blake  <ebb9@byu.net>
 
-       * lib/verror.h, verror.c: New files.
+       * lib/verror.h, lib/verror.c: New files.
 
 2006-08-08  Eric Blake  <ebb9@byu.net>
 
 
 2006-07-22  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * lib/close-stream.c, close-stream.h: New files.
+       * lib/close-stream.c, lib/close-stream.h: New files.
 
 2006-07-22  Bruno Haible  <bruno@clisp.org>
 
        * modules/oset: New file.
        * modules/array-oset: New file.
        * modules/avltree-oset, modules/avltree-oset-tests: New files.
-       * modules/rbtree-oset, rbtree-oset-tests: New files.
+       * modules/rbtree-oset, modules/rbtree-oset-tests: New files.
        * tests/test-carray_list.c: New file.
        * tests/test-linked_list.c: New file.
        * tests/test-avltree_list.c: New file.
 
 2006-07-16  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * lib/dirchownmod.c, dirchownmod.h, mkancesdirs.c, mkancesdirs.h:
-       New files.
+       * lib/dirchownmod.c, lib/dirchownmod.h, lib/mkancesdirs.c:
+       * lib/mkancesdirs.h: New files.
        * lib/mkdir-p.c: Don't include alloca.h, stdio.h, sys/types.h,
        unistd.h, string.h, chdir-safer.h, dirname.h, lchmod.h, lchown.h,
        save-cwd.h.  Instead, include dirchownmod.h and mkancesdirs.h.
 2006-04-18  Derek Price  <derek@ximbiot.com>
            Paul Eggert  <eggert@cs.ucla.edu>
 
-       * m4/_inttypes_h.m4, full-header-path.m4, include_next: New files.
+       * m4/_inttypes_h.m4, m4/full-header-path.m4, m4/include_next.m4:
+       New files.
 
 2006-04-18  Derek Price  <derek@ximbiot.com>
            Paul Eggert  <eggert@cs.ucla.edu>
 
        * lib/version-etc.c (COPYRIGHT_YEAR): Update to 2006.
 
-       * lib/chdir-safer.h, chdir-safer.c: New files.
+       * lib/chdir-safer.h, lib/chdir-safer.c: New files.
 
        * lib/modechange.c (mode_compile): Reject an invalid mode string
        that starts with an octal digit.  From Andreas Gruenbacher.
 
 2005-12-16  Jim Meyering  <jim@meyering.net>
 
-       * lib/fprintftime.c, fprintftime.h: New files.
+       * lib/fprintftime.c, lib/fprintftime.h: New files.
 
 2005-12-15  Simon Josefsson  <jas@extundo.com>
 
 
        * lib/gc-gnulib.c: Add MD2.  Implement gc_hash_* API.
 
-       * lib/md2.h, md2.c: New files.
+       * lib/md2.h, lib/md2.c: New files.
 
 2005-10-28  Paul Eggert  <eggert@cs.ucla.edu>
 
 
 2005-10-21  Simon Josefsson  <jas@extundo.com>
 
-       * lib/des.h, des.c: New files.
+       * lib/des.h, lib/des.c: New files.
 
        * lib/gc-gnulib.c: Support DES.c
 
 2005-10-21  Simon Josefsson  <jas@extundo.com>
 
-       * lib/arctwo.h, arctwo.c: New files.
+       * lib/arctwo.h, lib/arctwo.c: New files.
 
        * lib/gc-gnulib.c: Support ARCTWO.
 
 
 2005-10-18  Simon Josefsson  <jas@extundo.com>
 
-       * lib/md4.h, md4.c: New files, based on md5.?.
+       * lib/md4.h, lib/md4.c: New files, based on md5.?.
 
 2005-10-17  Stepan Kasal  <kasal@ucw.cz>
 
 
 2005-10-15  Simon Josefsson  <jas@extundo.com>
 
-       * lib/rijndael-api-fst.h, rijndael-api-fst.c: New files.
+       * lib/rijndael-api-fst.h, lib/rijndael-api-fst.c: New files.
 
-       * lib/rijndael-alg-fst.h, rijndael-alg-fst.c: New files.
+       * lib/rijndael-alg-fst.h, lib/rijndael-alg-fst.c: New files.
 
 2005-10-14  Simon Josefsson  <jas@extundo.com>
 
 
 2005-10-14  Simon Josefsson  <jas@extundo.com>
 
-       * lib/arcfour.h, arcfour.c: New files.
+       * lib/arcfour.h, lib/arcfour.c: New files.
 
 2005-10-14  Roland McGrath  <roland@redhat.com>
 
 
 2005-10-12  Simon Josefsson  <jas@extundo.com>
 
-       * m4/gc-md5.m4, gc-hmac-md5: New files.
+       * m4/gc-md5.m4, m4/gc-hmac-md5.m4: New files.
 
        * m4/gc.m4: Don't call gl_MD5, gl_MEMXOR or gl_HMAC_MD5.
 
 
 2005-10-11  Simon Josefsson  <jas@extundo.com>
 
-       * lib/crc.h, crc.c: New files.
+       * lib/crc.h, lib/crc.c: New files.
 
        * lib/gc.h (gc_hash_buffer): Add doc.
 
        * lib/md5.h (MD5_DIGEST_SIZE, MD5_BLOCK_SIZE): Add, see also
        <http://sourceware.org/bugzilla/show_bug.cgi?id=1423>.
 
-       * lib/memxor.h, memxor.c: New files.
+       * lib/memxor.h, lib/memxor.c: New files.
 
        * lib/getaddrinfo.h: Don't protect sys/types.h with HAVE_SYS_TYPES_H,
        we assume all systems have it, suggested by Jim Meyering
 2005-08-24  Jim Meyering  <jim@meyering.net>
 
        Sync from coreutils.
-       * lib/fcntl--.h, fcntl-safer.h, open-safer.c: New files.
+       * lib/fcntl--.h, lib/fcntl-safer.h, lib/open-safer.c: New files.
 
 2005-08-24  Jim Meyering  <jim@meyering.net>
 
 
        * lib/getline.h, getline.c: Rewrite.
 
-       * lib/getdelim.h, getdelim.c: New files, ported from glibc.
+       * lib/getdelim.h, lib/getdelim.c: New files, ported from glibc.
 
 2005-07-31  Bruno Haible  <bruno@clisp.org>
 
 2005-07-07  Paul Eggert  <eggert@cs.ucla.edu>
 
        * lib/regex.c, regex.h: Sync from libc.
-       * lib/regcomp.c, regexec_internal.c, regex_internal.h, regexec.c:
+       * lib/regcomp.c, lib/regexec_internal.c, lib/regex_internal.h:
+       * lib/regexec.c:
        New files, synced from libc, except that regex_internal.h
        currently has a small porting fix.
 
 
 2005-06-28  Simon Josefsson  <jas@extundo.com>
 
-       * lib/check-version.h, check-version.c: New files.
+       * lib/check-version.h, lib/check-version.c: New files.
 
 2005-06-28  Simon Josefsson  <jas@extundo.com>
 
 2005-05-29  Derek Price  <derek@ximbiot.com>
            Paul Eggert  <eggert@cs.ucla.edu>
 
-       * lib/glob_.h, glob.c: New files.
+       * lib/glob_.h, lib/glob.c: New files.
 
 2005-05-27  Paul Eggert  <eggert@cs.ucla.edu>
 
 2005-05-25  Derek Price  <derek@ximbiot.com>
            Paul Eggert  <eggert@cs.ucla.edu>
 
-       * modules/getlogin_r: New files.
-
-2005-05-25  Derek Price  <derek@ximbiot.com>
-           Paul Eggert  <eggert@cs.ucla.edu>
-
-       * m4/getlogin_r.m4: New files.
-
-2005-05-25  Derek Price  <derek@ximbiot.com>
-           Paul Eggert  <eggert@cs.ucla.edu>
-
+       * modules/getlogin_r, m4/getlogin_r.m4: New files.
        * lib/getlogin_r.c, getlogin_r.h: New files.
 
 2005-05-25  Bruno Haible  <bruno@clisp.org>
 
 2005-05-17  Jim Meyering  <jim@meyering.net>
 
-       * lib/fts.c, fts_.h: New files, from coreutils.
+       * lib/fts.c, lib/fts_.h: New files, from coreutils.
 
 2005-05-14  Paul Eggert  <eggert@cs.ucla.edu>
 
 2005-05-14  Paul Eggert  <eggert@cs.ucla.edu>
 
        Sync from coreutils.
-       * lib/unlinkdir.c, unlinkdir.h: New files.
+       * lib/unlinkdir.c, lib/unlinkdir.h: New files.
        * lib/gethrxtime.c, lib/gethrxtime.h, lib/getpass.h, lib/mountlist.h,
        lib/path-concat.c, lib/regex.h, lib/unlocked-io.h, lib/xtime.h:
        White space changes only.
 
 2005-02-25  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * m4/gethrxtime.m4, xnanosleep.m4: New files.
+       * m4/gethrxtime.m4, m4/xnanosleep.m4: New files.
        * m4/gettime.m4 (gl_GETTIME): Check for nanotime.
 
 2005-02-25  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * lib/gethrxtime.h, gethrxtime.c, xtime.h: New files.
+       * lib/gethrxtime.h, lib/gethrxtime.c, lib/xtime.h: New files.
        * lib/timespec.h (gettime): Return void, since it always
        succeeds now.  All uses changed.
        * lib/gettime.c (gettime) Likewise.
 
 2005-02-22  Simon Josefsson  <jas@extundo.com>
 
-       * lib/iconvme.h, iconvme.c: New files, from libc.
+       * lib/iconvme.h, lib/iconvme.c: New files, from libc.
 
 2005-02-22  Simon Josefsson  <jas@extundo.com>
 
 2005-01-18  Jim Meyering  <jim@meyering.net>
 
        Merge from coreutils.
-       * m4/chdir-long.m4, openat.m4: New files.
+       * m4/chdir-long.m4, m4/openat.m4: New files.
        * m4/save-cwd.m4 (gl_SAVE_CWD): Add AC_LIBSOURCES for save-cwd.c,
        save-cwd.h.  Add AC_LIBOBJ for save-cwd.
        * m4/chown.m4 (gl_FUNC_CHOWN): When cross-compiling, assume that chown
 
 2004-11-10  Simon Josefsson  <jas@extundo.com>
 
-       * lib/getaddrinfo.h, getaddrinfo.c: New files.
+       * lib/getaddrinfo.h, lib/getaddrinfo.c: New files.
 
 2004-11-10  Simon Josefsson  <jas@extundo.com>
 
 
 2004-09-30  Simon Josefsson  <jas@extundo.com>
 
-       * lib/snprintf.h, snprintf.c: New files.
+       * lib/snprintf.h, lib/snprintf.c: New files.
 
 2004-09-30  Sergey Poznyakoff  <gray@Mirddin.farlep.net>
 
 
 2004-08-09  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * m4/uint32_t.m4, uintptr_t.m4: New files.
+       * m4/uint32_t.m4, m4/uintptr_t.m4: New files.
        * m4/sha1.m4: Renamed from sha.m4.
        (gl_SHA1): Renamed from gl_SHA.  All uses changed.
 
 
 2004-08-08  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * lib/xalloc-die.c: New files.
+       * lib/xalloc-die.c: New file.
        * lib/xalloc.h (xalloc_fail_func, xalloc_msg_memory_exhausted): Remove.
        All uses removed.
        * lib/xmalloc.c (xalloc_fail_func, xalloc_msg_memory_exhausted):
 
        More merge from coreutils.
 
-       * m4/utimens.m4, utimecmp.m4: New files.
+       * m4/utimens.m4, m4/utimecmp.m4: New files.
        * m4/backupfile.m4, euidacces.m4, acl.m4, afs.m4, calloc.m4, dirfd.m4,
        fsusage.m4, jm-macros.m4, ls-mntd-fs.m4, md5.m4, mountlist.m4,
        prereq.m4, sha.m4: Import changes from coreutils.
 2004-08-06  Paul Eggert  <eggert@cs.ucla.edu>
 
        More merge from coreutils.
-       * modules/raise, modules/readtokens0, modules/utimens,
-       modules/utimecmp, module/xnanosleep: New files.
+       * modules/raise, modules/readtokens0, modules/utimens:
+       modules/utimecmp, module/xnanosleep: New files.
        * modules/strftime: Add lib/strftime.h.
        Change include from <time.h> to "strftime.h".
        * modules/yesno: Add lib/yesno.h.
        we don't compile these functions for tar.
 
        More merges from coreutils.
-       * lib/raise.c, lib/readtokens0.h, lib/readtokens0.c, lib/strftime.h,
-       lib/utimens.h, lib/utimens.c, lib/utimecmp.h, lib/utimecmp.c,
-       lib/xnanosleep.h, lib/xnanosleep.c, lib/yesno.h: New files.
+       * lib/raise.c, lib/readtokens0.h, lib/readtokens0.c, lib/strftime.h:
+       * lib/utimens.h, lib/utimens.c, lib/utimecmp.h, lib/utimecmp.c:
+       lib/xnanosleep.h, lib/xnanosleep.c, lib/yesno.h: New files.
        * lib/addext.c: Remove; no longer needed.
        * lib/yesno.c, lib/argmatch.h, lib/argmatch.c, lib/backupfile.h,
        lib/backupfile.c, lib/euidaccess.c, lib/filemode.c, lib/closeout.c,
 
        Merge from coreutils.
 
-       * m4/c-strtod.m4, canonicalize.m4, fcntl-safer.m4, getcwd-path-max.m4:
-       New files.
+       * m4/c-strtod.m4, m4/canonicalize.m4, m4/fcntl-safer.m4:
+       * m4/getcwd-path-max.m4: New files.
 
        * m4/dos.m4 (gl_AC_DOS): filesystem -> file system renaming.
        FILESYSTEM_PREFIX_LEN ->
 
        * lib/.gdb-history: Remove; this doesn't belong here.
 
-       * lib/c-strtod.c, c-strtod.h, c-strtold.c, cycle-check.c,
-       cycle-check.h, dev-ino.h, canonicalize.h, canonicalize.c,
-       fcntl-safer.h, fcntl-safer.c, getcwd.c: New files.
+       * lib/c-strtod.c, lib/c-strtod.h, lib/c-strtold.c, lib/cycle-check.c:
+       * lib/cycle-check.h, lib/dev-ino.h, lib/canonicalize.h:
+       * lib/canonicalize.c, lib/fcntl-safer.h, lib/fcntl-safer.c:
+       * lib/getcwd.c: New files.
 
        * lib/dirname.h: Include <stdbool.h>.
        (FILE_SYSTEM_PREFIX_LEN): Renamed from FILESYSTEM_PREFIX_LEN,
 2004-08-05  Paul Eggert  <eggert@cs.ucla.edu>
 
        Merge from coreutils.
-       * modules/c-strtod, modules/c-strtold, modules/canonicalize,
-       modules/cycle-check, modules/fcntl-safer, modules/getcwd: New files.
+       * modules/c-strtod, modules/c-strtold, modules/canonicalize:
+       modules/cycle-check, modules/fcntl-safer, modules/getcwd: New files.
        * modules/path-concat: Don't depend on strdup.
 
 2004-08-03  Simon Josefsson  <jas@extundo.com>
 
 2004-06-22  Paul Eggert  <eggert@cs.ucla.edu>
 
-       * lib/argz.c, argz_.h: New files, which are autoupdated from libtool.
+       * lib/argz.c, lib/argz_.h: New files, which are autoupdated from
+       libtool.
 
 2004-06-22  Paul Eggert  <eggert@cs.ucla.edu>
 
 
        Merge from coreutils.
 
-       * lib/imaxtostr.c, inttostr.c, inttostr.h, offtostr.c, umaxtostr.c:
-       New files.
+       * lib/imaxtostr.c, lib/inttostr.c, lib/inttostr.h, lib/offtostr.c:
+       * lib/umaxtostr.c: New files.
 
        * lib/getdate.h: Include stdbool.h, and timespec.h instead of
        the usual <time.h> dance.
        Include cloexec.h and xalloc.h.
        (getloadavg): Restore LC_NUMERIC locale after setting it temporarily.
        Use set_cloexec_flag rather than rolling our own.
-       * lib/cloexec.c, cloexec.h: New files.
+       * lib/cloexec.c, lib/cloexec.h: New files.
 
 2004-03-29  Paul Eggert  <eggert@twinsun.com>
 
 
 2004-02-23  Karl Berry  <karl@gnu.org>
 
-       * doc/maintain.texi, standards.texi, make-stds.texi: new files
+       * doc/maintain.texi, doc/standards.texi, doc/make-stds.texi: new files
        (from fencepost.gnu.org:/gd/gnuorg).
 
 2004-02-23  Karl Berry  <karl@gnu.org>
 
 2004-01-18  Karl Berry  <karl@gnu.org>
 
-       * doc/gpl.texi, lgpl.texi: new files.
+       * doc/gpl.texi, doc/lgpl.texi: new files.
 
 2004-01-18  Karl Berry  <karl@gnu.org>
 
 
 2003-09-06  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/time_r.c, time_r.h: New files.
+       * lib/time_r.c, lib/time_r.h: New files.
 
        * lib/mktime.c (my_mktime_localtime_r): Remove; all uses changed to
        __localtime_r.
 
 2002-06-22  Jim Meyering  <meyering@lucent.com>
 
-       * lib/c-stack.c, c-stack.h: New files, from diffutils-2.8.2.
+       * lib/c-stack.c, lib/c-stack.h: New files, from diffutils-2.8.2.
 
        * lib/exitfail.c, exitfail.h: Likewise.
        * lib/Makefile.am (libfetish_a_SOURCES): Add exitfail.c and exitfail.h.
 
 2002-04-28  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/sig2str.h, sig2str.c: New files.
+       * lib/sig2str.h, lib/sig2str.c: New files.
        * lib/Makefile.am (libfetish_a_SOURCES): Add sig2str.h.
 
 2002-04-28  Paul Eggert  <eggert@twinsun.com>
 
 2002-02-25  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/acl.c, acl.h: New files.
+       * lib/acl.c, lib/acl.h: New files.
        * lib/Makefile.am (libfetish_a_SOURCES): Add acl.h, acl.c.
 
 2002-02-24  Jim Meyering  <meyering@lucent.com>
 
 2002-02-15  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/posixver.c, posixver.h: New files.
+       * lib/posixver.c, lib/posixver.h: New files.
        * lib/Makefile.am (libfetish_a_SOURCES): Add them.
 
 2002-02-02  Paul Eggert  <eggert@twinsun.com>
 
 2002-01-21  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/xmemcoll.h, xmemcoll.c: New files.
+       * lib/xmemcoll.h, lib/xmemcoll.c: New files.
        * lib/Makefile.am (libfetish_a_SOURCES): Add them.
        * lib/memcoll.c: Include errno.h, and declare errno if not defined.
        (memcoll): Set errno to zero if there is no error.
 
 2001-11-01  Jim Meyering  <meyering@lucent.com>
 
-       * lib/dirfd.c, dirfd.h: New files.
+       * lib/dirfd.c, lib/dirfd.h: New files.
        * lib/Makefile.am (libfetish_a_SOURCES): Add dirfd.h.
 
        * lib/hash.c (hash_print) [TESTING]: Clean up.
        Add dup-safer.c, fopen-safer.c.
        (noinst_HEADERS): Add stdio-safer.h, unistd-safer.h.
 
-       * lib/dup-safer.c, lib/fopen-safer.c, lib/stdio-safer.h,
-       lib/unistd-safer.h: New files.
+       * lib/dup-safer.c, lib/fopen-safer.c, lib/stdio-safer.h:
+       lib/unistd-safer.h: New files.
 
 2001-02-25  Paul Eggert  <eggert@twinsun.com>
 
 
        * lib/mkstemp.c (__GT_FILE): Define to zero if not defined.
 
-       * lib/mkstemp.c, tempname.c: New files, taken from glibc 2.2.2.
+       * lib/mkstemp.c, lib/tempname.c: New files, taken from glibc 2.2.2.
 
 2001-02-18  Paul Eggert  <eggert@twinsun.com>
 
 
 2000-12-18  Paul Eggert  <eggert@twinsun.com>
 
-       * lib/physmem.h, physmem.c: New files.
+       * lib/physmem.h, lib/physmem.c: New files.
 
        * lib/Makefile.am (libfetish_a_SOURCES): Add physmem.c.
        (noinst_HEADERS): Add physmem.h.
 
        * lib/config.charset: Output a line containing "Packages using this
        file".
-       * lib/ref-add.sed.in, ref-del.sed.in: New files.
+       * lib/ref-add.sed.in, lib/ref-del.sed.in: New files.
        * lib/Makefile.am (install-exec-local, uninstall-local, ref-add.sed,
        ref-del.sed): New rules.
 
 
        * lib/config.charset: New file.
        * lib/localcharset.c: New file.
-       * lib/unicodeio.h, unicodeio.c: New files.
+       * lib/unicodeio.h, lib/unicodeio.c: New files.
        * lib/Makefile.am (DEFS): Add -DLIBDIR=...
        (libfetish_a_SOURCES): Add localcharset.c and unicodeio.c.
        (noinst_HEADERS): Add unicodeio.h.