+2006-08-14 Paul Eggert <eggert@cs.ucla.edu>
+
+ * TODO: Remove; this belongs only in coreutils.
+
+2006-08-14 Eric Blake <ebb9@byu.net>
+
+ Import the following change from libc:
+
+ 2006-08-12 Ulrich Drepper <drepper@redhat.com>
+
+ Upstream bug 2997.
+ * misc/error.c: Add space between program name and message if file
+ name is missing.
+
+2006-08-11 Paul Eggert <eggert@cs.ucla.edu>
+
+ * pipe-safer.c (pipe_safer): Fix misspelling: HAVE_FUNC_PIPE ->
+ HAVE_PIPE. Fix a file descriptor leak when fd_safer fails.
+
+ * regex_internal.c (re_string_skip_chars): Don't assume WEOF fits
+ in wchar_t. Problem reported by Eric Blake.
+
+ * snprintf.c (snprintf): memcpy LEN bytes, not SIZE - 1, when
+ LEN is smaller than SIZE. Suggested by Bruno Haible.
+ Also, help the compiler to keep LEN in a register.
+
+2006-08-10 Paul Eggert <eggert@cs.ucla.edu>
+
+ * .cppi-disable: Add snprintf.h, socket_.h.
+ * snprintf.c: Include <errno.h> and <limits.h>.
+ (EOVERFLOW): Define if the system does not.
+ Do not include "minmax.h"; it wasn't used.
+ (snprintf): Don't assume size_t promotes to an unsigned type.
+ Fix bug when generated string was too long for the buffer: the
+ buffer's contents are supposed to be the initial prefix of the
+ output. Don't assume vasnprintf returns EOVERFLOW if the size
+ exceeds INT_MAX; do the check ourselves.
+
+ Import the following changes from libc:
+
+ 2006-06-02 Jakub Jelinek <jakub@redhat.com>
+
+ * posix/regex_internal.c (re_string_skip_chars): If no character has
+ been converted at all, set *last_wc to WEOF. If mbrtowc failed, set wc
+ to the byte which couldn't be converted.
+ (re_string_reconstruct): Don't clear valid_raw_len before calling
+ re_string_skip_chars. If wc is WEOF after re_string_skip_chars, set
+ tip_context using re_string_context_at.
+
+ 2006-05-02 Ulrich Drepper <drepper@redhat.com>
+
+ * posix/regex.h: g++ still cannot handled [restrict].
+
+ 2006-04-21 Ulrich Drepper <drepper@redhat.com>
+
+ * posix/regex.h: Remove special handling for VMS.
+
+2006-08-09 Paul Eggert <eggert@cs.ucla.edu>
+
+ Sync from coreutils.
+
+ 2006-07-19 Mike Frysinger <vapier@gentoo.org>
+
+ * lib/mountlist.c [ME_REMOTE]: Filter out cifs.
+ Reported by Toralf Förster in <http://bugs.gentoo.org/141012>.
+
+2006-08-08 Eric Blake <ebb9@byu.net>
+
+ * verror.c (verror_at_line): Work around glibc bug 2997, so that
+ verror_at_line output complies with GNU Coding Standards even when
+ file is NULL.
+
+2006-08-08 Eric Blake <ebb9@byu.net>
+
+ * verror.h, verror.c: New files.
+
+2006-08-07 Bruno Haible <bruno@clisp.org>
+
+ * allocsa.h (sa_alignof) [_AIX]: Also consider 'long long' in newer
+ versions of AIX.
+ Reported by Ralf Wildenhues.
+
+2006-08-06 Eric Blake <ebb9@byu.net>
+
+ * error.h: Fold in some upstream changes from glibc.
+ * error.c: Likewise.
+
+2006-07-29 Bruno Haible <bruno@clisp.org>
+
+ * localcharset.c: Assume <stddef.h>, <stdlib.h>, <string.h> exist.
+
+2006-07-29 Bruno Haible <bruno@clisp.org>
+
+ * setenv.c: Undo unintended modification done on 2006-02-27.
+
+2006-07-28 Eric Blake <ebb9@byu.net>
+
+ * regex_internal.h (struct re_dfa_t) [!_LIBC]: Avoid invalid C89
+ macro expansion.
+
+2006-07-28 Simon Josefsson <jas@extundo.com>
+
+ * inet_ntop.h, inet_pton.h: No need to guard netinet/in.h
+ #include's.
+
+2006-07-28 Simon Josefsson <jas@extundo.com>
+
+ * inet_ntop.h, inet_pton.h: No need to guard arpa/inet.h
+ #include's.
+
+2006-07-28 Bruno Haible <bruno@clisp.org>
+
+ * inet_ntop.h, inet_pton.h: Use #if HAVE* instead of #ifdef HAVE*.
+
+2006-07-28 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+
+ * inet_ntop.h, inet_pton.h: Need to include netinet/in.h before
+ arpa/inet.h.
+
+2006-07-28 Bruno Haible <bruno@clisp.org>
+
+ * mbchar.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph,
+ iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit): Define
+ fallbacks.
+ Avoids link error on FreeBSD 4.x.
+ Reported by Yoann Vandoorselaere <yoann.v@prelude-ids.com>.
+
+ * wcwidth.h (iswprint): Assume an ASCII compatible wide character
+ encoding.
+ * mbswidth.c (iswcntrl): Likewise.
+
+2006-07-28 Paul Eggert <eggert@cs.ucla.edu>
+
+ * modechange.c (mode_compile): Numeric modes now affect setuid and
+ setgid on directories only if they set these bits.
+ * modechange.h: Remove obsolete comment about masks.
+
+2006-07-27 Bruno Haible <bruno@clisp.org>
+
+ * stdint_.h (INT*_C, UINT*_C) [C++]: Define these if
+ __STDC_CONSTANT_MACROS is defined, not if __STDC_LIMIT_MACROS is
+ defined.
+
+2006-07-26 Eric Blake <ebb9@byu.net>
+
+ * mkstemp-safer.c [! HAVE_MKSTEMP]: Add prototype for platforms
+ like mingw that lack mkstemp.
+ * pipe-safer.c (pipe_safer) [!HAVE_FUNC_PIPE]: Provide fallback to
+ avoid compilation warning on mingw.
+
+2006-07-25 Bruno Haible <bruno@clisp.org>
+
+ * version-etc.c (version_etc_va): Use va_copy, assumed to be defined in
+ <stdarg.h> or config.h.
+
+2006-07-24 Bruno Haible <bruno@clisp.org>
+
+ * clean-temp.h: New file, from GNU gettext.
+ * clean-temp.c: New file, from GNU gettext.
+
+2006-07-24 Bruno Haible <bruno@clisp.org>
+
+ * tmpdir.h: New file, from GNU gettext.
+ * tmpdir.c: New file, from GNU gettext.
+
+2006-07-23 Bruno Haible <bruno@clisp.org>
+
+ * gl_anylinked_list2.h (ASYNCSAFE): New macro.
+ (gl_linked_add_first, gl_linked_add_last, gl_linked_add_before,
+ gl_linked_add_after, gl_linked_add_at, gl_linked_remove_node,
+ gl_linked_remove_at): Use it.
+
+2006-07-23 Eric Blake <ebb9@byu.net>
+
+ * tmpfile-safer.c: New file.
+ * stdio-safer.h (fopen_safer): Add prototype.
+ * stdio--.h (tmpfile): Make safer.
+
+2006-07-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ * close-stream.c, close-stream.h: New files.
+
+2006-07-22 Bruno Haible <bruno@clisp.org>
+
+ Merge from GNU gettext 0.15.
+
+ 2005-07-05 Bruno Haible <bruno@clisp.org>
+
+ * printf-args.c (printf_fetchargs): Work around broken
+ definition of wint_t on mingw.
+
+ 2005-02-12 Bruno Haible <bruno@clisp.org>
+
+ * xallocsa.h: Add extern "C" for C++.
+
+ 2006-05-17 Bruno Haible <bruno@clisp.org>
+
+ Cygwin portability.
+ * progreloc.c (WIN32_NATIVE): Renamed from WIN32.
+
+ 2006-04-30 Bruno Haible <bruno@clisp.org>
+
+ * progreloc.c: Include <mach-o/dyld.h> if available.
+ (find_executable): Use _NSGetExecutablePath when possible.
+
+ 2006-05-06 Charles Wilson <cygwin@cwilson.fastmail.fm>
+
+ * progreloc.c (maybe_executable) [CYGWIN]: Use the access()
+ function.
+
+ 2005-12-29 Bruno Haible <bruno@clisp.org>
+
+ * progreloc.c (set_program_name_and_installdir): Fix
+ compilation error.
+
+ 2005-12-04 Bruno Haible <bruno@clisp.org>
+
+ Cygwin portability.
+ * progreloc.c: Include <windows.h> also on Cygwin.
+ (find_executable): Add support for Cygwin.
+ (set_program_name_and_installdir): Handle also platforms with
+ nonempty EXEEXT.
+
+ 2006-07-11 Bruno Haible <bruno@clisp.org>
+
+ * javacomp.c: Fix a comment.
+ Reported by Jim Meyering.
+
+ 2006-04-30 Bruno Haible <bruno@clisp.org>
+
+ * javacomp.h (compile_java_class): Add source_version,
+ target_version arguments.
+ * javacomp.c: Rewritten to choose only a compiler that
+ respects the specified source_version and target_version.
+
+ 2006-06-27 Bruno Haible <bruno@clisp.org>
+
+ Assume correct S_ISDIR macro.
+ * mkdtemp.c: Remove test of STAT_MACROS_BROKEN.
+
+ 2006-07-22 Bruno Haible <bruno@clisp.org>
+
+ * javaversion.h: New file, from GNU gettext.
+ * javaversion.c: New file, from GNU gettext.
+ * javaversion.java: New file, from GNU gettext.
+ * javaversion.class: New file, from GNU gettext.
+
+ 2006-05-17 Bruno Haible <bruno@clisp.org>
+
+ Cygwin portability.
+ * javaexec.c (execute_java_class): Test for jview program
+ also on Cygwin.
+
+ 2006-04-09 Bruno Haible <bruno@clisp.org>
+
+ * fatal-signal.c: Don't include string.h.
+ (at_fatal_signal): Use a copying loop instead of memcpy.
+
+ 2005-12-04 Bruno Haible <bruno@clisp.org>
+
+ * csharpexec.c: Add support for 'clix' launcher (untested).
+ (execute_csharp_using_sscli): New function.
+ (execute_csharp_program): Call it.
+
+ 2006-06-21 Bruno Haible <bruno@clisp.org>
+
+ Avoid warnings from recent versions of mcs.
+ * csharpcomp.c (compile_csharp_using_mono): Don't use options
+ -o, -L, -r any more. Use options documented since mcs-1.0
+ instead. Similarly for -g.
+
+ 2005-07-09 Bruno Haible <bruno@clisp.org>
+
+ * csharpcomp.c (compile_csharp_using_sscli): For -l option,
+ add a .dll suffix.
+ Reported by Mark Junker <mjscod@gmx.de>.
+
+ 2006-06-17 Bruno Haible <bruno@clisp.org>
+
+ * config.charset: Update for NetBSD 3.0.
+
+ 2006-05-17 Bruno Haible <bruno@clisp.org>
+
+ Cygwin portability.
+ * localcharset.c (WIN32_NATIVE): Renamed from WIN32.
+
+ 2006-05-16 Bruno Haible <bruno@clisp.org>
+
+ * localcharset.c [CYGWIN]: Include <windows.h>.
+ (get_charset_aliases): For Cygwin, return the same CPxxx
+ aliases list as under WIN32.
+ (locale_charset) [CYGWIN]: Try to retrieve the encoding from
+ the environment variables. Fall back to GetACP().
+
+ 2006-04-05 Bruno Haible <bruno@clisp.org>
+
+ * config.charset: Update Juan Manuel Guerrero's address.
+
+ 2005-02-12 Bruno Haible <bruno@clisp.org>
+
+ * allocsa.h: Add extern "C" for C++.
+
+ 2005-02-10 Bruno Haible <bruno@clisp.org>
+
+ * allocsa.h (sa_alignof): Define differently with AIX xlc, to
+ avoid a bug of this compiler on AIX 3.2.5 dealing with enums.
+
+ 2006-07-22 Bruno Haible <bruno@clisp.org>
+
+ * gettext.h: Update to GNU gettext-0.15.
+
+2006-07-22 Yoann Vandoorselaere <yoann.v@prelude-ids.com>
+ and Simon Josefsson <jas@extundo.com>
+
+ * getaddrinfo.h (AI_PASSIVE): Make sure it is defined.
+
+ * getaddrinfo.c (getaddrinfo): Support AI_PASSIVE.
+
+2006-07-21 Eric Blake <ebb9@byu.net>
+
+ * stdlib-safer.h: New file from coreutils, required by
+ stdlib--.h.
+
+2006-07-19 Derek R. Price <derek@ximbiot.com>
+
+ * getaddrinfo.h: Don't define unimplemented AI_* flags.
+ Reindent and repaginate.
+
+2006-07-17 Bruno Haible <bruno@clisp.org>
+
+ * gl_list.h: New file.
+ * gl_list.c: New file.
+ * gl_array_list.h: New file.
+ * gl_array_list.c: New file.
+ * gl_carray_list.h: New file.
+ * gl_carray_list.c: New file.
+ * gl_linked_list.h: New file.
+ * gl_linked_list.c: New file.
+ * gl_anylinked_list1.h: New file.
+ * gl_anylinked_list2.h: New file.
+ * gl_avltree_list.h: New file.
+ * gl_avltree_list.c: New file.
+ * gl_anyavltree_list1.h: New file.
+ * gl_anyavltree_list2.h: New file.
+ * gl_rbtree_list.h: New file.
+ * gl_rbtree_list.c: New file.
+ * gl_anyrbtree_list1.h: New file.
+ * gl_anyrbtree_list2.h: New file.
+ * gl_anytree_list1.h: New file.
+ * gl_anytree_list2.h: New file.
+ * gl_linkedhash_list.h: New file.
+ * gl_linkedhash_list.c: New file.
+ * gl_anyhash_list1.h: New file.
+ * gl_anyhash_list2.h: New file.
+ * gl_avltreehash_list.h: New file.
+ * gl_avltreehash_list.c: New file.
+ * gl_rbtreehash_list.h: New file.
+ * gl_rbtreehash_list.c: New file.
+ * gl_anytreehash_list1.h: New file.
+ * gl_anytreehash_list2.h: New file.
+
+ * gl_oset.h: New file.
+ * gl_oset.c: New file.
+ * gl_array_oset.h: New file.
+ * gl_array_oset.c: New file.
+ * gl_avltree_oset.h: New file.
+ * gl_avltree_oset.c: New file.
+ * gl_rbtree_oset.h: New file.
+ * gl_rbtree_oset.c: New file.
+ * gl_anytree_oset.h: New file.
+
+2006-07-16 Paul Eggert <eggert@cs.ucla.edu>
+
+ * dirchownmod.c, dirchownmod.h, mkancesdirs.c, mkancesdirs.h:
+ New files.
+ * 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.
+ (make_dir_parents): New args MAKE_ANCESTOR, OPTIONS, ANNOUNCE,
+ MODE_BITS. Remove options VERBOSE_FMT_STRING, CWD_ERRNO. All
+ callers changed. Revamp internals significantly, by not
+ attempting to create directories that are temporarily more
+ permissive than the final results. Do not attempt to use
+ save_cwd/restore_cwd; it isn't worth it for mkdir and install.
+ This removes some race conditions, fixes some bugs, and simplifies
+ things. Use new dirchownmod function to do owner and mode changes.
+ * mkdir-p.h: Likewise.
+ * modechange.c (octal_to_mode): New function.
+ (struct mode_change): New member mentioned.
+ (make_node_op_equals): New arg mentioned. All callers changed.
+ (mode_compile): Keep track of which mode bits the user has explicitly
+ mentioned.
+ (mode_adjust): New arg DIR, so that we implement the X op correctly.
+ New arg PMODE_BITS, to keep track of which mode bits the user
+ mentioned; it treats S_ISUID and S_ISGID speciall.
+ All callers changed.
+ * modechange.h: Likewise.
+
+2006-07-11 Derek R. Price <derek@ximbiot.com>
+
+ * glob.c: s/NAMLEN/_D_EXACT_NAMLEN/.
+
+2006-07-10 Derek R. Price <derek@ximbiot.com>
+
+ * backupfile.c, dirfd.h, fts.c, getcwd.c, glob.c, glob_.h:
+ Ignore the obsolescent !HAVE_DIRENT_H case. Consolidate NAMLEN
+ macros into the GNU _D_EXACT_NAMLEN.
+ * savedir.c: Likewise.
+ (savedirstream): Use _D_EXACT_NAMLEN in preference to strlen.
+
+2006-07-09 Jim Meyering <jim@meyering.net>
+
+ * argp-pv.c: Remove a doubled word in a comment.
+ * check-version.c (check_version): Likewise.
+ * javacomp.c (compile_java_class): Likewise.
+
+2006-07-08 Jim Meyering <jim@meyering.net>
+
+ * getndelim2.h (getndelim2): Remove doubled "after" in comment.
+
+2006-07-06 Jim Hyslop <jhyslop@dreampossible.ca> (tiny change)
+
+ * lib/getaddrinfo.c: Changes to compile under MSVC6: changed
+ '#if WIN32_NATIVE' to '#ifdef' & moved WSAAPI macro inside
+ brackets. Other minor changes to suppress some compiler
+ warnings.
+
+2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ * getloadavg.c: Use __VMS, not VMS.
+ * getopt.c: Likewise.
+ * getpagesize.h: Likewise.
+ * glob.c: Remove most VMS cruft; it hasn't been tested for a while and
+ probably does not work.
+
+2006-07-06 Derek R. Price <derek@ximbiot.com>
+ and Paul Eggert <eggert@cs.ucla.edu>
+
+ * backupfile.c [HAVE_DIRENT_H && ! HAVE_NDIR_H]:
+ Don't worry about this obsolete case any more.
+ (HAVE_DIR): Remove. All uses removed; we now assume you can read
+ directories.
+ * dirfd.h [HAVE_DIRENT_H && ! HAVE_NDIR_H]: Don't
+ worry about this obsolete case any more.
+ * fts.c: Likewise.
+ * getcwd.c: Likewise.
+ * glob.h: Likewise.
+ * savedir.c: Likewise.
+
+2006-07-06 Paul Eggert <eggert@cs.ucla.edu>
+
+ * .cppi-disable: Add wcwidth.
+ * fnmatch.c (ISBLANK): Remove. All uses changed to isblank.
+ (isblank) [! (defined isblank || HAVE_DECL_ISBLANK)]: New macro.
+ (ISGRAPH): Remove. All uses changed to isgraph.
+ (FOLD) [!defined _LIBC]: Remove special case.
+ * getdate.y (lookup_word): Remove no-longer-needed call to islower.
+ * regex_internal.h (isblank): Depend on HAVE_DECL_ISBLANK, not
+ HAVE_ISBLANK.
+ * strftime.c (TOLOWER, TOUPPER) [!defined _LIBC]: Remove special case.
+
+2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * strtod.c (strtod): cast the argument of tolower to unsigned char.
+
+2006-07-05 Paul Eggert <eggert@cs.ucla.edu>
+
+ * memcasecmp.c: Include <limits.h>.
+ (memcasecmp): Don't assume UCHAR_MAX <= INT_MAX.
+ * strtod.c (strtod): Don't assume isspace works on negative chars.
+ Don't assume isdigit succeeds only on '0' through '9'.
+
+2006-07-05 Derek R. Price <derek@ximbiot.com>
+
+ * exclude.c (IN_CTYPE_DOMAIN, is_space): Remove; no longer needed.
+ All uses of is_space replaced by isspace.
+ * exit.h: Don't talk about STDC_HEADERS.
+ * fnmatch.c (ISASCII): Remove; no longer needed. All uses removed.
+ (ISPRINT, ISDIGIT, ISALNUM, ISALPHA, ISCNTRL, ISLOWER, ISPUNCT):
+ (ISSPACE, ISUPPER, ISXDIGIT): Remove; no longer needed. All uses
+ replaced by isprint etc.
+ * getdate.y (IN_CTYPE_DOMAIN, ISSPACE, ISALPHA, ISLOWER): Likewise.
+ * getusershell.c (IN_CTYPE_DOMAIN, ISSPACE): Likewise.
+ * memcasecmp.c (IN_CTYPE_DOMAIN, ISLOWER, TOUPPER): Likewise.
+ * strtod.c (IN_CTYPE_DOMAIN, ISSPACE, ISDIGIT, TOLOWER): Likewise.
+ * strtol.c (IN_CTYPE_DOMAIN): Likewise.
+ * xstrtol.c (IN_CTYPE_DOMAIN, ISSPACE): Likewise.
+
+2006-07-05 Eric Blake <ebb9@byu.net>
+
+ * getaddrinfo.h (NI_NUMERICHOST, NI_NUMERICSERV): Define if
+ missing from netdb.h.
+ * getaddrinfo.c (includes): Include inet_ntop and snprintf.
+
+2006-06-27 Bruno Haible <bruno@clisp.org>
+
+ Assume ANSI C header files and <ctype.h> functions.
+ * mbswidth.c (IN_CTYPE_DOMAIN, ISPRINT, ISCNTRL): Remove macros.
+ (mbsnwidth): Use isprint, iscntrl instead.
+
+2006-07-03 Jim Meyering <jim@meyering.net>
+
+ * cycle-check.h (CYCLE_CHECK_REFLECT_CHDIR_UP): Abort if this
+ macro is used before the first cycle_check call.
+
+2006-07-03 Paul Eggert <eggert@cs.ucla.edu>
+
+ * stdint_.h: Include <sys/types.h> after @FULL_PATH_STDINT_H@, for
+ MacOS X 10.4.6. Don't mention <sys/int_types.h>. Problems
+ reported by Mark D. Baushke, one in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00015.html>.
+
+ Merge from coreutils.
+
+ * .cppi-disable: Add stdint_.h.
+ * .cvsignore: Add stdint.h.
+
+ 2006-06-30 Paul Eggert <eggert@cs.ucla.edu>
+
+ * xstrtod.c (XSTRTOD, DOUBLE): New macros, so that we can support
+ both double and long double versions.
+ (XSTRTOD): Renamed from xstrtod. Use DOUBLE internally.
+ * xstrtold.c: New file.
+ * xstrtod.h (xstrtold): New decl.
+
+ 2006-05-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ * filemode.c (setst): Remove.
+ (strmode): Rewrite to avoid setst. This makes the code shorter,
+ (arguably) clearer, and the generated code is a bit smaller on my
+ Debian GNU/Linux stable x86 host.
+
+ 2006-04-17 Paul Eggert <eggert@cs.ucla.edu>
+
+ * filemode.c: Include "filemode.h" first, to test the interface.
+ Assume that filemode.h includes sys/types.h and sys/stat.h.
+ (HAVE_ST_DM_MODE): New macro, moved here from ls.c.
+ (ftypelet): Reorder to put common cases first, for efficiency.
+ Add 'P', 'w'. Remove 'M', since it's now the caller's responsibility
+ to do 'M'.
+ (strmode): Renamed from mode_string, and now stores 12 bytes instead
+ of 10, for compatibility with FreeBSD. All callers changed.
+ (filemodestring): Now stores 12 bytes instead of 10, and sets file types
+ that can't be deduced solely from st_mode. First arg is now a const
+ pointer.
+ * filemode.h (HAVE_DECL_STRMODE): Include <string.h> for strmode.
+ (strmode): Renamed from mode_string.
+ (filemodestring): New decl.
+ * stat-macros.h: Don't undef S_ISDOOR, since it's never buggy.
+ (S_ISDOOR): Don't bother with S_IFDOOR, since that code is never needed.
+ (S_ISPORT, S_ISWHT): New macros, if not already defined.
+
+ 2006-04-12 Paul Eggert <eggert@cs.ucla.edu>
+
+ * fsusage.c: Don't include <inttypes.h> or <stdint.h>, since
+ fsusage.h now does that. Include fsusage.h first, to test interface.
+ Prefer statvfs if it works, since it's blessed by POSIX. Attempt
+ at most one method (the old code could have generated decls that
+ didn't conform to C89, not that this was ever exercised).
+ * fsusage.h: Include <inttypes.h> and <stdint.h> if they exist.
+
+ 2006-03-19 Jim Meyering <jim@meyering.net>
+
+ Work even in a chroot where d_ino values for entries in "/"
+ don't match the stat.st_ino values for the same names.
+ * getcwd.c (__getcwd): When no d_ino value matches the target inode
+ number, iterate through all entries again, using lstat instead.
+ Reported by Kenshi Muto in http://bugs.debian.org/355810, and by
+ Zouhir Hafidi in https://bugzilla.redhat.com/bugzilla/190656.
+
+ * getcwd.c (__getcwd): Clarify a comment.
+ Use memcpy in place of a call to strcpy.
+
+ 2006-03-12 Jim Meyering <jim@meyering.net>
+
+ * fts-cycle.c (leave_dir): If cycle-check's saved dev-ino pair matches
+ that of the current directory (which we're about to chdir ".." out of),
+ then save the dev-ino of the parent, instead.
+
+ * same-inode.h (SAME_INODE): New file/macro.
+ * chdir-safer.c (SAME_INODE): Remove definition.
+ Include "same-inode.h", instead.
+ * same.c: Likewise.
+ * cycle-check.h: Include "same-inode.h".
+ (CYCLE_CHECK_REFLECT_CHDIR_UP): Define.
+ * cycle-check.c (SAME_INODE): Remove definition.
+ * root-dev-ino.h: Include "same-inode.h".
+
+ 2006-03-11 Eric Blake <ebb9@byu.net>
+
+ * same.c (same_name): s/base_name/last_component/
+ * backupfile.c (check_extension, numbered_backup): Likewise.
+ * filenamecat.c (file_name_concat): Likewise.
+
+ 2006-03-11 Eric Blake <ebb9@byu.net>,
+ Paul Eggert <eggert@cs.ucla.edu>
+
+ * dirname.h (FILE_SYSTEM_PREFIX_LEN): Move here from dos.m4.
+ [FILE_SYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: Don't treat 1: as a
+ drive prefix.
+ (IS_ABSOLUTE_FILE_NAME): Treat all drive letters as absolute on
+ platforms like cygwin with FILE_SYSTEM_DRIVE_PREFIX_IS_ABSOLUTE.
+ (last_component): New method.
+ * dirname.c (dir_len): Determine when drive letters need a
+ subsequent slash. Preserve // when it is special.
+ (dir_name): Don't append dot when drive letter is absolute.
+ [TEST_DIRNAME]: Move into a full-blown gnulib test.
+ * basename.c (base_name): New semantics - malloc the result.
+ Preserve // when it is special. Preserve relative files that look
+ like drive letters.
+ (base_len): Preserve // when it is special.
+ (last_component): New method, similar to old base_name semantics.
+ * stripslash.c (strip_trailing_slashes): Use last_component, not
+ base_name. Strip redundant slashes from ///.
+
+2006-07-02 Paul Eggert <eggert@cs.ucla.edu>
+
+ * stdint_.h (intmax_t, uintmax_t): Prefer long to long long if
+ both are 64 bits, since this seems to be the tradition, and this
+ prevents gcc -Wformat from warning about usages with PRIuMAX. If
+ we ever run into a host that prefers long long to long in this
+ case, we'll need another configure-time test. Problem reported by
+ Jim Meyering.
+
+2006-07-01 Paul Eggert <eggert@cs.ucla.edu>
+
+ * stdint_.h (_GL_STDINT_H): Renamed from _STDINT_H, to avoid
+ possible collision with system files.
+ (<stdio.h>, <time.h>, <wchar.h>) [defined __cplusplus && ! defined
+ __STDC_CONSTANT_MACROS)]: Do not include, since we don't need
+ WCHAR_MIN and WCHAR_MAX in this case.
+ (<stddef.h>): Do not include; no longer needed.
+ (<sys/types.h>): Include if @HAVE_SYS_TYPES_H@, not if
+ (defined(__OpenBSD__) || defined(__bsdi__) || defined(__sgi)).
+ (<sys/inttypes.h>): Include if @HAVE_SYS_INTTYPES_H@ &&
+ !@HAVE_INTTYPES_H@, not if (defined(__FreeBSD__)
+ && (__FreeBSD__ >= 3) && (__FreeBSD__ <= 4)).
+ (__STDINT_H__) [@HAVE_STDINT_H@ && defined __sgi && ! defined
+ __c99]: Define, to work around IRIX <stdint.h> incompatibility.
+ (@FULL_PATH_STDINT_H@) [!(defined(__sgi) && @HAVE_INTTYPES_H@ &&
+ !defined(__c99))]: Include in this case too, since it's harmless
+ now.
+ (<inttypes.h>) [@HAVE_INTTYPES_H@]: Include, since it's no longer
+ dangerous to do so.
+ (@FULL_PATH_INTTYPES_H@) [(defined(__hpux) || defined(_AIX)) &&
+ @HAVE_INTTYPES_H@]: Do not include, since we now include <inttypes.h>.
+ (_STDINT_MIN, _STDINT_MAX): New macros.
+ (int8_t, uint8_t, int16_t, uint16_t, int32_t, uint32_t, int64_t):
+ (uint64_t, int_least8_t, uint_least8_t, int_least16_t):
+ (uint_least16_t, int_least32_t, uint_least32_t, int_least64_t):
+ (uint_least64_t, int_fast8_t, uint_fast8_t, int_fast16_t):
+ (uint_fast16_t, int_fast32_t, uint_fast32_t, int_fast64_t):
+ (uint_fast64_t, intptr_t, uintptr_t, intmax_t, uintmax_t): Now
+ macros, not typedefs; this simplifies things quite a bit.
+ Use long int for all types narrower than int64_t.
+ (intmax_t, uintmax_t, INTMAX_C, UINTMAX_C):
+ Define in terms of long long int or int64_t or long int,
+ not int64_t or int32_t. This saves some compile-time testing.
+ (INT8_MIN, INT8_MAX, UINT8_MAX, INT16_MIN, INT16_MAX, UINT16_MAX):
+ (INT32_MIN, INT32_MAX, UINT32_MAX, INT64_MIN, INT64_MAX):
+ (UINT64_MAX, INT_LEAST8_MIN, INT_LEAST8_MAX, UINT_LEAST8_MAX):
+ (INT_LEAST16_MIN, INT_LEAST16_MAX, UINT_LEAST16_MAX):
+ (INT_LEAST32_MIN, INT_LEAST32_MAX, UINT_LEAST32_MAX):
+ (INT_LEAST64_MIN, INT_LEAST64_MAX, UINT_LEAST64_MAX, INT_FAST8_MIN):
+ (INT_FAST8_MAX, UINT_FAST8_MAX, INT_FAST16_MIN, INT_FAST16_MAX):
+ (UINT_FAST16_MAX, INT_FAST32_MIN, INT_FAST32_MAX, UINT_FAST32_MAX):
+ (INT_FAST64_MIN, INT_FAST64_MAX, UINT_FAST64_MAX, INTPTR_MIN):
+ (INTPTR_MAX, UINTPTR_MAX, INTMAX_MIN, INTMAX_MAX, UINTMAX_MAX):
+ (PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX):
+ (SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX):
+ undef any previous version and define our own version, for
+ simplicity and consistency with the new macros for types.
+ (PTRDIFF_MIN, PTRDIFF_MAX, SIG_ATOMIC_MIN, SIG_ATOMIC_MAX):
+ (SIZE_MAX, WCHAR_MIN, WCHAR_MAX, WINT_MIN, WINT_MAX):
+ Simplify definitions by using _STDINT_MIN and _STDINT_MAX
+ where appropriate. Rely on new symbols @PTRDIFF_T_SUFFIX@,
+ @SIG_ATOMIC_T_SUFFIX@, @SIZE_T_SUFFIX@, @WCHAR_T_SUFFIX@,
+ @WINT_T_SUFFIX@ to keep things simple here.
+ (UINT8_C, UINT16_C, UINT32_C, INT64_C, UINT64_C):
+ Simplify by assuming typical 8/16/32/64 host, since we're
+ already doing that elsewhere anyway.
+ Use (LONG_MAX >> 31 >> 31 == 1) rather than @HAVE_LONG_64BIT@,
+ and assume long long int is 64 bits if available. This
+ speeds up 'configure'.
+
+2006-06-30 Jim Hyslop <jhyslop@dreampossible.ca> (tiny change)
+
+ * getaddrinfo.c: fixed typo
+
+2006-06-29 Eric Blake <ebb9@byu.net>
+
+ * stat_.h (rpl_mkdir): Declare inline, to avoid warnings about
+ unused static function.
+
+2006-06-29 Eric Blake <ebb9@byu.net>
+
+ * stat_.h: New file.
+
+2006-06-29 Derek R. Price <derek@ximbiot.com>
+
+ * strftime.c: Assume strftime() exists.
+
+2006-06-28 Bruno Haible <bruno@clisp.org>
+
+ * getaddrinfo.h: Fix POSIX URL.
+ * getaddrinfo.c (WIN32_NATIVE): New macro. Use it instead of _WIN32.
+ (use_win32_p): Make static.
+ (getaddrinfo): Reject service name if it is empty or does not consist
+ solely of decimal digits, or if its value is > 65535.
+ (getnameinfo): Remove useless casts.
+
+2006-06-28 Derek R. Price <derek@ximbiot.com>
+
+ * savedir.c (CLOSEDIR): Remove. All uses changed to closedir.
+ Autoconf 2.60 says this stuff was obsolete.
+
+2006-05-12 Bruno Haible <bruno@clisp.org>
+
+ * mkdtemp.c [MINGW]: Include <io.h>.
+ (mkdir): Define using _mkdir.
+
+2006-06-28 Bruno Haible <bruno@clisp.org>
+
+ * wcwidth.h: Declare nothing if !HAVE_WCHAR_T. Provide a fallback
+ declaration for wcwidth.
+ * mbswidth.c: Restore the includes of <wchar.h> and <wctypes.h>.
+
+2006-06-28 Eric Blake <ebb9@byu.net>
+
+ * xvasprintf.h: Fix comments.
+
+2006-06-28 Eric Blake <ebb9@byu.net>
+
+ * mbchar.h (wcwidth): Include wcwidth.h.
+ * mbswidth.c (wcwidth): Move from here...
+ * wcwidth.h: ...to this new file.
+
+2006-06-28 Simon Josefsson <jas@extundo.com>
+
+ * getaddrinfo.c: Try to load ws2_32.dll on Windows, to find the
+ functions there. It will succeed on Windows XP, but on Windows
+ 2000 and (presumably) earlier, it will fail, and use the internal
+ re-implementation.
+ (use_win32_p): New function.
+ (getaddrinfo): Use strtoul on servname, to support numeric ports.
+ Support AI_NUMERICSERV to disable getservbyname.
+ (getnameinfo): New function, only supports
+ NI_NUMERICHOST|NI_NUMERICSERV for now.
+
+ * getaddrinfo.h: Test and check for AI_* flags separately, MinGW
+ only have some of them. Add AI_NUMERICSERV. Add prototype for
+ getnameinfo.
+
+2006-06-27 Bruno Haible <bruno@clisp.org>
+
+ * stdint_.h (intmax_t, uintmax_t): Undefine before typedef.
+
+2006-06-26 Paul Eggert <eggert@cs.ucla.edu>
+
+ * base64.c (B64): Use _ as the formal parameter, not x, to avoid
+ bug in IBM C V6 for AIX. Problem reported by Larry Jones in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00181.html>.
+
+2006-06-26 Bruno Haible <bruno@clisp.org>
+
+ * stdint_.h: Include <wchar.h> if necessary for WCHAR_MIN or
+ WCHAR_MAX.
+ Reported by Mark D. Baushke and Larry Jones.
+
+2006-06-26 Bruno Haible <bruno@clisp.org>
+
+ * stdint_.h: Don't include <stdint.h> when using the SGI C compiler
+ in pre-C99 mode.
+ Suggested by Mark D. Baushke and Larry Jones.
+
+2006-06-23 Mark D. Baushke <mdb@gnu.org>
+
+ * stdint_.h: Treat BSD/OS like OpenBSD.
+
+2006-06-23 Bruno Haible <bruno@clisp.org>
+
+ * stdint_.h: Treat IRIX like OpenBSD.
+
+2006-06-23 Bruno Haible <bruno@clisp.org>
+
+ * stdint_.h (UINT8_C, UINT16_C, UINT32_C): Define according to
+ ISO C 99 Technical Corrigendum 1.
+
+2006-06-22 Paul Eggert <eggert@cs.ucla.edu>
+
+ * glob.c (collated_compare): Remove 'const' uses that weren't needed.
+ Some compiler complained about some of them. Problem reported by
+ Larry Jones in
+ <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00172.html>.
+
+2006-06-21 Simon Josefsson <jas@extundo.com>
+
+ * getaddrinfo.c (getaddrinfo): Set ai_family in the return
+ variable.
+
+ * socket_.h: Don't define WINVER.
+
+ * inet_pton.h, inet_pton.c: New file, taken from glibc but
+ slightly modified to work in gnulib.
+
+2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * read-file.c (fread_file): Start with buffer allocation of
+ 0 bytes rather than 1 byte; this simplifies the code.
+ Don't invoke feof; it's not needed. Refactor to avoid duplicate
+ code to free buffer and save/restore errno.
+ (internal_read_file): Remove unused local.
+
+2006-06-20 Paul Eggert <eggert@cs.ucla.edu>
+
+ * openat.c (openat): Use ?:, not if, to work around GCC bug 4210
+ <http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4210>.
+ Problem reported by Denis Excoffier in
+ <http://lists.gnu.org/archive/html/bug-tar/2006-06/msg00023.html>.
+
+2006-06-19 Simon Josefsson <jas@extundo.com>
+
+ * inet_ntop.c: Always build inet_ntop4, since inet_ntop6 calls it.
+
+2006-06-19 Paul Eggert <eggert@cs.ucla.edu>
+
+ * alloca_.h (alloca) [defined alloca]: Don't define or declare.
+
+2006-06-17 Bruno Haible <bruno@clisp.org>
+
+ * stdint_.h [FreeBSD >= 5]: Don't include <sys/inttypes.h>.
+