Mercurial > hg > octave-lyh > gnulib-hg
changeset 7464:cd0777252284
Prepend directory to more file names.
Break lines to width 80, where possible.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 09 Oct 2006 20:24:37 +0000 |
parents | e73dc8933779 |
children | d92cc93118d2 |
files | ChangeLog |
diffstat | 1 files changed, 1004 insertions(+), 753 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -36,7 +36,8 @@ 2006-10-08 Bruno Haible <bruno@clisp.org> - * doc/gnulib-tool.texi: Emphasize the drawbacks of the --symlink option. + * doc/gnulib-tool.texi: Emphasize the drawbacks of the --symlink + option. 2006-10-07 Jim Meyering <jim@meyering.net> @@ -173,11 +174,13 @@ inline functions. * lib/gl_list.c (gl_sortedlist_search_from_to, gl_sortedlist_indexof_from_to): New functions. - * lib/gl_array_list.c (gl_array_sortedlist_indexof_from_to): New function. + * lib/gl_array_list.c (gl_array_sortedlist_indexof_from_to): New + function. (gl_array_sortedlist_indexof, gl_array_sortedlist_search): Use it. (gl_array_sortedlist_search_from_to): New function. (gl_array_list_implementation): Update. - * lib/gl_carray_list.c (gl_carray_sortedlist_indexof_from_to): New function. + * lib/gl_carray_list.c (gl_carray_sortedlist_indexof_from_to): New + function. (gl_carray_sortedlist_indexof, gl_carray_sortedlist_search): Use it. (gl_carray_sortedlist_search_from_to): New function. (gl_carray_list_implementation): Update. @@ -188,9 +191,11 @@ * lib/gl_anytree_list2.h (gl_tree_sortedlist_search_from_to, gl_tree_sortedlist_indexof_from_to): New functions. * lib/gl_avltree_list.c (gl_avltree_list_implementation): Update. - * lib/gl_avltreehash_list.c (gl_avltreehash_list_implementation): Update. + * lib/gl_avltreehash_list.c (gl_avltreehash_list_implementation): + Update. * lib/gl_rbtree_list.c (gl_rbtree_list_implementation): Update. - * lib/gl_rbtreehash_list.c (gl_avltreehash_list_implementation): Update. + * lib/gl_rbtreehash_list.c (gl_avltreehash_list_implementation): + Update. 2006-10-05 Bruno Haible <bruno@clisp.org> @@ -223,8 +228,8 @@ (gl_linked_remove): Update. * lib/gl_linked_list.c (gl_linked_list_implementation): Update. * lib/gl_linkedhash_list.c (gl_linkedhash_list_implementation): Update. - * lib/gl_anytree_list1.h (iterstack_item_t): Change type of 'rightp' field - to 'size_t'. + * lib/gl_anytree_list1.h (iterstack_item_t): Change type of 'rightp' + field to 'size_t'. * lib/gl_anytree_list2.h (gl_tree_search_from_to): Renamed from gl_tree_search. Add start_index, end_index arguments. (gl_tree_indexof_from_to): Renamed from gl_tree_indexof. Add @@ -232,12 +237,14 @@ (gl_tree_remove): Update. * lib/gl_avltree_list.c (gl_avltree_list_implementation): Update. * lib/gl_rbtree_list.c (gl_rbtree_list_implementation): Update. - * lib/gl_anytreehash_list1.h (compare_position_threshold): New function. + * lib/gl_anytreehash_list1.h (compare_position_threshold): New + function. * lib/gl_anytreehash_list2.h (gl_tree_search_from_to): Renamed from gl_tree_search. Add start_index, end_index arguments. (gl_tree_indexof_from_to): Renamed from gl_tree_indexof. Add start_index, end_index arguments. - * lib/gl_avltreehash_list.c (gl_avltreehash_list_implementation): Update. + * lib/gl_avltreehash_list.c (gl_avltreehash_list_implementation): + Update. * lib/gl_rbtreehash_list.c (gl_rbtreehash_list_implementation): Update. 2006-10-05 Bruno Haible <bruno@clisp.org> @@ -292,7 +299,7 @@ * lib/gl_oset.c (gl_oset_add): Fix return type. -2006-10-02 Paolo Bonzini <bonzini@gnu.org> (tiny change) +2006-10-02 Paolo Bonzini <bonzini@gnu.org> * lib/quotearg.c (mbstate_t) [!HAVE_MBRTOWC]: #define to int. @@ -307,7 +314,8 @@ 2006-10-02 Dmitry V. Levin <ldv@altlinux.org> - * lib/fts.c (fts_close, fts_build, fts_palloc): Remove redundant checks. + * lib/fts.c (fts_close, fts_build, fts_palloc): Remove redundant + checks. 2006-10-02 Bruno Haible <bruno@clisp.org> @@ -387,7 +395,8 @@ of HAVE_DECL___PENDING. * m4/fpending.m4 (gl_FUNC_FPENDING): Check for stdio_ext at most once. - * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for __fsetlocking's declaration. + * m4/getpass.m4 (gl_PREREQ_GETPASS): Check for __fsetlocking's + declaration. 2006-09-27 Jim Meyering <jim@meyering.net> @@ -547,8 +556,8 @@ 2006-09-22 Bruno Haible <bruno@clisp.org> - * m4/getloadavg.m4 (gl_GETLOADAVG): Expect the directory of getloadavg.c - as first argument. + * m4/getloadavg.m4 (gl_GETLOADAVG): Expect the directory of + getloadavg.c as first argument. 2006-09-22 Bruno Haible <bruno@clisp.org> @@ -787,7 +796,8 @@ 2006-09-15 Jim Meyering <jim@meyering.net> - * m4/rename-dest-slash.m4 (gl_FUNC_RENAME_TRAILING_DEST_SLASH): New file. + * m4/rename-dest-slash.m4 (gl_FUNC_RENAME_TRAILING_DEST_SLASH): New + file. * m4/rename.m4 (gl_FUNC_RENAME): Rename from vb_FUNC_RENAME. @@ -892,40 +902,47 @@ * lib/_fpending.c: Include <config.h> unconditionally, since we no longer worry about uses that don't define HAVE_CONFIG_H. - * lib/acl.c, alloca.c, argmatch.c, atexit.c, backupfile.c: - * lib/basename.c, c-stack.c, c-strtod.c, calloc.c, canon-host.c: - * lib/canonicalize.c, chdir-long.c, chdir-safer.c, chown.c: - * lib/cloexec.c, close-stream.c, closeout.c, creat-safer.c: - * lib/cycle-check.c, diacrit.c, dirchownmod.c, dirfd.c, dirname.c: - * lib/dup-safer.c, dup2.c, error.c, euidaccess.c, exclude.c: - * lib/exitfail.c, fchmodat.c, fchown-stub.c, fd-safer.c: - * lib/file-type.c, fileblocks.c, filemode.c, filenamecat.c: - * lib/fnmatch.c, fopen-safer.c, fprintftime.c, free.c, fsusage.c: - * lib/ftruncate.c, fts-cycle.c, fts.c, full-write.c, gai_strerror.c: - * lib/getcwd.c, getdate.y, getdomainname.c, getgroups.c: - * lib/gethostname.c, gethrxtime.c, getloadavg.c, getlogin_r.c: - * lib/getndelim2.c, getnline.c, getopt.c, getopt1.c, getpass.c: - * lib/gettime.c, gettimeofday.c, getugroups.c, getusershell.c: - * lib/glob.c, group-member.c, hard-locale.c, hash-pjw.c, hash.c: - * lib/human.c, idcache.c, inet_ntop.c, inet_pton.c, inttostr.c: - * lib/isdir.c, lchown.c, linebuffer.c, long-options.c, lstat.c: - * lib/malloc.c, md5.c, memcasecmp.c, memchr.c, memcmp.c, memcoll.c: - * lib/memcpy.c, memmove.c, memrchr.c, mkancesdirs.c, mkdir-p.c: - * lib/mkdir.c, mkdirat.c, mkstemp-safer.c, mkstemp.c, modechange.c: - * lib/mountlist.c, nanosleep.c, obstack.c, open-safer.c: - * lib/openat-die.c, openat.c, pagealign_alloc.c, physmem.c: - * lib/pipe-safer.c, posixtm.c, posixver.c, putenv.c, quote.c: - * lib/quotearg.c, raise.c, readtokens.c, readtokens0.c, readutmp.c: - * lib/realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, safe-read.c: - * lib/same.c, save-cwd.c, savedir.c, setenv.c, settime.c, sha1.c: - * lib/sig2str.c, snprintf.c, strdup.c, strerror.c, strftime.c: - * lib/stripslash.c, strndup.c, strnlen.c, strpbrk.c, strtod.c: - * lib/strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c: - * lib/timegm.c, tmpfile-safer.c, unlinkdir.c, userspec.c, utime.c: - * lib/utimecmp.c, utimens.c, version-etc-fsf.c, version-etc.c: - * lib/xalloc-die.c, xgetcwd.c, xgethostname.c, xmalloc.c: - * lib/xmemcoll.c, xnanosleep.c, xreadlink.c, xstrtod.c: - * lib/xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c: + * lib/acl.c, lib/alloca.c, lib/argmatch.c, lib/atexit.c: + * lib/backupfile.c, lib/basename.c, lib/c-stack.c, lib/c-strtod.c: + * lib/calloc.c,lib/ canon-host.c, lib/canonicalize.c, lib/chdir-long.c: + * lib/chdir-safer.c, lib/chown.c, lib/cloexec.c, lib/close-stream.c: + * lib/closeout.c, lib/creat-safer.c, lib/cycle-check.c, lib/diacrit.c: + * lib/dirchownmod.c, lib/dirfd.c, lib/dirname.c, lib/dup-safer.c: + * lib/dup2.c, lib/error.c, lib/euidaccess.c, lib/exclude.c: + * lib/exitfail.c, lib/fchmodat.c, lib/fchown-stub.c, lib/fd-safer.c: + * lib/file-type.c, lib/fileblocks.c, lib/filemode.c, lib/filenamecat.c: + * lib/fnmatch.c, lib/fopen-safer.c, lib/fprintftime.c, lib/free.c: + * lib/fsusage.c, lib/ftruncate.c, lib/fts-cycle.c, lib/fts.c: + * lib/full-write.c, lib/gai_strerror.c, lib/getcwd.c, lib/getdate.y: + * lib/getdomainname.c, lib/getgroups.c, lib/gethostname.c: + * lib/gethrxtime.c, lib/getloadavg.c, lib/getlogin_r.c: + * lib/getndelim2.c, lib/getnline.c, lib/getopt.c, lib/getopt1.c: + * lib/getpass.c, lib/gettime.c, lib/gettimeofday.c, lib/getugroups.c: + * lib/getusershell.c, lib/glob.c, lib/group-member.c: + * lib/hard-locale.c, lib/hash-pjw.c, lib/hash.c, lib/human.c: + * lib/idcache.c, lib/inet_ntop.c, lib/inet_pton.c, lib/inttostr.c: + * lib/isdir.c, lib/lchown.c, lib/linebuffer.c, lib/long-options.c: + * lib/lstat.c, lib/malloc.c, lib/md5.c, lib/memcasecmp.c, lib/memchr.c: + * lib/memcmp.c, lib/memcoll.c, lib/memcpy.c, lib/memmove.c: + * lib/memrchr.c, lib/mkancesdirs.c, lib/mkdir-p.c, lib/mkdir.c: + * lib/mkdirat.c, lib/mkstemp-safer.c, lib/mkstemp.c, lib/modechange.c: + * lib/mountlist.c, lib/nanosleep.c, lib/obstack.c, lib/open-safer.c: + * lib/openat-die.c, lib/openat.c, lib/pagealign_alloc.c, lib/physmem.c: + * lib/pipe-safer.c, lib/posixtm.c, lib/posixver.c, lib/putenv.c: + * lib/quote.c, lib/quotearg.c, lib/raise.c, lib/readtokens.c: + * lib/readtokens0.c, lib/readutmp.c, lib/realloc.c, lib/regex.c: + * lib/rename.c, lib/rmdir.c, lib/rpmatch.c, lib/safe-read.c: + * lib/same.c, lib/save-cwd.c, lib/savedir.c, lib/setenv.c: + * lib/settime.c, lib/sha1.c, lib/sig2str.c, lib/snprintf.c: + * lib/strdup.c, lib/strerror.c, lib/strftime.c, lib/stripslash.c: + * lib/strndup.c, lib/strnlen.c, lib/strpbrk.c, lib/strtod.c: + * lib/strtoimax.c, lib/strtol.c, lib/strverscmp.c, lib/tempname.c: + * lib/time_r.c, lib/timegm.c, lib/tmpfile-safer.c, lib/unlinkdir.c: + * lib/userspec.c, lib/utime.c, lib/utimecmp.c, lib/utimens.c: + * lib/version-etc-fsf.c, lib/version-etc.c, lib/xalloc-die.c: + * lib/xgetcwd.c, lib/xgethostname.c, lib/xmalloc.c, lib/xmemcoll.c: + * lib/xnanosleep.c, lib/xreadlink.c, lib/xstrtod.c, lib/xstrtoimax.c: + * lib/xstrtol.c, lib/xstrtoumax.c, lib/yesno.c: Likewise. 2006-09-13 Eric Blake <ebb9@byu.net> @@ -960,7 +977,8 @@ 2006-09-10 Bruno Haible <bruno@clisp.org> - * m4/mkdtemp.m4 (gl_PREREQ_MKDTEMP): Don't require gl_AC_TYPE_UINTMAX_T. + * m4/mkdtemp.m4 (gl_PREREQ_MKDTEMP): Don't require + gl_AC_TYPE_UINTMAX_T. 2006-09-10 Bruno Haible <bruno@clisp.org> @@ -972,8 +990,8 @@ convention. Text proposed by Bruno Haible. (struct argp_option): Document the use of N_() wrappers. - * lib/argp-help.c (argp_doc): Split the untranslated doc string on '\v', - and translate the two parts separately, instead of feeding + * lib/argp-help.c (argp_doc): Split the untranslated doc string on + '\v', and translate the two parts separately, instead of feeding the whole string to gettext. This allows to exclude '\v' from the strings visible to the translator by writing doc strings as N_("..") "\v" N_(".."). @@ -1047,9 +1065,9 @@ 2006-09-08 Jim Meyering <jim@meyering.net> Avoid new build failure on FreeBSD 6.0. - * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include <sys/param.h> - when testing whether getmntinfo uses statvfs. Patch by Pavel Tsekov, - in <http://savannah.gnu.org/bugs/?17643>. + * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Include + <sys/param.h> when testing whether getmntinfo uses statvfs. Patch by + Pavel Tsekov, in <http://savannah.gnu.org/bugs/?17643>. 2006-09-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> @@ -1245,7 +1263,8 @@ <http://lists.gnu.org/archive/html/bug-coreutils/2006-08/msg00298.html>. * lib/nanosleep.c (BILLION): New constant. (getnow) [HAVE_BUG_BIG_NANOSLEEP]: New functions. - (rpl_nanosleep) [HAVE_BUG_BIG_NANOSLEEP]: Completely new implementation. + (rpl_nanosleep) [HAVE_BUG_BIG_NANOSLEEP]: Completely new + implementation. 2006-08-30 Paul Eggert <eggert@cs.ucla.edu> @@ -1263,8 +1282,8 @@ 2006-08-30 Jim Meyering <jim@meyering.net> - * lib/isapipe.c (isapipe): Rename local s/fd/fd_pair/ to avoid shadowing - the parameter. + * lib/isapipe.c (isapipe): Rename local s/fd/fd_pair/ to avoid + shadowing the parameter. 2006-08-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> @@ -1311,7 +1330,8 @@ 2006-08-29 Bruno Haible <bruno@clisp.org> - * lib/localcharset.c: Include configmake.h in order to get LIBDIR defined. + * lib/localcharset.c: Include configmake.h in order to get LIBDIR + defined. 2006-08-28 Paul Eggert <eggert@cs.ucla.edu> @@ -1336,8 +1356,8 @@ 2006-08-28 Paul Eggert <eggert@cs.ucla.edu> * m4/inttypes.m4 (gl_INTTYPES_H): Move ABSOLUTE_INTTYPES_H code here... - * m4/stdint.m4 (gl_STDINT_H): ... from here. This undoes the most recent - change to stdint.m4, since we're now addressing the problem in a + * m4/stdint.m4 (gl_STDINT_H): ... from here. This undoes the most + recent change to stdint.m4, since we're now addressing the problem in a different way. 2006-08-28 Paul Eggert <eggert@cs.ucla.edu> @@ -1463,7 +1483,8 @@ * m4/inttypes.m4: New file. * m4/_inttypes_h.m4: Remove file. - * m4/inttypes-pri.m4 (gt_INTTYPES_PRI): Also AC_SUBST PRI_MACROS_BROKEN. + * m4/inttypes-pri.m4 (gt_INTTYPES_PRI): Also AC_SUBST + PRI_MACROS_BROKEN. * m4/stdint.m4 (gl_STDINT_H): Define also ABSOLUTE_INTTYPES_H. * m4/imaxabs.m4: New file. @@ -1649,7 +1670,8 @@ 2006-08-21 Paul Eggert <eggert@cs.ucla.edu> BeOS portability. - * lib/dirchownmod.c (dirchownmod): Don't use fchmod if it doesn't exist. + * lib/dirchownmod.c (dirchownmod): Don't use fchmod if it doesn't + exist. Problem reported by Bruno Haible. 2006-08-21 Paul Eggert <eggert@cs.ucla.edu> @@ -1718,7 +1740,8 @@ * modules/quotearg (EXTRA_DIST): Add quotearg.h. * modules/readtokens (EXTRA_DIST): Add readtokens.h. * modules/readutmp (EXTRA_DIST): Add readutmp.h. - * modules/regex (EXTRA_DIST): Add regcomp.c regex.h regex_internal.c regex_internal.h regexec.c. + * modules/regex (EXTRA_DIST): Add regcomp.c regex.h regex_internal.c + regex_internal.h regexec.c. * modules/safe-read (EXTRA_DIST): Add safe-read.h. * modules/safe-write (EXTRA_DIST): Add safe-write.h. * modules/same (EXTRA_DIST): Add same.h. @@ -1910,9 +1933,9 @@ * m4/xstrtoimax.m4: Remove. * m4/xstrtoumax.m4: Remove. - * m4/cycle-check.m4 (gl_CYCLE_CHECK): Do not require gl_AC_TYPE_UINTMAX_T, - gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib dependencies now - capture this. + * m4/cycle-check.m4 (gl_CYCLE_CHECK): Do not require + gl_AC_TYPE_UINTMAX_T, gl_STRUCT_DEV_INO, or gl_SAME_INODE, since gnulib + dependencies now capture this. * m4/cycle-check.m4 (gl_CYCLE_CHECK): Do not use AC_LIBSOURCES, since gnulib modules now do this. @@ -1948,7 +1971,8 @@ * m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Check for hasmntopt. - * m4/posixver.m4: Fix comment since head -1 now works even in POSIX mode. + * m4/posixver.m4: Fix comment since head -1 now works even in POSIX + mode. 2006-08-20 Paul Eggert <eggert@cs.ucla.edu> @@ -2064,10 +2088,10 @@ 2006-08-18 Jim Meyering <jim@meyering.net> - * m4/gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for CLOCK_REALTIME, - since gethrxtime may revert to using clock_gettime via gettime.c. - Gabor Z. Papp reported that gethrxtime-using programs failed to - link due to unresolved clock_gettime on a linux-2.4.x system. + * m4/gethrxtime.m4 (gl_PREREQ_GETHRXTIME): Also check for + CLOCK_REALTIME, since gethrxtime may revert to using clock_gettime via + gettime.c. Gabor Z. Papp reported that gethrxtime-using programs + failed to link due to unresolved clock_gettime on a linux-2.4.x system. 2006-08-18 Bruno Haible <bruno@clisp.org> @@ -2121,13 +2145,14 @@ * lib/at-func.c: New file, with the logic of all emulated at-functions. * lib/openat-priv.h: Include <errno.h> and define ENOSYS, in support of the EXPECTED_ERRNO macro. - * lib/openat.c (fstatat, unlinkat, fchownat): Remove function definitions. - Instead, define the appropriate symbols and include "at-func.c". + * lib/openat.c (fstatat, unlinkat, fchownat): Remove function + definitions. Instead, define the appropriate symbols and include + "at-func.c". * lib/mkdirat.c (mkdirat): Likewise. * lib/fchmodat.c (fchmodat): Likewise. (ENOSYS): Remove definition. - * lib/openat.c: Don't include <errno.h>, now that "openat-priv.h" does it. - Don't include "unistd--.h" -- it wasn't ever used. + * lib/openat.c: Don't include <errno.h>, now that "openat-priv.h" does + it. Don't include "unistd--.h" -- it wasn't ever used. 2006-01-17 Jim Meyering <jim@meyering.net> @@ -2295,8 +2320,8 @@ 2006-08-11 Bruno Haible <bruno@clisp.org> - * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Include <stdio.h> and <time.h> before - <wchar.h>. Needed for OSF/1 and BSD/OS. + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Include <stdio.h> and <time.h> + before <wchar.h>. Needed for OSF/1 and BSD/OS. 2006-08-10 Paul Eggert <eggert@cs.ucla.edu> @@ -2319,9 +2344,9 @@ 2006-06-02 Jakub Jelinek <jakub@redhat.com> - * lib/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. + * lib/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. @@ -2629,9 +2654,9 @@ 2006-07-28 Bruno Haible <bruno@clisp.org> - * lib/mbchar.h (iswalnum, iswalpha, iswblank, iswcntrl, iswdigit, iswgraph, - iswlower, iswprint, iswpunct, iswspace, iswupper, iswxdigit): Define - fallbacks. + * lib/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>. @@ -2673,13 +2698,13 @@ 2006-07-25 Bruno Haible <bruno@clisp.org> - * m4/stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of complex - commands. + * m4/stdint.m4 (gl_INTEGER_TYPE_SUFFIX): Avoid 'eval' in front of + complex commands. 2006-07-25 Bruno Haible <bruno@clisp.org> - * lib/version-etc.c (version_etc_va): Use va_copy, assumed to be defined in - <stdarg.h> or config.h. + * lib/version-etc.c (version_etc_va): Use va_copy, assumed to be + defined in <stdarg.h> or config.h. 2006-07-24 Paul Eggert <eggert@cs.ucla.edu> @@ -3015,9 +3040,9 @@ 2006-07-22 Bruno Haible <bruno@clisp.org> - * config/srclist.txt: Resync printf-args.c, vasnprintf.c, localcharset.c, - mkdtemp.c, config.rpath, lib-ld.m4, lib-link.m4, lib-prefix.m4, - longdouble.m4, ssize_t.m4. + * config/srclist.txt: Resync printf-args.c, vasnprintf.c, + localcharset.c, mkdtemp.c, config.rpath, lib-ld.m4, lib-link.m4, + lib-prefix.m4, longdouble.m4, ssize_t.m4. 2006-07-21 Eric Blake <ebb9@byu.net> @@ -3051,8 +3076,8 @@ 2006-07-19 Derek Price <derek@ximbiot.com> - * doc/gnulib.texi (Libtool and Windows): Eliminate passive voice. Correct - grammar. + * doc/gnulib.texi (Libtool and Windows): Eliminate passive voice. + Correct grammar. 2006-07-17 Bruno Haible <bruno@clisp.org> @@ -3130,9 +3155,10 @@ 2006-07-16 Paul Eggert <eggert@cs.ucla.edu> * m4/mkancesdirs.m4: New file. - * m4/mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, dirchownmod.h. - Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; no longer needed. - Require gl_FUNC_LCHOWN, since dirchownmod.c needs it. + * m4/mkdir-p.m4 (gl_MKDIR_PARENTS): Mention dirchownmod.c, + dirchownmod.h. Don't require AC_FUNC_ALLOCA, gl_AFS, gl_CHDIR_SAFER; + no longer needed. Require gl_FUNC_LCHOWN, since dirchownmod.c needs + it. 2006-07-16 Paul Eggert <eggert@cs.ucla.edu> @@ -3280,9 +3306,11 @@ 2006-07-08 Jim Meyering <jim@meyering.net> - * m4/link-follow.m4: Remove one of two adjacent "whether"s in a comment. + * m4/link-follow.m4: Remove one of two adjacent "whether"s in a + comment. * m4/getopt.m4: Remove one of two adjacent "your"s in a comment. - * m4/regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a comment. + * m4/regex.m4 (gl_REGEX): Remove one of two adjacent "the"s in a + comment. 2006-07-08 Jim Meyering <jim@meyering.net> @@ -3305,7 +3333,7 @@ * modules/inet_ntop (Files): Ditto. -2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) +2006-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * modules/getusershell (configure.ac): Use gl_FUNC_GETUSERSHELL, not gl_PREREQ_GETUSERSHELL. @@ -3335,8 +3363,8 @@ * lib/getloadavg.c: Use __VMS, not VMS. * lib/getopt.c: Likewise. * lib/getpagesize.h: Likewise. - * lib/glob.c: Remove most VMS cruft; it hasn't been tested for a while and - probably does not work. + * lib/glob.c: Remove most VMS cruft; it hasn't been tested for a while + and probably does not work. 2006-07-06 Paul Eggert <eggert@cs.ucla.edu> @@ -3348,9 +3376,10 @@ * lib/getdate.y (lookup_word): Remove no-longer-needed call to islower. * lib/regex_internal.h (isblank): Depend on HAVE_DECL_ISBLANK, not HAVE_ISBLANK. - * lib/strftime.c (TOLOWER, TOUPPER) [!defined _LIBC]: Remove special case. - -2006-07-06 Jim Hyslop <jhyslop@dreampossible.ca> (tiny change) + * lib/strftime.c (TOLOWER, TOUPPER) [!defined _LIBC]: Remove special + case. + +2006-07-06 Jim Hyslop <jhyslop@dreampossible.ca> * lib/getaddrinfo.c: Changes to compile under MSVC6: changed '#if WIN32_NATIVE' to '#ifdef' & moved WSAAPI macro inside @@ -3389,11 +3418,13 @@ * m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Use AC_CHECK_DECLS_ONCE rather than AC_CHECK_DECLS for strtoimax and strtoumax. - * m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer needed. + * m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Remove; no longer + needed. All uses removed. * m4/strtol.m4 (gl_PREREQ_STRTOL): Likewise. * m4/strtoul.m4 (gl_PREREQ_STRTOUL): Likewise. - * m4/exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer needed. + * m4/exclude.m4 (gl_EXCLUDE): Don't check for isascii; no longer + needed. * m4/getdate.m4 (gl_GETDATE): Likewise. * m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Likewise. * m4/memcasecmp.m4 (gl_MEMCASECMP): Likewise. @@ -3532,7 +3563,8 @@ 2006-06-18 Jim Meyering <jim@meyering.net> Test for a bug that causes glibc's getcwd to suffer a failed assertion. - * m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and macro. + * m4/getcwd-abort-bug.m4 (gl_FUNC_GETCWD_ABORT_BUG): New file and + macro. * m4/getcwd.m4 (gl_FUNC_GETCWD): If we detect support for getcwd_null, also check for glibc-2.4's abort-inducing bug. @@ -3600,14 +3632,15 @@ 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. + (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. * lib/filemode.h (HAVE_DECL_STRMODE): Include <string.h> for strmode. (strmode): Renamed from mode_string. (filemodestring): New decl. * lib/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_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> @@ -3633,9 +3666,9 @@ 2006-03-12 Jim Meyering <jim@meyering.net> - * lib/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. + * lib/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. * lib/same-inode.h (SAME_INODE): New file/macro. * lib/chdir-safer.c (SAME_INODE): Remove definition. @@ -3840,7 +3873,7 @@ * 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> * lib/getaddrinfo.c: fixed typo @@ -3984,7 +4017,8 @@ 2006-06-28 Bruno Haible <bruno@clisp.org> * lib/getaddrinfo.h: Fix POSIX URL. - * lib/getaddrinfo.c (WIN32_NATIVE): New macro. Use it instead of _WIN32. + * lib/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. @@ -4088,9 +4122,9 @@ 2006-06-22 Paul Eggert <eggert@cs.ucla.edu> - * lib/glob.c (collated_compare): Remove 'const' uses that weren't needed. - Some compiler complained about some of them. Problem reported by - Larry Jones in + * lib/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> @@ -4329,7 +4363,8 @@ 2006-05-11 Jim Meyering <jim@meyering.net> - * lib/sha1.c (sha1_buffer): Correct comment: s/MD5/SHA1/. From James Lemley. + * lib/sha1.c (sha1_buffer): Correct comment: s/MD5/SHA1/. From + James Lemley. 2006-05-10 Simon Josefsson <jas@extundo.com> @@ -4387,7 +4422,8 @@ 2006-05-08 Bruno Haible <bruno@clisp.org> - * config/srclist.txt (build-aux/config.rpath): different from latest release. + * config/srclist.txt (build-aux/config.rpath): different from latest + release. 2006-05-08 Bruno Haible <bruno@clisp.org> @@ -4413,7 +4449,8 @@ 2006-05-02 Paul Eggert <eggert@cs.ucla.edu> - * doc/verify.texi: New file, partly based on a proposal by Bruno Haible. + * doc/verify.texi: New file, partly based on a proposal by + Bruno Haible. 2006-05-02 Bruno Haible <bruno@clisp.org> @@ -4481,8 +4518,8 @@ 2006-04-24 Bruno Haible <bruno@clisp.org> - * m4/poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the poll() - implementation in AIX. + * m4/poll.m4 (gl_FUNC_POLL): When cross-compiling, reject also the + poll() implementation in AIX. Reported by Ralf Wildenhues <Ralf.Wildenhues@gmx.de>. 2006-04-24 Bruno Haible <bruno@clisp.org> @@ -4526,7 +4563,8 @@ 2006-04-23 Bruno Haible <bruno@clisp.org> - * gnulib-tool (func_usage): Fix --import description. Document --update. + * gnulib-tool (func_usage): Fix --import description. Document + --update. (func_import): Create temporary file in a temporary directory, if --dry-run is specified. Silence errors from 'grep' when there are no m4 files in $m4dir. @@ -4545,9 +4583,9 @@ 2006-04-19 Derek Price <derek@ximbiot.com> Eric Blake <ebb9@byu.net> - * m4/full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> rather - than "/full/path.h". Update comment to match. Shorten & generalize - m4_translit call via AS_TR_CPP. + * m4/full-header-path.m4 (gl_FULL_HEADER_PATH): Use </full/path.h> + rather than "/full/path.h". Update comment to match. Shorten & + generalize m4_translit call via AS_TR_CPP. 2006-04-19 Derek Price <derek@ximbiot.com> Eric Blake <ebb9@byu.net> @@ -4578,9 +4616,11 @@ 2006-04-13 Paul Eggert <eggert@cs.ucla.edu> - * lib/regcomp.c (init_dfa): Don't use wchar_t or wctype_t if RE_ENABLE_I18N - is not defined. Problem reported by Mark D. Baushke via Derek R. Price. - * lib/regex.h (RE_DUP_MAX): Update comment to match current implementation. + * lib/regcomp.c (init_dfa): Don't use wchar_t or wctype_t if + RE_ENABLE_I18N is not defined. Problem reported by Mark D. Baushke via + Derek R. Price. + * lib/regex.h (RE_DUP_MAX): Update comment to match current + implementation. 2006-04-12 Eric Blake <ebb9@byu.net> @@ -4589,7 +4629,8 @@ 2006-04-11 Paul Eggert <eggert@cs.ucla.edu> - * m4/time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and time_r.h. + * m4/time_r.m4 (gl_TIME_R): Add AC_LIBSOURCES for time_r.c and + time_r.h. 2006-04-09 Paul Eggert <eggert@cs.ucla.edu> @@ -4738,7 +4779,8 @@ Ulrich Drepper <drepper@redhat.com> [BZ #1302] - * lib/regex_internal.h (bitset_t): Renamed from bitset. All uses changed. + * lib/regex_internal.h (bitset_t): Renamed from bitset. All uses + changed. (bitset_word_t): Renamed from bitset_word. All uses changed. 2005-09-22 Ulrich Drepper <drepper@redhat.com> @@ -4999,7 +5041,7 @@ * build-aux/maint.mk: Add indent target. -2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) +2006-03-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * m4/poll.m4 (gl_FUNC_POLL): If we deem poll(2) unacceptable, use our replacement poll.h in any case, to avoid a differing @@ -5067,7 +5109,7 @@ * modules/xnanosleep: Likewise. * modules/xstrtol: Likewise. -2006-02-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny changes) +2006-02-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * modules/xstrtod: Omit xstrtod.h, xstrtod.c; they're in LIB_SOURCES. * modules/lock-tests (TESTS): Use $(EXEEXT). @@ -5078,7 +5120,8 @@ 2006-02-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> - * lib/mkdtemp.c, setenv.c, unsetenv.c: Normalize inclusion of `config.h'. + * lib/mkdtemp.c, lib/setenv.c, lib/unsetenv.c: Normalize inclusion of + `config.h'. 2006-02-24 Paul Eggert <eggert@cs.ucla.edu> @@ -5164,12 +5207,12 @@ 2006-02-14 Jim Meyering <jim@meyering.net> Sync from coreutils. - * m4/ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke AC_CHECK_FUNCS(getmntent) - unconditionally so that tests of $ac_cv_func_getmntent (e.g., in - gl_LIST_MOUNTED_FILE_SYSTEMS) need not double-quote uses of that - variable, to accommodate the rare case in which getmntent is - available in none of the libraries checked. This happens at - least on FreeBSD 5.0. + * m4/ls-mntd-fs.m4 (AC_FUNC_GETMNTENT): Invoke + AC_CHECK_FUNCS(getmntent) unconditionally so that tests of + $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need not + double-quote uses of that variable, to accommodate the rare case in + which getmntent is available in none of the libraries checked. This + happens at least on FreeBSD 5.0. 2006-02-13 Simon Josefsson <jas@extundo.com> @@ -5339,13 +5382,13 @@ 2006-01-24 Bruno Haible <bruno@clisp.org> - * lib/stdbool_.h (_Bool) [__cplusplus]: Don't define if the compiler already - has it. + * lib/stdbool_.h (_Bool) [__cplusplus]: Don't define if the compiler + already has it. Report and patch by Albert Chin-A-Young <china@thewrittenword.com> on 2005-11-26. - * lib/stdbool_.h (_Bool) [HP-UX cc, AIX cc,xlc]: Define as 'signed char' - to avoid problems with the built-in _Bool type. + * lib/stdbool_.h (_Bool) [HP-UX cc, AIX cc,xlc]: Define as + 'signed char' to avoid problems with the built-in _Bool type. Reported by Paul Eggert on 2005-11-26. 2006-01-24 Bruno Haible <bruno@clisp.org> @@ -5393,7 +5436,7 @@ * config/srclist.txt: Adjust to reflect glibc reorganization. This affects only comments. -2006-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) +2006-01-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * gnulib-tool, build-aux/csharpcomp.sh.in: Do not pass `-q' to mktemp. Reported by Bruce Korb <bkorb@gnu.org>. @@ -5737,8 +5780,8 @@ (make_dir_parents): Use lchown rather than chown, and lchmod rather than chmod. - * lib/mountlist.c (ME_DUMMY): "none" and "proc" file systems are dummies - too. Problem with "none" reported by Bob Proulx. Problem with + * lib/mountlist.c (ME_DUMMY): "none" and "proc" file systems are + dummies too. Problem with "none" reported by Bob Proulx. Problem with "proc" reported by n0dalus. * lib/mountlist.c: Include <limits.h>. @@ -5752,9 +5795,9 @@ dev= in that case. * lib/posixtm.h (PDS_PRE_2000): New macro. - * lib/posixtm.c (year): Arg is now syntax_bits rather than allow_century. - All usages changed. Reject dates outside the range 1969-1999 if - PDS_PRE_2000 is used. + * lib/posixtm.c (year): Arg is now syntax_bits rather than + allow_century. All usages changed. Reject dates outside the range + 1969-1999 if PDS_PRE_2000 is used. 2006-01-09 Paul Eggert <eggert@cs.ucla.edu> @@ -6093,8 +6136,8 @@ 2005-11-10 Paul Eggert <eggert@cs.ucla.edu> - * lib/gethrxtime.c: Include "timespec.h" rather than the sys/time / time - business. + * lib/gethrxtime.c: Include "timespec.h" rather than the sys/time / + time business. (gethrxtime) [! (HAVE_NANOUPTIME || (defined CLOCK_MONOTONIC && HAVE_CLOCK_GETTIME) || HAVE_MICROUPTIME)]: Fall back on gettime rather than rolling @@ -6436,8 +6479,8 @@ 2005-10-17 Bruno Haible <bruno@clisp.org> - * m4/stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so that - it can also be used in a test. + * m4/stdbool.m4 (AC_HEADER_STDBOOL): Change the return statement so + that it can also be used in a test. 2005-10-16 Bruno Haible <bruno@clisp.org> @@ -6797,8 +6840,8 @@ * lib/utimecmp.c: Likewis.e Sync from coreutils. - * lib/.cppi-disable: Add getaddrinfo.h, getdelim.h, getline.h, getpass.c - mbchar.h, mbuiter.h, strcase.h, strnlen.h, strnlen1.h. + * lib/.cppi-disable: Add getaddrinfo.h, getdelim.h, getline.h, + getpass.c, mbchar.h, mbuiter.h, strcase.h, strnlen.h, strnlen1.h. * lib/.cvsignore: Add fts.h, search.h, t-fpending. * lib/settime.c (settime): Fix { typo in previous patch. Also, don't bother returning ENOSYS if settimeofday or stime fails; just let @@ -6817,7 +6860,8 @@ Sync from coreutils. * lib/fts-cycle.c [HAVE_CONFIG_H]: Include <config.h>. - * lib/openat-die.c: Use `#ifdef HAVE_CONFIG_H', not `#if HAVE_CONFIG_H'. + * lib/openat-die.c: Use `#ifdef HAVE_CONFIG_H', not + `#if HAVE_CONFIG_H'. * lib/openat.c (fdopendir): Do not define if HAVE_FDOPENDIR. Remove AT_FDCWD test. Do not consume the fd unless successful. @@ -6866,7 +6910,7 @@ * m4/getaddrinfo.m4 (gl_GETADDRINFO): Check for gethostbyname in the inet and nsl libraries. Required on Solaris 5.7. -2005-10-01 Eric Blake <ebb9@byu.net> (tiny change) +2005-10-01 Eric Blake <ebb9@byu.net> * lib/getdelim.c (getdelim): Remove unused variables. @@ -6888,7 +6932,8 @@ 2005-09-27 Jim Meyering <jim@meyering.net> - * lib/getcwd.c: Change #ifdef<TAB>HAVE_CONFIG_H to #ifdef HAVE_CONFIG_H. + * lib/getcwd.c: Change #ifdef<TAB>HAVE_CONFIG_H to #ifdef + HAVE_CONFIG_H. * lib/intprops.h (signed_type_or_expr__): Define. (INT_STRLEN_BOUND) [__GNUC__]: Use a slightly tighter bound @@ -6913,8 +6958,8 @@ 2005-09-26 Bruno Haible <bruno@clisp.org> - * m4/mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't compile - mbchar.c if they are not both present. + * m4/mbchar.m4 (gl_MBCHAR): Check for wchar.h and wctype.h. Don't + compile mbchar.c if they are not both present. * m4/mbfile.m4 (gl_MBFILE): Require gl_FUNC_MBRTOWC. * m4/mbiter.m4 (gl_MBITER): Likewise. * m4/strstr.m4 (gl_PREREQ_STRSTR): Use AC_REQUIRE. @@ -7140,9 +7185,9 @@ directories. * lib/mkdir-p.c (CLEANUP_CWD): Return *true*, not false when failing to restore initial working directory. - * lib/mkdir-p.c (make_dir_parents): New parameter: different_working_dir, - to tell caller if/when we change the working directory and are - unable to return to the initial one. + * lib/mkdir-p.c (make_dir_parents): New parameter: + different_working_dir, to tell caller if/when we change the working + directory and are unable to return to the initial one. * lib/mkdir-p.h (make_dir_parents): Update prototype. * lib/mkdir-p.c (CLEANUP_CWD): Change one more `return 1' to `return false'. This fixes a bug introduced on 2004-07-30. @@ -7167,7 +7212,8 @@ Don't include "error.h" or "exitfail.h"; they're no longer needed. * lib/openat-die.c (openat_save_die, openat_restore_die): New file. - * lib/openat.h (openat_save_die, openat_restore_die): Declare and define. + * lib/openat.h (openat_save_die, openat_restore_die): Declare and + define. * lib/strftime.c [FPRINTFTIME] (fprintftime): Provide a new interface: size_t fprintftime (FILE *fp, char const *fmt, struct tm const *tm, @@ -7183,22 +7229,26 @@ optional field width, not before, so we accept %9:z, not %:9z. (my_strftime): Be sure to use L_('x') for literals. - * lib/backupfile.c, canon-host.c, canonicalize.c, chown.c, cloexec.c: - * lib/dup-safer.c, dup2.c, euidaccess.c, fd-safer.c, fileblocks.c: - * lib/fopen-safer.c, fsusage.c, ftruncate.c, getcwd.c, getcwd.h: - * lib/getloadavg.c, getopt_.h, getpagesize.h, getugroups.c, group-member.c: - * lib/human.h, idcache.c, mkdir-p.c, mountlist.c, nanosleep.c, pathmax.h: - * lib/physmem.c, posixver.c, putenv.c, raise.c, safe-read.c, same.c: - * lib/save-cwd.c, setenv.c, settime.c, tempname.c, unlinkdir.c: - * lib/unsetenv.c, userspec.c, xgethostname.c, xreadlink.c: + * lib/backupfile.c, lib/canon-host.c, lib/canonicalize.c, lib/chown.c: + * lib/cloexec.c, lib/dup-safer.c, lib/dup2.c, lib/euidaccess.c: + * lib/fd-safer.c, lib/fileblocks.c, lib/fopen-safer.c, lib/fsusage.c: + * lib/ftruncate.c, lib/getcwd.c, lib/getcwd.h, lib/getloadavg.c: + * lib/getopt_.h, lib/getpagesize.h, lib/getugroups.c: + * lib/group-member.c, lib/human.h, lib/idcache.c, lib/mkdir-p.c: + * lib/mountlist.c, lib/nanosleep.c, lib/pathmax.h, lib/physmem.c: + * lib/posixver.c, lib/putenv.c, lib/raise.c, lib/safe-read.c: + * lib/same.c, lib/save-cwd.c, lib/setenv.c, lib/settime.c: + * lib/tempname.c, lib/unlinkdir.c, lib/unsetenv.c, lib/userspec.c: + * lib/xgethostname.c, lib/xreadlink.c: Assume HAVE_UNISTD_H, i.e., include <unistd.h> unconditionally. - * lib/chown.c, cloexec.c, dup-safer.c, dup2.c, fsusage.c, getcwd.c: - * lib/getloadavg.c, mountlist.c, openat.h, save-cwd.c, tempname.c: + * lib/chown.c, lib/cloexec.c, lib/dup-safer.c, lib/dup2.c: + * lib/fsusage.c, lib/getcwd.c, lib/getloadavg.c, lib/mountlist.c: + * lib/openat.h, lib/save-cwd.c, lib/tempname.c: Assume HAVE_FCNTL_H (i.e., include <fcntl.h> unconditionally, and don't include <sys/file.h>). -2005-09-22 Eric Blake <ebb9@byu.net> (tiny change) +2005-09-22 Eric Blake <ebb9@byu.net> Sync from coreutils. @@ -7212,7 +7262,8 @@ 2005-09-20 Derek Price <derek@ximbiot.com> - * lib/getaddrinfo.c: Don't include <netdb.h> included from getaddrinfo.h. + * lib/getaddrinfo.c: Don't include <netdb.h> included from + getaddrinfo.h. 2005-09-20 Bruno Haible <bruno@clisp.org> @@ -7234,41 +7285,46 @@ 2005-09-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Use a consistent style for including <config.h>. - * lib/__fpending.c, acl.c, argmatch.c, - argp-help.c, argp-parse.c, - argp-pvh.c, backupfile.c, basename.c, c-stack.c, - calloc.c, check-version.c, cloexec.c, closeout.c, copy-file.c, - creat-safer.c, cycle-check.c, dirfd.c, dirname.c, dup-safer.c, - dup2.c, euidaccess.c, exclude.c, exitfail.c, fatal-signal.c, - fd-safer.c, file-type.c, fileblocks.c, filemode.c, - filenamecat.c, findprog.c, fnmatch.c, fopen-safer.c, free.c, - fsusage.c, ftruncate.c, full-write.c, fwriteerror.c, - getaddrinfo.c, getcwd.c, getdelim.c, getline.c, getlogin_r.c, - getndelim2.c, getnline.c, getopt1.c, getpass.c, group-member.c, - hard-locale.c, hash-pjw.c, hash.c, human.c, idcache.c, - inet_ntop.c, isdir.c, long-options.c, malloc.c, memcasecmp.c, - memcmp.c, memcoll.c, memcpy.c, memmove.c, mkdir-p.c, - modechange.c, mountlist.c, open-safer.c, physmem.c, - pipe-safer.c, pipe.c, poll.c, posixver.c, progname.c, - progreloc.c, putenv.c, quote.c, quotearg.c, readline.c, - readlink.c, realloc.c, regex.c, rename.c, rmdir.c, rpmatch.c, - safe-read.c, same.c, save-cwd.c, savedir.c, sig2str.c, - strcspn.c, strerror.c, stripslash.c, strncasecmp.c, strndup.c, - strnlen.c, strnlen1.c, strsep.c, strstr.c, strtod.c, - strtoimax.c, strtol.c, strverscmp.c, tempname.c, time_r.c, - userspec.c, utimecmp.c, version-etc-fsf.c, - version-etc.c, wait-process.c, xalloc-die.c, xgetcwd.c, - xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xsetenv.c, - xstrndup.c, xstrtoimax.c, xstrtol.c, xstrtoumax.c, yesno.c: + * lib/__fpending.c, lib/acl.c, lib/argmatch.c, lib/argp-help.c, + lib/argp-parse.c, lib/argp-pvh.c, lib/backupfile.c, lib/basename.c, + lib/c-stack.c, lib/calloc.c, lib/check-version.c, lib/cloexec.c, + lib/closeout.c, lib/copy-file.c, lib/creat-safer.c, lib/cycle-check.c, + lib/dirfd.c, lib/dirname.c, lib/dup-safer.c, lib/dup2.c, + lib/euidaccess.c, lib/exclude.c, lib/exitfail.c, lib/fatal-signal.c, + lib/fd-safer.c, lib/file-type.c, lib/fileblocks.c, lib/filemode.c, + lib/filenamecat.c, lib/findprog.c, lib/fnmatch.c, lib/fopen-safer.c, + lib/free.c, lib/fsusage.c, lib/ftruncate.c, lib/full-write.c, + lib/fwriteerror.c, lib/getaddrinfo.c, lib/getcwd.c, lib/getdelim.c, + lib/getline.c, lib/getlogin_r.c, lib/getndelim2.c, lib/getnline.c, + lib/getopt1.c, lib/getpass.c, lib/group-member.c, lib/hard-locale.c, + lib/hash-pjw.c, lib/hash.c, lib/human.c, lib/idcache.c, + lib/inet_ntop.c, lib/isdir.c, lib/long-options.c, lib/malloc.c, + lib/memcasecmp.c, lib/memcmp.c, lib/memcoll.c, lib/memcpy.c, + lib/memmove.c, lib/mkdir-p.c, lib/modechange.c, lib/mountlist.c, + lib/open-safer.c, lib/physmem.c, lib/pipe-safer.c, lib/pipe.c, + lib/poll.c, lib/posixver.c, lib/progname.c, lib/progreloc.c, + lib/putenv.c, lib/quote.c, lib/quotearg.c, lib/readline.c, + lib/readlink.c, lib/realloc.c, lib/regex.c, lib/rename.c, lib/rmdir.c, + lib/rpmatch.c, lib/safe-read.c, lib/same.c, lib/save-cwd.c, + lib/savedir.c, lib/sig2str.c, lib/strcspn.c, lib/strerror.c, + lib/stripslash.c, lib/strncasecmp.c, lib/strndup.c, lib/strnlen.c, + lib/strnlen1.c, lib/strsep.c, lib/strstr.c, lib/strtod.c, + lib/strtoimax.c, lib/strtol.c, lib/strverscmp.c, lib/tempname.c, + lib/time_r.c, lib/userspec.c, lib/utimecmp.c, lib/version-etc-fsf.c, + lib/version-etc.c, lib/wait-process.c, lib/xalloc-die.c, lib/xgetcwd.c, + lib/xmalloc.c, lib/xmemcoll.c, lib/xnanosleep.c, lib/xreadlink.c, + lib/xsetenv.c, lib/xstrndup.c, lib/xstrtoimax.c, lib/xstrtol.c, + lib/xstrtoumax.c, lib/yesno.c: Standardize inclusion of config.h. - * lib/__fpending.h, dirfd.h, getdate.h, human.h, - inttostr.h: Removed inclusion of config.h from header files. + * lib/__fpending.h, lib/dirfd.h, lib/getdate.h, lib/human.h, + lib/inttostr.h: Removed inclusion of config.h from header files. * lib/inttostr.c: Adjusted in-tree users. * lib/timespec.h: Remove superfluous warning to include config.h. - * lib/atexit.c, chdir-long.c chown.c, fchown-stub.c, getgroups.c, - gettimeofday.c, lchown.c, lstat.c, mkdir.c, mkstemp.c, - nanosleep.c, openat.c, raise.c, readtokens0.c, readutmp.c, - unlinkdir.c: Guard inclusion of config.h with HAVE_CONFIG_H. + * lib/atexit.c, lib/chdir-long.c, lib/chown.c, lib/fchown-stub.c, + lib/getgroups.c, lib/gettimeofday.c, lib/lchown.c, lib/lstat.c, + lib/mkdir.c, lib/mkstemp.c, lib/nanosleep.c, lib/openat.c, lib/raise.c, + lib/readtokens0.c, lib/readutmp.c, lib/unlinkdir.c: Guard inclusion of + config.h with HAVE_CONFIG_H. 2005-09-19 Jim Meyering <jim@meyering.net> @@ -7370,7 +7426,8 @@ * lib/regex_internal.h: Blank `pure' for GNUC < 3. * lib/regex_internal.c: Ditto, using this... (__GNUC_PREREQ): ...new macro. - * lib/regcomp.c, regexec.c: Blank `always_inline' for GNUC < 3.1 using... + * lib/regcomp.c, regexec.c: Blank `always_inline' for GNUC < 3.1 + using... (__GNUC_PREREQ): ...this new macro. * lib/strstr.h: Include string.h. Define strstr as a macro here. @@ -7384,7 +7441,8 @@ 2005-09-13 Jim Meyering <jim@meyering.net> - * lib/canon-host.c: Filter through gnu indent and reword comments slightly. + * lib/canon-host.c: Filter through gnu indent and reword comments + slightly. * lib/canon-host.h (ch_strerror_r): Tweak cpp indentation and spacing. 2005-09-13 Derek Price <derek@ximbiot.com> @@ -7393,7 +7451,7 @@ failure. Reported by Jim Meyering <jim@meyering.net>. -2005-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> (tiny change) +2005-09-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * lib/base64.c: Typo. (base64_encode): Put b64str in initialized data section. @@ -7428,7 +7486,8 @@ getaddrinfo. (ch_strerror): New function. (last_cherror): New global. - * lib/getaddrinfo.c: Move include of getaddrinfo.h first to test interface. + * lib/getaddrinfo.c: Move include of getaddrinfo.h first to test + interface. (getaddrinfo): Add AI_CANONNAME functionality. Don't do arithmetic on void *. (freeaddrinfo): Free ai->ai_canonname when set. @@ -7499,7 +7558,8 @@ * lib/glob.c (glob, globfree, __glob_pattern_p): Use old-style function definitions, since that's the preferred style in glibc. - Fix a minor spacing issue, and update copyright notice to match glibc's. + Fix a minor spacing issue, and update copyright notice to match + glibc's. 2005-09-08 Paul Eggert <eggert@cs.ucla.edu> @@ -7512,7 +7572,8 @@ 2005-09-06 Paul Eggert <eggert@cs.ucla.edu> - * lib/regex_internal.h (bitset_not): Add parens to avoid gcc -Wall warning. + * lib/regex_internal.h (bitset_not): Add parens to avoid gcc -Wall + warning. 2005-09-06 Paul Eggert <eggert@cs.ucla.edu> @@ -7534,7 +7595,8 @@ * lib/regex_internal.h (bitset_set, bitset_clear, bitset_contain): (bitset_not, bitset_merge, bitset_set_all, bitset_mask): Likewise. - * lib/regexec.c (check_dst_limits_calc_pos_1, check_subexp_matching_top): + * lib/regexec.c (check_dst_limits_calc_pos_1, + check_subexp_matching_top): (build_trtable, group_nodes_into_DFAstates): Likewise. * lib/regcomp.c (re_compile_fastmap_iter, utf8_sb_map, optimize_utf8): @@ -7545,7 +7607,8 @@ * lib/regcomp.c (optimize_subexps, lower_subexp): Work even if bitset_word has holes in its bitwise representation. * lib/regex_internal.h (BITSET_WORD_BITS): Likewise. - * lib/regexec.c (check_dst_limits_calc_pos_1, check_subexp_matching_top): + * lib/regexec.c (check_dst_limits_calc_pos_1, + check_subexp_matching_top): Likewise. * lib/regex_internal.c (re_string_reconstruct): Don't assume UCHAR_MAX == 255. @@ -7572,7 +7635,7 @@ * 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> * modules/size_max (Makefile.am): Add size_max.h @@ -7610,11 +7673,13 @@ some buffer-overflow issues. These patches are conservative, in the sense that when I couldn't determine whether an overflow was possible, I inserted a run-time check. - * lib/regex_internal.h (re_xmalloc, re_xrealloc, re_x2realloc): New macros. + * lib/regex_internal.h (re_xmalloc, re_xrealloc, re_x2realloc): New + macros. (SIZE_MAX) [!defined SIZE_MAX]: New macro. (re_alloc_oversized, re_x2alloc_oversized, re_xnmalloc): (re_xnrealloc, re_x2nrealloc): New inline functions. - * lib/regcomp.c (init_dfa, analyze, build_range_exp, parse_bracket_exp): + * lib/regcomp.c (init_dfa, analyze, build_range_exp, + parse_bracket_exp): (build_equiv_class, build_charclass): Check for arithmetic overflow in size expression calculations. * lib/regex_internal.c (re_string_realloc_buffers): @@ -7645,8 +7710,8 @@ 2005-09-02 Bruno Haible <bruno@clisp.org> - * config/srclist.txt: lib-link.m4 and lib-prefix.m4 currently have patches - not yet found in the latest gettext release. + * config/srclist.txt: lib-link.m4 and lib-prefix.m4 currently have + patches not yet found in the latest gettext release. 2005-09-01 Paul Eggert <eggert@cs.ucla.edu> @@ -7676,7 +7741,8 @@ (duplicate_node_closure, calc_inveclosure, calc_eclosure): (calc_eclosure_iter, parse_bracket_exp): Use bool for internal variables that are booleans. - * lib/regexec.c (re_search_internal, check_matching, proceed_next_node): + * lib/regexec.c (re_search_internal, check_matching, + proceed_next_node): (set_regs, build_sifted_states, sift_states_bkref): (check_arrival_add_next_nodes, check_arrival_expand_ecl_sub): (expand_bkref_cache, build_trtable, group_nodes_into_DFAstates): @@ -7764,7 +7830,8 @@ (build_collating_symbol, parse_bracket_exp, build_charclass_op): (fetch_number, create_token_tree, mark_opt_subexp): Likewise. - * lib/regex_internal.c (re_string_construct_common, create_ci_newstate): + * lib/regex_internal.c (re_string_construct_common, + create_ci_newstate): (create_cd_newstate, re_string_allocate, re_string_construct): (re_string_realloc_buffers, build_wcs_upper_buffer): (re_string_skip_chars, build_upper_buffer, re_string_translate_buffer): @@ -7777,7 +7844,8 @@ (re_node_set_remove_at, re_dfa_add_node, calc_state_hash): (re_acquire_state, re_acquire_state_context, register_state): Likewise. - * lib/regex.c (match_ctx_init, match_ctx_add_entry, search_cur_bkref_entry): + * lib/regex.c (match_ctx_init, match_ctx_add_entry, + search_cur_bkref_entry): (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init): (re_search_internal, re_search_2_stub, re_search_stub) (re_copy_regs, check_matching, check_halt_state_context, update_regs): @@ -7817,9 +7885,10 @@ (optimize_subexps, lower_subexp): Don't assume 1<<31 has defined behavior on hosts with 32-bit int, since the signed shift might overflow. Use 1u<<31 instead. - * lib/regex_internal.h (bitset_set, bitset_clear, bitset_contain): Likewise. - * lib/regexec.c (check_dst_limits_calc_pos_1, check_subexp_matching_top): + * lib/regex_internal.h (bitset_set, bitset_clear, bitset_contain): Likewise. + * lib/regexec.c (check_dst_limits_calc_pos_1, + check_subexp_matching_top): Likewise. * lib/regcomp.c (optimize_subexps, lower_subexp): Use CHAR_BIT rather than 8, for clarity. @@ -8079,8 +8148,8 @@ re_malloc etc. All callers of calloc changed to use re_calloc. * lib/regex_internal.c (build_wcs_upper_buffer): Return reg_errcode_t, not int. All callers changed. - * lib/regcomp.c (re_compile_fastmap_iter): Don't use alloca (mb_cur_max); - just use an array of size MB_LEN_MAX. + * lib/regcomp.c (re_compile_fastmap_iter): Don't use + alloca (mb_cur_max); just use an array of size MB_LEN_MAX. * lib/regexec.c (push_fail_stack): Use re_realloc, not realloc. (find_recover_state): Change "err" to "*err"; this fixes what appears to be a real bug. @@ -8281,8 +8350,9 @@ 2005-08-24 Paul Eggert <eggert@cs.ucla.edu> - * config/srclist.txt: Remove glibc bug 1233 and add 1236, which supersedes it. - Add glibc bugs 1237, 1238, 1240. Comment out lib/regex.c. + * config/srclist.txt: Remove glibc bug 1233 and add 1236, which + supersedes it. Add glibc bugs 1237, 1238, 1240. Comment out + lib/regex.c. 2005-08-24 Jim Meyering <jim@meyering.net> @@ -8390,10 +8460,12 @@ * lib/regex.h (REG_NOSYS) [!defined _XOPEN_SOURCE && 200112L <= _POSIX_C_SOURCE]: Define, since POSIX requires it as of 2001. - (_REG_ENOSYS) [! (defined _XOPEN_SOURCE || 200112L <= _POSIX_C_SOURCE)]: + (_REG_ENOSYS) + [! (defined _XOPEN_SOURCE || 200112L <= _POSIX_C_SOURCE)]: New private symbol, used to keep the enum signed in all cases. - * lib/regex.h (RE_NO_EMPTY_RANGES): Fix doc bug reported by James Youngman - in <http://lists.gnu.org/archive/html/bug-gnulib/2005-07/msg00132.html>. + * lib/regex.h (RE_NO_EMPTY_RANGES): Fix doc bug reported by James + Youngman in + <http://lists.gnu.org/archive/html/bug-gnulib/2005-07/msg00132.html>. * lib/regex_internal.c (re_string_skip_chars, register_state): (calc_state_hash): @@ -8413,8 +8485,8 @@ * lib/regexec.c (sift_states_bkref): Fix portability bug: the code assumed that reg_errcode_t is a signed type, which is not necessarily true if _XOPEN_SOURCE is not defined. - * lib/regex_internal.c (calc_state_hash): Put 'inline' before type, since - some compilers warn about it otherwise. + * lib/regex_internal.c (calc_state_hash): Put 'inline' before type, + since some compilers warn about it otherwise. 2005-08-20 Paul Eggert <eggert@cs.ucla.edu> @@ -8454,7 +8526,8 @@ (re_acquire_state, re_acquire_state_context, register_state): (create_ci_newstate, create_cd_newstate, free_state): Likewise. - * lib/regexec.c (regexec, re_match, re_search, re_match_2, re_search_2): + * lib/regexec.c (regexec, re_match, re_search, re_match_2, + re_search_2): (re_search_2_stub, re_search_stub, re_copy_regs, re_set_registers): (re_search_internal, prune_impossible_nodes): (acquire_init_state_context, check_matching, static): @@ -8644,7 +8717,8 @@ 2005-08-16 Bruno Haible <bruno@clisp.org> - * m4/strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function always. + * m4/strcase.m4 (gl_FUNC_STRCASECMP): Use the replacement function + always. (gl_PREREQ_STRCASECMP): Use gl_FUNC_MBRTOWC. 2005-08-16 Bruno Haible <bruno@clisp.org> @@ -8716,8 +8790,8 @@ 2005-08-15 Bruno Haible <bruno@clisp.org> - * lib/regex.h (__restrict_arr): Don't define to __restrict if __cplusplus - is defined. + * lib/regex.h (__restrict_arr): Don't define to __restrict if + __cplusplus is defined. 2005-08-14 Jim Meyering <jim@meyering.net> @@ -8728,9 +8802,11 @@ FTS_TIGHT_CYCLE_CHECK if specified, but also with FTS_LOGICAL. Reported by James Youngman in <http://lists.gnu.org/archive/html/bug-gnulib/2005-08/msg00011.html>. - * lib/fts_.h: Mention that with FTS_LOGICAL, we use FTS_TIGHT_CYCLE_CHECK. - * lib/fts.c (fts_cross_check) [FTS_DEBUG]: s/active_dir_ht/fts_cycle.ht/. - This lets us compile with -DFTS_DEBUG, once again. + * lib/fts_.h: Mention that with FTS_LOGICAL, we use + FTS_TIGHT_CYCLE_CHECK. + * lib/fts.c (fts_cross_check) [FTS_DEBUG]: + s/active_dir_ht/fts_cycle.ht/. This lets us compile with -DFTS_DEBUG, + once again. * lib/fts.c [! _LIBC]: Include "lstat.h" rather than rolling our own. * lib/fts.c (fd_safer): Remove decl. Include fcntl--.h rather than unistd-safer.h @@ -8810,7 +8886,7 @@ * 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> * README: Typos. @@ -8873,7 +8949,8 @@ 2005-07-25 Paul Eggert <eggert@cs.ucla.edu> * m4/regex.m4 (gl_INCLUDED_REGEX): Use AC_RUN_IFELSE instead of the - obsolescent AC_TRY_RUN. Include the default includes files, for 'exit'. + obsolescent AC_TRY_RUN. Include the default includes files, for + 'exit'. 2005-07-24 Bruno Haible <bruno@clisp.org> @@ -8964,8 +9041,8 @@ 2005-07-14 Derek Price <derek@ximbiot.com> - * m4/glob.m4 (gl_GLOB): Cache glob interface check result. Add check for - glob symlink bug. + * m4/glob.m4 (gl_GLOB): Cache glob interface check result. Add check + for glob symlink bug. 2005-07-14 Bruno Haible <bruno@clisp.org> @@ -9024,10 +9101,10 @@ 2005-07-08 Paul Eggert <eggert@cs.ucla.edu> - * config/srclist.txt: Comment out regcomp.c, since we have a porting fix - now. - -2005-07-08 Eric Blake <ebb9@byu.net> (tiny change) + * config/srclist.txt: Comment out regcomp.c, since we have a porting + fix now. + +2005-07-08 Eric Blake <ebb9@byu.net> and Paul Eggert <eggert@cs.ucla.edu> * lib/regcomp.c (init_dfa, build_range_exp): Store __btowc value @@ -9042,7 +9119,8 @@ 2005-07-07 Paul Eggert <eggert@cs.ucla.edu> - * m4/backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on pathconf. + * m4/backupfile.m4 (gl_BACKUPFILE): Use AC_CHECK_FUNCS_ONCE on + pathconf. * m4/same.m4 (gl_SAME): Likewise. Require AC_SYS_LONG_FILE_NAMES; bug reported by Gerrit P. Haase. @@ -9070,8 +9148,8 @@ 2005-07-07 Paul Eggert <eggert@cs.ucla.edu> - * config/srclist.txt: Add regcomp.c, regex.c, regex.h, regex_internal.c, - regexec.c. + * config/srclist.txt: Add regcomp.c, regex.c, regex.h, + regex_internal.c, regexec.c. Add regex_internal.h too, but as a comment, since the libc version is currently broken in gnulib mode. @@ -9117,12 +9195,14 @@ 2005-07-03 Paul Eggert <eggert@cs.ucla.edu> Remove the dependency of the strftime module on the tzset module. - * m4/strftime.m4 (gl_FUNC_STRFTIME): Don't require gl_FUNC_TZSET_CLOBBER. + * m4/strftime.m4 (gl_FUNC_STRFTIME): Don't require + gl_FUNC_TZSET_CLOBBER. 2005-07-03 Paul Eggert <eggert@cs.ucla.edu> Remove the dependency of the strftime module on the tzset module. - * lib/strftime.c (my_strftime) [! defined _LIBC && ! HAVE_RUN_TZSET_TEST]: + * lib/strftime.c (my_strftime) + [! defined _LIBC && ! HAVE_RUN_TZSET_TEST]: Copy the input structure, to work around some of the bug with Solaris 2.5.1 and Solaris 2.6. If you still care about these old Solaris releases, you should also use the tzset module, but we won't @@ -9157,7 +9237,8 @@ * lib/mkdir-p.c (make_dir_parents): Don't apply sizeof to a hard-coded type name. Use the variable name instead. - * lib/idcache.c (getuser, getuidbyname, getgroup, getgidbyname): Likewise. + * lib/idcache.c (getuser, getuidbyname, getgroup, getgidbyname): + Likewise. 2005-06-28 Simon Josefsson <jas@extundo.com> @@ -9374,7 +9455,8 @@ (configure.ac): gl_FILE_NAME_CONCAT, not gl_PATH_CONCAT. (Include): filenamecat.h, not path-concat.h. * modules/mkdir-p: Renamed from modules/makepath. - (Files): mkdir-p.h and mkdir-p.c renamed from makepath.h and makepath.c. + (Files): mkdir-p.h and mkdir-p.c renamed from makepath.h and + makepath.c. (configure.ac): gl_MKDIR_PARENTS, not gl_MAKEPATH. (Include): mkdir-p.h, not makepath.h. @@ -9577,12 +9659,12 @@ * lib/unlinkdir.h (cannot_unlink_dir) [UNLINK_CANNOT_UNLINK_DIR]: Now a macro, to pacify GCC. -2005-05-20 Eric Blake <ebb9@byu.net> (tiny change) +2005-05-20 Eric Blake <ebb9@byu.net> * m4/chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs of -1. -2005-05-20 Eric Blake <ebb9@byu.net> (tiny change) +2005-05-20 Eric Blake <ebb9@byu.net> * lib/chown.c (rpl_chown): Return -1 on failure. @@ -9646,10 +9728,11 @@ Sync from coreutils. * lib/unlinkdir.c, unlinkdir.h: New files. - * lib/gethrxtime.c, gethrxtime.h, getpass.h, mountlist.h, path-concat.c, - regex.h, unlocked-io.h, xtime.h: + * 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. - * lib/makepath.c (make_path): Port to hosts where leading "//" is special. + * lib/makepath.c (make_path): Port to hosts where leading "//" is + special. * lib/yesno.c: Include getline.h, not ctype.h. (yesno): Don't remove leading white space; POSIX doesn't allow it. Use getline to remove arbitrary restriction on response length. @@ -9670,86 +9753,106 @@ 2005-05-13 Paul Eggert <eggert@cs.ucla.edu> - * lib/byteswap_.h, getsubopt.h, iconvme.h, strsep.c, strsep.h: + * lib/byteswap_.h, lib/getsubopt.h, lib/iconvme.h, lib/strsep.c, + lib/strsep.h: Change the initial comment to refer to GPL, not LGPL. gnulib-tool will change it to LGPL as needed. - * lib/__fpending.c, acl.c, acl.h, alloca_.h, allocsa.c, allocsa.h, - argmatch.c, argmatch.h, argp-ba.c, argp-eexst.c, argp-fmtstream.c, - argp-fmtstream.h, argp-fs-xinl.c, argp-help.c, argp-namefrob.h, - argp-parse.c, argp-pv.c, argp-pvh.c, argp-xinl.c, argp.h, argz.c, - argz_.h, asnprintf.c, asprintf.c, atanl.c, backupfile.c, - backupfile.h, base64.c, base64.h, basename.c, binary-io.h, - byteswap_.h, c-ctype.c, c-ctype.h, c-stack.c, c-stack.h, - c-strtod.c, calloc.c, canon-host.c, canonicalize.c, - canonicalize.h, ceill.c, chdir-long.c, chdir-long.h, chown.c, - classpath.c, classpath.h, cloexec.c, closeout.c, closeout.h, - concatpath.c, config.charset, copy-file.c, copy-file.h, - cycle-check.c, cycle-check.h, diacrit.c, diacrit.h, dirfd.c, - dirfd.h, dirname.c, dirname.h, dummy.c, dup-safer.c, dup2.c, - eealloc.h, error.c, error.h, euidaccess.c, exclude.c, exclude.h, - execute.c, execute.h, exit.h, exitfail.c, exitfail.h, expl.c, - fatal-signal.c, fatal-signal.h, fd-safer.c, file-type.c, - file-type.h, fileblocks.c, filemode.c, filemode.h, findprog.c, - findprog.h, floorl.c, fnmatch.c, fnmatch_.h, fnmatch_loop.c, - fopen-safer.c, free.c, frexpl.c, fsusage.c, fsusage.h, - full-read.c, full-read.h, full-write.c, full-write.h, - fwriteerror.c, fwriteerror.h, gai_strerror.c, gcd.c, gcd.h, - getaddrinfo.c, getaddrinfo.h, getcwd.c, getcwd.h, getdate.h, - getdate.y, getdomainname.c, getdomainname.h, getgroups.c, - gethostname.c, gethrxtime.c, gethrxtime.h, getline.c, getline.h, - getloadavg.c, getndelim2.c, getndelim2.h, getnline.c, getnline.h, - getopt.c, getopt1.c, getopt_.h, getopt_int.h, getpagesize.h, - getpass.c, getpass.h, getsubopt.c, getsubopt.h, gettext.h, - gettime.c, gettimeofday.c, getugroups.c, getusershell.c, - group-member.c, group-member.h, hard-locale.c, hard-locale.h, - hash-pjw.c, hash-pjw.h, hash.c, hash.h, human.c, human.h, - iconvme.c, iconvme.h, idcache.c, inet_ntop.h, intprops.h, - inttostr.c, inttostr.h, isdir.c, javacomp.c, javacomp.h, - javacomp.sh.in, javaexec.c, javaexec.h, javaexec.sh.in, - lbrkprop.h, lchown.c, ldexpl.c, linebreak.c, linebreak.h, - linebuffer.c, linebuffer.h, localcharset.c, localcharset.h, - logl.c, long-options.c, long-options.h, lstat.c, makepath.c, - makepath.h, malloc.c, mathl.h, mbswidth.c, mbswidth.h, md5.c, - md5.h, memcasecmp.c, memcasecmp.h, memchr.c, memcmp.c, memcoll.c, - memcoll.h, memcpy.c, memmem.c, memmem.h, mempcpy.c, mempcpy.h, - memrchr.c, memrchr.h, memset.c, minmax.h, mkdir.c, mkdtemp.c, - mkdtemp.h, mkstemp.c, mktime.c, modechange.c, modechange.h, - mountlist.c, mountlist.h, nanosleep.c, obstack.c, obstack.h, - openat.c, openat.h, pagealign_alloc.c, pagealign_alloc.h, - path-concat.c, path-concat.h, pathmax.h, pathname.h, physmem.c, - physmem.h, pipe.c, pipe.h, poll.c, poll_.h, posixtm.c, posixtm.h, - posixver.c, printf-args.c, printf-args.h, printf-parse.c, - printf-parse.h, progname.c, progname.h, progreloc.c, putenv.c, - quote.c, quote.h, quotearg.c, quotearg.h, raise.c, readlink.c, - readtokens.c, readtokens.h, readtokens0.c, readtokens0.h, - readutmp.c, readutmp.h, realloc.c, ref-add.sin, ref-del.sin, - regex.c, regex.h, rename.c, rmdir.c, rpmatch.c, safe-read.c, - safe-read.h, safe-write.c, safe-write.h, same.c, same.h, - save-cwd.c, save-cwd.h, savedir.c, savedir.h, setenv.c, setenv.h, - settime.c, sh-quote.c, sh-quote.h, sha1.c, sha1.h, sig2str.c, - sig2str.h, sincosl.c, snprintf.c, snprintf.h, sqrtl.c, - stat-macros.h, stat.c, stdbool_.h, stdint_.h, stdio-safer.h, - stpcpy.c, stpcpy.h, stpncpy.c, stpncpy.h, strcase.h, strcasecmp.c, - strchrnul.c, strchrnul.h, strcspn.c, strdup.c, strdup.h, - strerror.c, strftime.c, strftime.h, stripslash.c, strndup.c, - strndup.h, strnlen.c, strpbrk.c, strpbrk.h, strsep.c, strsep.h, - strstr.c, strstr.h, strtod.c, strtoimax.c, strtok_r.c, strtok_r.h, - strtol.c, strtoll.c, strtoul.c, strtoull.c, strverscmp.c, - strverscmp.h, sysexit_.h, tempname.c, time_r.c, time_r.h, - timegm.c, timegm.h, timespec.h, trigl.c, trigl.h, ucs4-utf16.h, - ucs4-utf8.h, unicodeio.c, unicodeio.h, unistd-safer.h, - unlocked-io.h, unsetenv.c, userspec.c, utf16-ucs4.h, utf8-ucs4.h, - utime.c, utimecmp.c, utimecmp.h, utimens.c, vasnprintf.c, - vasnprintf.h, vasprintf.c, vasprintf.h, version-etc-fsf.c, - version-etc.c, version-etc.h, vsnprintf.c, vsnprintf.h, - w32spawn.h, wait-process.c, wait-process.h, xalloc-die.c, - xalloc.h, xallocsa.c, xallocsa.h, xasprintf.c, xgetcwd.c, - xgetcwd.h, xgetdomainname.c, xgetdomainname.h, xgethostname.c, - xmalloc.c, xmemcoll.c, xnanosleep.c, xreadlink.c, xreadlink.h, - xsetenv.c, xsetenv.h, xsize.h, xstrndup.c, xstrndup.h, xstrtod.c, - xstrtod.h, xstrtoimax.c, xstrtol.c, xstrtol.h, xstrtoumax.c, - xtime.h, xvasprintf.c, xvasprintf.h, yesno.c, yesno.h: + * lib/__fpending.c, lib/acl.c, lib/acl.h, lib/alloca_.h, lib/allocsa.c, + lib/allocsa.h, lib/argmatch.c, lib/argmatch.h, lib/argp-ba.c, + lib/argp-eexst.c, lib/argp-fmtstream.c, lib/argp-fmtstream.h, + lib/argp-fs-xinl.c, lib/argp-help.c, lib/argp-namefrob.h, + lib/argp-parse.c, lib/argp-pv.c, lib/argp-pvh.c, lib/argp-xinl.c, + lib/argp.h, lib/argz.c, lib/argz_.h, lib/asnprintf.c, lib/asprintf.c, + lib/atanl.c, lib/backupfile.c, lib/backupfile.h, lib/base64.c, + lib/base64.h, lib/basename.c, lib/binary-io.h, lib/byteswap_.h, + lib/c-ctype.c, lib/c-ctype.h, lib/c-stack.c, lib/c-stack.h, + lib/c-strtod.c, lib/calloc.c, lib/canon-host.c, lib/canonicalize.c, + lib/canonicalize.h, lib/ceill.c, lib/chdir-long.c, lib/chdir-long.h, + lib/chown.c, lib/classpath.c, lib/classpath.h, lib/cloexec.c, + lib/closeout.c, lib/closeout.h, lib/concatpath.c, lib/config.charset, + lib/copy-file.c, lib/copy-file.h, lib/cycle-check.c, lib/cycle-check.h, + lib/diacrit.c, lib/diacrit.h, lib/dirfd.c, lib/dirfd.h, lib/dirname.c, + lib/dirname.h, lib/dummy.c, lib/dup-safer.c, lib/dup2.c, lib/eealloc.h, + lib/error.c, lib/error.h, lib/euidaccess.c, lib/exclude.c, + lib/exclude.h, lib/execute.c, lib/execute.h, lib/exit.h, + lib/exitfail.c, lib/exitfail.h, lib/expl.c, lib/fatal-signal.c, + lib/fatal-signal.h, lib/fd-safer.c, lib/file-type.c, lib/file-type.h, + lib/fileblocks.c, lib/filemode.c, lib/filemode.h, lib/findprog.c, + lib/findprog.h, lib/floorl.c, lib/fnmatch.c, lib/fnmatch_.h, + lib/fnmatch_loop.c, lib/fopen-safer.c, lib/free.c, lib/frexpl.c, + lib/fsusage.c, lib/fsusage.h, lib/full-read.c, lib/full-read.h, + lib/full-write.c, lib/full-write.h, lib/fwriteerror.c, + lib/fwriteerror.h, lib/gai_strerror.c, lib/gcd.c, lib/gcd.h, + lib/getaddrinfo.c, lib/getaddrinfo.h, lib/getcwd.c, lib/getcwd.h, + lib/getdate.h, lib/getdate.y, lib/getdomainname.c, lib/getdomainname.h, + lib/getgroups.c, lib/gethostname.c, lib/gethrxtime.c, lib/gethrxtime.h, + lib/getline.c, lib/getline.h, lib/getloadavg.c, lib/getndelim2.c, + lib/getndelim2.h, lib/getnline.c, lib/getnline.h, lib/getopt.c, + lib/getopt1.c, lib/getopt_.h, lib/getopt_int.h, lib/getpagesize.h, + lib/getpass.c, lib/getpass.h, lib/getsubopt.c, lib/getsubopt.h, + lib/gettext.h, lib/gettime.c, lib/gettimeofday.c, lib/getugroups.c, + lib/getusershell.c, lib/group-member.c, lib/group-member.h, + lib/hard-locale.c, lib/hard-locale.h, lib/hash-pjw.c, lib/hash-pjw.h, + lib/hash.c, lib/hash.h, lib/human.c, lib/human.h, lib/iconvme.c, + lib/iconvme.h, lib/idcache.c, lib/inet_ntop.h, lib/intprops.h, + lib/inttostr.c, lib/inttostr.h, lib/isdir.c, lib/javacomp.c, + lib/javacomp.h, lib/javacomp.sh.in, lib/javaexec.c, lib/javaexec.h, + lib/javaexec.sh.in, lib/lbrkprop.h, lib/lchown.c, lib/ldexpl.c, + lib/linebreak.c, lib/linebreak.h, lib/linebuffer.c, lib/linebuffer.h, + lib/localcharset.c, lib/localcharset.h, lib/logl.c, lib/long-options.c, + lib/long-options.h, lib/lstat.c, lib/makepath.c, lib/makepath.h, + lib/malloc.c, lib/mathl.h, lib/mbswidth.c, lib/mbswidth.h, lib/md5.c, + lib/md5.h, lib/memcasecmp.c, lib/memcasecmp.h, lib/memchr.c, + lib/memcmp.c, lib/memcoll.c, lib/memcoll.h, lib/memcpy.c, lib/memmem.c, + lib/memmem.h, lib/mempcpy.c, lib/mempcpy.h, lib/memrchr.c, + lib/memrchr.h, lib/memset.c, lib/minmax.h, lib/mkdir.c, lib/mkdtemp.c, + lib/mkdtemp.h, lib/mkstemp.c, lib/mktime.c, lib/modechange.c, + lib/modechange.h, lib/mountlist.c, lib/mountlist.h, lib/nanosleep.c, + lib/obstack.c, lib/obstack.h, lib/openat.c, lib/openat.h, + lib/pagealign_alloc.c, lib/pagealign_alloc.h, lib/path-concat.c, + lib/path-concat.h, lib/pathmax.h, lib/pathname.h, lib/physmem.c, + lib/physmem.h, lib/pipe.c, lib/pipe.h, lib/poll.c, lib/poll_.h, + lib/posixtm.c, lib/posixtm.h, lib/posixver.c, lib/printf-args.c, + lib/printf-args.h, lib/printf-parse.c, lib/printf-parse.h, + lib/progname.c, lib/progname.h, lib/progreloc.c, lib/putenv.c, + lib/quote.c, lib/quote.h, lib/quotearg.c, lib/quotearg.h, lib/raise.c, + lib/readlink.c, lib/readtokens.c, lib/readtokens.h, lib/readtokens0.c, + lib/readtokens0.h, lib/readutmp.c, lib/readutmp.h, lib/realloc.c, + lib/ref-add.sin, lib/ref-del.sin, lib/regex.c, lib/regex.h, + lib/rename.c, lib/rmdir.c, lib/rpmatch.c, lib/safe-read.c, + lib/safe-read.h, lib/safe-write.c, lib/safe-write.h, lib/same.c, + lib/same.h, lib/save-cwd.c, lib/save-cwd.h, lib/savedir.c, + lib/savedir.h, lib/setenv.c, lib/setenv.h, lib/settime.c, + lib/sh-quote.c, lib/sh-quote.h, lib/sha1.c, lib/sha1.h, lib/sig2str.c, + lib/sig2str.h, lib/sincosl.c, lib/snprintf.c, lib/snprintf.h, + lib/sqrtl.c, lib/stat-macros.h, lib/stat.c, lib/stdbool_.h, + lib/stdint_.h, lib/stdio-safer.h, lib/stpcpy.c, lib/stpcpy.h, + lib/stpncpy.c, lib/stpncpy.h, lib/strcase.h, lib/strcasecmp.c, + lib/strchrnul.c, lib/strchrnul.h, lib/strcspn.c, lib/strdup.c, + lib/strdup.h, lib/strerror.c, lib/strftime.c, lib/strftime.h, + lib/stripslash.c, lib/strndup.c, lib/strndup.h, lib/strnlen.c, + lib/strpbrk.c, lib/strpbrk.h, lib/strsep.c, lib/strsep.h, lib/strstr.c, + lib/strstr.h, lib/strtod.c, lib/strtoimax.c, lib/strtok_r.c, + lib/strtok_r.h, lib/strtol.c, lib/strtoll.c, lib/strtoul.c, + lib/strtoull.c, lib/strverscmp.c, lib/strverscmp.h, lib/sysexit_.h, + lib/tempname.c, lib/time_r.c, lib/time_r.h, lib/timegm.c, lib/timegm.h, + lib/timespec.h, lib/trigl.c, lib/trigl.h, lib/ucs4-utf16.h, + lib/ucs4-utf8.h, lib/unicodeio.c, lib/unicodeio.h, lib/unistd-safer.h, + lib/unlocked-io.h, lib/unsetenv.c, lib/userspec.c, lib/utf16-ucs4.h, + lib/utf8-ucs4.h, lib/utime.c, lib/utimecmp.c, lib/utimecmp.h, + lib/utimens.c, lib/vasnprintf.c, lib/vasnprintf.h, lib/vasprintf.c, + lib/vasprintf.h, lib/version-etc-fsf.c, lib/version-etc.c, + lib/version-etc.h, lib/vsnprintf.c, lib/vsnprintf.h, lib/w32spawn.h, + lib/wait-process.c, lib/wait-process.h, lib/xalloc-die.c, lib/xalloc.h, + lib/xallocsa.c, lib/xallocsa.h, lib/xasprintf.c, lib/xgetcwd.c, + lib/xgetcwd.h, lib/xgetdomainname.c, lib/xgetdomainname.h, + lib/xgethostname.c, lib/xmalloc.c, lib/xmemcoll.c, lib/xnanosleep.c, + lib/xreadlink.c, lib/xreadlink.h, lib/xsetenv.c, lib/xsetenv.h, + lib/xsize.h, lib/xstrndup.c, lib/xstrndup.h, lib/xstrtod.c, + lib/xstrtod.h, lib/xstrtoimax.c, lib/xstrtol.c, lib/xstrtol.h, + lib/xstrtoumax.c, lib/xtime.h, lib/xvasprintf.c, lib/xvasprintf.h, + lib/yesno.c, lib/yesno.h: Update FSF postal mail address. 2005-05-13 Paul Eggert <eggert@cs.ucla.edu> @@ -9771,7 +9874,7 @@ * modules/getdate (Makefile.am): Add getdate.c to EXTRA_DIST -2005-05-12 Eric Blake <ebb9@byu.net> (tiny change) +2005-05-12 Eric Blake <ebb9@byu.net> * gnulib-tool (func_import): Sort and uniquify recommended includes. @@ -9845,7 +9948,8 @@ 2005-05-08 Jim Meyering <jim@meyering.net> - * lib/classpath.c (PATH_SEPARATOR): Remove insignificant trailing blank. + * lib/classpath.c (PATH_SEPARATOR): Remove insignificant trailing + blank. 2005-05-06 Paul Eggert <eggert@cs.ucla.edu> @@ -9983,7 +10087,8 @@ 2005-05-01 Paul Eggert <eggert@cs.ucla.edu> - * m4/euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require AC_HEADER_STAT. + * m4/euidaccess.m4 (gl_PREREQ_EUIDACCESS): Don't require + AC_HEADER_STAT. * m4/lchown.m4 (gl_FUNC_CHOWN): Likewise. (gl_PREREQ_CHOWN): Remove. * m4/lstat.m4 (gl_FUNC_LSTAT): Require AC_FUNC_LSTAT instead of calling @@ -10134,7 +10239,7 @@ * lib/getaddrinfo.h: Fix OpenBSD compilation failure, inspired by tiny patch from Yoann Vandoorselaere <yoann@prelude-ids.org>. -2005-03-28 Eric Blake <ebb9@byu.net> (tiny change) +2005-03-28 Eric Blake <ebb9@byu.net> * m4/getcwd-path-max.m4: Return success on systems such as Cygwin where no absolute path name can be longer than PATH_MAX. @@ -10167,7 +10272,8 @@ 2005-03-23 Paul Eggert <eggert@cs.ucla.edu> - * modules/gettext (Files): config/config.rpath -> build-aux/config.rpath + * modules/gettext (Files): config/config.rpath -> + build-aux/config.rpath * modules/iconv (Files): Likewise. Problem reported by Oskar Liljeblad. @@ -10203,9 +10309,11 @@ 2005-03-22 Bruno Haible <bruno@clisp.org> - * config/srclist.txt: Replace target directory 'config' with 'build-aux'. + * config/srclist.txt: Replace target directory 'config' with + 'build-aux'. * config/config.guess, config.sub, config.rpath, depcomp, install-sh: - * config/mdate-sh, missing, mkinstalldirs, texinfo.tex: Move to ../build-aux/. + * config/mdate-sh, missing, mkinstalldirs, texinfo.tex: Move to + ../build-aux/. 2005-03-21 Paul Eggert <eggert@cs.ucla.edu> @@ -10261,19 +10369,22 @@ 2005-03-21 Jim Meyering <jim@meyering.net> and Paul Eggert <eggert@cs.ucla.edu> - * m4/acl.m4, backupfile.m4, c-strtod.m4, canon-host.m4, canonicalize.m4, - cloexec.m4, closeout.m4, dirfd.m4, dirname.m4, exclude.m4, - exitfail.m4, file-type.m4, filemode.m4, fpending.m4, fsusage.m4, - getcwd.m4, getdate.m4, getline.m4, getpagesize.m4, getpass.m4, - getugroups.m4, group-member.m4, hard-locale.m4, hash.m4, human.m4, - idcache.m4, inttostr.m4, long-options.m4, makepath.m4, md5.m4, - memcasecmp.m4, memcoll.m4, modechange.m4, mountlist.m4, nanosleep.m4, - path-concat.m4, pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, - quote.m4, quotearg.m4, readtokens.m4, readutmp.m4, safe-read.m4, - safe-write.m4, same.m4, savedir.m4, settime.m4, sha1.m4, sig2str.m4, - strdup.m4, strftime.m4, strndup.m4, strverscmp.m4, timespec.m4, - unlocked-io.m4, userspec.m4, utimecmp.m4, utimens.m4, xalloc.m4, - xnanosleep.m4, xstrtol.m4, yesno.m4: + * m4/acl.m4, m4/backupfile.m4, m4/c-strtod.m4, m4/canon-host.m4, + m4/canonicalize.m4, m4/cloexec.m4, m4/closeout.m4, m4/dirfd.m4, + m4/dirname.m4, m4/exclude.m4, m4/exitfail.m4, m4/file-type.m4, + m4/filemode.m4, m4/fpending.m4, m4/fsusage.m4, m4/getcwd.m4, + m4/getdate.m4, m4/getline.m4, m4/getpagesize.m4, m4/getpass.m4, + m4/getugroups.m4, m4/group-member.m4, m4/hard-locale.m4, m4/hash.m4, + m4/human.m4, m4/idcache.m4, m4/inttostr.m4, m4/long-options.m4, + m4/makepath.m4, m4/md5.m4, m4/memcasecmp.m4, m4/memcoll.m4, + m4/modechange.m4, m4/mountlist.m4, m4/nanosleep.m4, m4/path-concat.m4, + m4/pathmax.m4, m4/physmem.m4, m4/posixtm.m4, m4/posixver.m4, + m4/quote.m4, m4/quotearg.m4, m4/readtokens.m4, m4/readutmp.m4, + m4/safe-read.m4, m4/safe-write.m4, m4/same.m4, m4/savedir.m4, + m4/settime.m4, m4/sha1.m4, m4/sig2str.m4, m4/strdup.m4, m4/strftime.m4, + m4/strndup.m4, m4/strverscmp.m4, m4/timespec.m4, m4/unlocked-io.m4, + m4/userspec.m4, m4/utimecmp.m4, m4/utimens.m4, m4/xalloc.m4, + m4/xnanosleep.m4, m4/xstrtol.m4, m4/yesno.m4: Use AC_LIBSOURCES and AC_LIBOBJ to indicate source and object files for these modules. @@ -10295,7 +10406,8 @@ 2005-03-16 Bruno Haible <bruno@clisp.org> - * lib/stdint_.h: Use HAVE_LONG_LONG_64BIT instead of HAVE_LONGLONG_64BIT. + * lib/stdint_.h: Use HAVE_LONG_LONG_64BIT instead of + HAVE_LONGLONG_64BIT. 2005-03-15 Paul Eggert <eggert@cs.ucla.edu> @@ -10320,13 +10432,14 @@ 2005-03-15 Bruno Haible <bruno@clisp.org> - * lib/regex.c (byte_re_match_2_internal): Rename local variable 'not' to - 'negate'. + * lib/regex.c (byte_re_match_2_internal): Rename local variable 'not' + to 'negate'. * lib/regex.c (byte_re_match_2_internal): Reduce scope of same_str_p variable. - * lib/regex.c (EXTEND_BUFFER, regcomp): Cast the realloc/malloc results. + * lib/regex.c (EXTEND_BUFFER, regcomp): Cast the realloc/malloc + results. 2005-03-14 Simon Josefsson <jas@extundo.com> @@ -10372,7 +10485,8 @@ (INT_STRLEN_BOUND): Remove. * lib/human.c: Include intprops.h. (group_number): Use INT_STRLEN_BOUND instead of rolling it ourself. - * lib/human.h (LONGEST_HUMAN_READABLE): Use 146/485 rather than 302/1000. + * lib/human.h (LONGEST_HUMAN_READABLE): Use 146/485 rather than + 302/1000. * lib/inttostr.h: Include intprops.h instead of limits.h. (INT_STRLEN_BOUND, INT_BUFSIZE_BOUND): Remove. * lib/mktime.c (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT): New macros, @@ -10438,10 +10552,10 @@ 2005-03-02 Bruno Haible <bruno@clisp.org> - * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because of - AIX, the replacement has to be done only after <string.h> is included, - therefore not in config.h. stpncpy.h does the replacement, and - stpncpy.c uses it. + * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Undo the replacement here. Because + of AIX, the replacement has to be done only after <string.h> is + included, therefore not in config.h. stpncpy.h does the replacement, + and stpncpy.c uses it. 2005-03-02 Bruno Haible <bruno@clisp.org> @@ -10531,7 +10645,8 @@ 2005-02-23 Jim Meyering <jim@meyering.net> - * m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's change. + * m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Revert yesteday's + change. Thanks to Bruno Haible for catching it. 2005-02-22 Simon Josefsson <jas@extundo.com> @@ -10550,7 +10665,8 @@ 2005-02-22 Jim Meyering <jim@meyering.net> - * m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: s/ifndef/ifdef/. + * m4/extensions.m4 (gl_USE_SYSTEM_EXTENSIONS): Fix typo: + s/ifndef/ifdef/. 2005-02-20 Neil Conway <neilc@samurai.com> @@ -10719,7 +10835,8 @@ * lib/chdir-long.h (chdir_long): Update prototype. * lib/openat.c (fdopendir, fstatat): New functions. - * lib/openat.h: Include headers required for use of DIR and struct stat. + * lib/openat.h: Include headers required for use of DIR and struct + stat. [AT_SYMLINK_NOFOLLOW]: Define. (fdopendir, fstatat): Add prototypes. @@ -10754,7 +10871,8 @@ 2005-01-20 Paul Eggert <eggert@cs.ucla.edu> - * m4/save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume it. + * m4/save-cwd.m4 (gl_SAVE_CWD): Remove check for fcntl; we now assume + it. 2005-01-20 Paul Eggert <eggert@cs.ucla.edu> @@ -10851,29 +10969,32 @@ 2005-01-18 Bruno Haible <bruno@clisp.org> - * m4/allocsa.m4, codeset.m4, copy-file.m4, eaccess.m4, eealloc.m4: - * m4/eoverflow.m4, execute.m4, fatal-signal.m4, findprog.m4, glibc21.m4: - * m4/iconv.m4, intmax_t.m4, inttypes_h.m4, lib-ld.m4, lib-link.m4: - * m4/lib-prefix.m4, linebreak.m4, localcharset.m4, longdouble.m4: - * m4/longlong.m4, mbrtowc.m4, mbstate_t.m4, mbswidth.m4, mkdtemp.m4: - * m4/pipe.m4, readlink.m4, safe-read.m4, safe-write.m4, setenv.m4: - * m4/sig_atomic_t.m4, signalblocking.m4, signed.m4, size_max.m4: - * m4/ssize_t.m4, stdbool.m4, stdint_h.m4, stpcpy.m4, stpncpy.m4: - * m4/strcase.m4, strcspn.m4, strpbrk.m4, strstr.m4, ucs4-utf.m4: - * m4/uintmax_t.m4, ulonglong.m4, unicodeio.m4, utf-ucs4.m4, vasnprintf.m4: - * m4/vasprintf.m4, wait-process.m4, wchar_t.m4, wint_t.m4, xsize.m4: + * m4/allocsa.m4, m4/codeset.m4, m4/copy-file.m4, m4/eaccess.m4: + * m4/eealloc.m4, m4/eoverflow.m4, m4/execute.m4, m4/fatal-signal.m4: + * m4/findprog.m4, m4/glibc21.m4, m4/iconv.m4, m4/intmax_t.m4: + * m4/inttypes_h.m4, m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: + * m4/linebreak.m4, m4/localcharset.m4, m4/longdouble.m4: + * m4/longlong.m4, m4/mbrtowc.m4, m4/mbstate_t.m4, m4/mbswidth.m4: + * m4/mkdtemp.m4, m4/pipe.m4, m4/readlink.m4, m4/safe-read.m4: + * m4/safe-write.m4, m4/setenv.m4, m4/sig_atomic_t.m4: + * m4/signalblocking.m4, m4/signed.m4, m4/size_max.m4, m4/ssize_t.m4: + * m4/stdbool.m4, m4/stdint_h.m4, m4/stpcpy.m4, m4/stpncpy.m4: + * m4/strcase.m4, m4/strcspn.m4, m4/strpbrk.m4, m4/strstr.m4: + * m4/ucs4-utf.m4, m4/uintmax_t.m4, m4/ulonglong.m4, m4/unicodeio.m4: + * m4/utf-ucs4.m4, m4/vasnprintf.m4, m4/vasprintf.m4: + * m4/wait-process.m4, m4/wchar_t.m4, m4/wint_t.m4, m4/xsize.m4: Use an all-permissive copyright notice, recommended by RMS. 2005-01-18 Bob Proulx <bob@proulx.com> - * lib/obstack.c [DEFAULT_ALIGNMENT]: Use an intermediate type to simplify - offsetof() macro construct to avoid compile failure with native HP-UX - 11.0 ANSI C compiler. + * lib/obstack.c [DEFAULT_ALIGNMENT]: Use an intermediate type to + simplify offsetof() macro construct to avoid compile failure with + native HP-UX 11.0 ANSI C compiler. 2005-01-17 Bruno Haible <bruno@clisp.org> - * lib/stpncpy.c: Remove HAVE_STPNCPY and gnu_stpncpy renaming, redundant - because stpncpy.m4 takes care of it. + * lib/stpncpy.c: Remove HAVE_STPNCPY and gnu_stpncpy renaming, + redundant because stpncpy.m4 takes care of it. 2005-01-17 Bruno Haible <bruno@clisp.org> @@ -10881,11 +11002,13 @@ 2005-01-17 Bruno Haible <bruno@clisp.org> - * lib/progreloc.c (xstrdup): Define as strdup if no xmalloc should be used. + * lib/progreloc.c (xstrdup): Define as strdup if no xmalloc should be + used. 2005-01-17 Bruno Haible <bruno@clisp.org> - * lib/fwriteerror.h (fwriteerror): Change specification to include fclose. + * lib/fwriteerror.h (fwriteerror): Change specification to include + fclose. * lib/fwriteerror.c: Include <stdbool.h>. (fwriteerror): At the end, close the file stream. Record whether stdout was already closed. @@ -10921,8 +11044,8 @@ as the mkstemp template, use a temporary directory and an 8.3-friendly template to avoid trouble on systems like DJGPP. Reported by Juan M. Guerrero via Stepan Kasal. - * m4/(gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of close. - Remove the temporary directory right away, rather than waiting + * m4/(gl_FUNC_MKSTEMP): Include <unistd.h> for the declaration of + close. Remove the temporary directory right away, rather than waiting for configure's at-exit trap code to do it. Suggestion from Stepan Kasal. @@ -11303,15 +11426,15 @@ 2004-11-17 Paul Eggert <eggert@cs.ucla.edu> - * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc implementations - that mishandle size_t overflow. + * m4/calloc.m4 (_AC_FUNC_CALLOC_IF): Check for buggy calloc + implementations that mishandle size_t overflow. 2004-11-17 Paul Eggert <eggert@cs.ucla.edu> * lib/realloc.c (rpl_realloc): Call 'free' if n==0, since realloc might fail. Problem reported by Yoann Vandoorselaere. - * lib/calloc.c (rpl_calloc): Defend against buggy calloc implementations - that mishandle size_t overflow. + * lib/calloc.c (rpl_calloc): Defend against buggy calloc + implementations that mishandle size_t overflow. 2004-11-16 Paul Eggert <eggert@cs.ucla.edu> @@ -11345,8 +11468,8 @@ * lib/getopt_.h (__getopt_argv_const): Bring it back. (getopt_long, getopt_long_only): Use it. - * lib/getopt.c (_getopt_initialize, _getopt_internal_r, _getopt_internal): - New arg POSIXLY_CORRECT. All callers changed. + * lib/getopt.c (_getopt_initialize, _getopt_internal_r, + _getopt_internal): New arg POSIXLY_CORRECT. All callers changed. (getopt): Argv is now char * const *, as per standard. (_getopt_internal_r, _getopt_internal): Argv is now char **, not char *__getopt_argv_const *. @@ -11420,12 +11543,12 @@ we can stop lying to compilers about the constness of argv when we are compiled outside glibc. (getopt, getopt_long, getopt_long_only): Use it. - * lib/getopt.c (_getopt_initialize, _getopt_internal_r, _getopt_internal, - getopt): Likewise. + * lib/getopt.c (_getopt_initialize, _getopt_internal_r, + _getopt_internal, getopt): Likewise. * lib/getopt1.c (getopt_long, _getopt_long_r, getopt_long_only, _getopt_long_only_r): Likewise. - * lib/getopt_int.h (_getopt_internal, _getopt_internal_r, _getopt_long_r, - _getopt_long_only_r): Likewise. + * lib/getopt_int.h (_getopt_internal, _getopt_internal_r, + _getopt_long_r, _getopt_long_only_r): Likewise. * lib/getopt_.h [defined __GETOPT_PREFIX && !defined __need_getopt]: Include <stdlib.h> and <stdio.h>, and <unistd.h> if available. @@ -11732,14 +11855,15 @@ 2004-10-07 Bruno Haible <bruno@clisp.org> - * lib/snprintf.c (snprintf): Avoid a memory allocation if the result fits - into the provided buffer. + * lib/snprintf.c (snprintf): Avoid a memory allocation if the result + fits into the provided buffer. 2004-10-06 Paul Eggert <eggert@cs.ucla.edu> * lib/diacrit.c, diacrit.h: Add GPL notice. - * lib/atanl.c, logl.c: Add GPL notice, to match glibc's added LGPL notice. + * lib/atanl.c, logl.c: Add GPL notice, to match glibc's added LGPL + notice. * lib/atanl.c (atanl): Keep the code as similar to glibc as possible. * lib/logl.c (logl): Keep the code as similar to glibc as possible. This avoids a potential constant-folding bug. @@ -12032,9 +12156,10 @@ 2004-09-08 Bruno Haible <bruno@clisp.org> - * lib/vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting length - is > INT_MAX. - * lib/vasprintf.c (vasprintf): Don't test for length > INT_MAX any more. + * lib/vasnprintf.c (VASNPRINTF): Signal EOVERFLOW if the resulting + length is > INT_MAX. + * lib/vasprintf.c (vasprintf): Don't test for length > INT_MAX any + more. 2004-09-08 Bruno Haible <bruno@clisp.org> @@ -12176,7 +12301,8 @@ [defined _LIBC]: Include <shlib-compat.h>. (_obstack) [defined _LIBC]: Remove after 2.3.4. - * lib/settime.c (settime): Recode to avoid warning with Sun Forte C 6U2. + * lib/settime.c (settime): Recode to avoid warning with + Sun Forte C 6U2. * lib/strverscmp.c: Convert to UTF-8. @@ -12243,8 +12369,9 @@ * lib/xalloc-die.c: New files. * lib/xalloc.h (xalloc_fail_func, xalloc_msg_memory_exhausted): Remove. All uses removed. - * lib/xmalloc.c (xalloc_fail_func, xalloc_msg_memory_exhausted): Likewise. - Move inclusions of gettext.h, error.h, exitfail.h to xalloc-die.c. + * lib/xmalloc.c (xalloc_fail_func, xalloc_msg_memory_exhausted): + Likewise. Move inclusions of gettext.h, error.h, exitfail.h to + xalloc-die.c. (_, N_, xalloc_die): Move to xalloc-die.c. * lib/userspec.c (parse_user_spaec): Use xstrdup rather than strdup, so that we needn't mess with xalloc_msg_memory_exhausted. @@ -12313,23 +12440,27 @@ we don't compile these functions for tar. More merges from coreutils. - * lib/raise.c, readtokens0.h, readtokens0.c, strftime.h, utimens.h, - utimens.c, utimecmp.h, utimecmp.c, xnanosleep.h, xnanosleep.c, - 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, argmatch.h, argmatch.c, backupfile.h, backupfile.c, - euidaccess.c, filemode.c, closeout.c, dup2.c, exclude.c, - fileblocks.c, filemode.c, fnmatch.c, fnmtahc_loop.c, - fopen-safer.c, fsusage.c, fsusage.h, ftruncate.c, full-write.c, - getdate.y, getloadavg.c, getugroups.c, hard-locale.c, hard-locale.h, - hash.c, human.c, human.h, lchown.c, lchown.h, makepath.c, makepath.h, - md5.c, md5.h, memchr.c, memcoll.c, memrchr.c, modechange.c, - modechange.h, mountlist.c, mountlist.h, nanosleep.c, posixtm.c, - putenv.c, quotearg.c, quotearg.h, readtokens.c, readutmp.c, - readutmp.h, rmdir.c, safe-read.c, save-cwd.c, savedir.c, setenv.c, - sig2str.c, stat.c, strtoimax.c, strverscmp.c, userspec.c, utime.c, - version-etc.c., xgethostname.c, xmemcoll.c, xreadlink.c, xstrtod.c, - xstrtod.h, xstrtoimax.c, xstrtol.c, xstrtol.h, xstrtoumax.c: + * lib/yesno.c, lib/argmatch.h, lib/argmatch.c, lib/backupfile.h, + lib/backupfile.c, lib/euidaccess.c, lib/filemode.c, lib/closeout.c, + lib/dup2.c, lib/exclude.c, lib/fileblocks.c, lib/filemode.c, + lib/fnmatch.c, lib/fnmtahc_loop.c, lib/fopen-safer.c, lib/fsusage.c, + lib/fsusage.h, lib/ftruncate.c, lib/full-write.c, lib/getdate.y, + lib/getloadavg.c, lib/getugroups.c, lib/hard-locale.c, + lib/hard-locale.h, lib/hash.c, lib/human.c, lib/human.h, lib/lchown.c, + lib/lchown.h, lib/makepath.c, lib/makepath.h, lib/md5.c, lib/md5.h, + lib/memchr.c, lib/memcoll.c, lib/memrchr.c, lib/modechange.c, + lib/modechange.h, lib/mountlist.c, lib/mountlist.h, lib/nanosleep.c, + lib/posixtm.c, lib/putenv.c, quotearg.c, lib/quotearg.h, + lib/readtokens.c, lib/readutmp.c, lib/readutmp.h, lib/rmdir.c, + lib/safe-read.c, lib/save-cwd.c, lib/savedir.c, lib/setenv.c, + lib/sig2str.c, lib/stat.c, lib/strtoimax.c, lib/strverscmp.c, + lib/userspec.c, lib/utime.c, lib/version-etc.c., lib/xgethostname.c, + lib/xmemcoll.c, lib/xreadlink.c, lib/xstrtod.c, lib/xstrtod.h, + lib/xstrtoimax.c, lib/xstrtol.c, lib/xstrtol.h, lib/xstrtoumax.c: Import changes from coreutils. 2004-08-05 Simon Josefsson <jas@extundo.com> @@ -12381,8 +12512,8 @@ (print_errno_message) [!LIBC]: Fall back on strerror if __strerror_r fails. - * lib/path-concat.c (mempcpy): Don't define if a system header defines it. - Don't include stdio.h, stdlib.h, unistd.h, strdup.h. + * lib/path-concat.c (mempcpy): Don't define if a system header defines + it. Don't include stdio.h, stdlib.h, unistd.h, strdup.h. (longest_relative_suffix): New function. (path_concat): Use it. Assume first argument is not NULL. Port to DOS. Omit redundant separators. @@ -12506,8 +12637,9 @@ 2004-06-22 Paul Eggert <eggert@cs.ucla.edu> - * config/srclist-update: Don't insist on "USA." before the close-comment, - as libtool omits the period and puts the */ on a separate line. + * config/srclist-update: Don't insist on "USA." before the + close-comment, as libtool omits the period and puts the */ on a + separate line. * config/srclist.txt: Add argz.c, argz_.h, argz.m4. * config/srclistvars.sh: Add LIBTOOL (for eggert only). @@ -12584,7 +12716,8 @@ * lib/.cppi-disable: Add alloca_.h, allocsa.h, exit.h, getndelim2.h, gettext.h, localcharset.h, strdup.h, strndup.h, strtoul.c, time_r.h. - * lib/.cvsignore: Add alloca.h, fnmatch.h, poll.h, stdbool.h, sysexits.h. + * lib/.cvsignore: Add alloca.h, fnmatch.h, poll.h, stdbool.h, + sysexits.h. 2004-06-01 Jim Meyering <jim@meyering.net> @@ -12677,12 +12810,13 @@ 2004-05-17 Derek R. Price <derek@ximbiot.com> Paul Eggert <eggert@cs.ucla.edu> - * lib/argp-help.c, argp-parse.c: Assume <alloca.h> rather than freecoding. + * lib/argp-help.c, argp-parse.c: Assume <alloca.h> rather than + freecoding. 2004-05-17 Bruno Haible <bruno@clisp.org> - * lib/vasnprintf.c (VASNPRINTF): Correctly handle the case of a precision - that consists of a '.' followed by an empty digit string. + * lib/vasnprintf.c (VASNPRINTF): Correctly handle the case of a + precision that consists of a '.' followed by an empty digit string. Patch by Tor Lillqvist <tml@iki.fi>. 2004-05-16 Paul Eggert <eggert@cs.ucla.edu> @@ -12772,14 +12906,14 @@ 2004-04-28 Bruno Haible <bruno@clisp.org> - * lib/findprog.c (find_in_path): Treat Cygwin like Windows, since it also - implicitly appends .exe to executables. + * lib/findprog.c (find_in_path): Treat Cygwin like Windows, since it + also implicitly appends .exe to executables. * lib/localcharset.c (ISSLASH): Treat Cygwin like Windows, since it now accepts Windows pathnames. - * lib/pathname.h (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN): Treat - Cygwin like Windows, since it now accepts Windows pathnames. - * lib/progreloc.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN): Treat - Cygwin like Windows, since it now accepts Windows pathnames. + * lib/pathname.h (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN): + Treat Cygwin like Windows, since it now accepts Windows pathnames. + * lib/progreloc.c (ISSLASH, IS_PATH_WITH_DIR, FILESYSTEM_PREFIX_LEN): + Treat Cygwin like Windows, since it now accepts Windows pathnames. Reported by Derek Robert Price <derek@ximbiot.com>. 2004-04-21 Karl Berry <karl@gnu.org> @@ -12810,7 +12944,8 @@ 2004-04-20 Jim Meyering <jim@meyering.net> - * lib/getndelim2.c (getndelim2): Upon realloc failure, don't leak memory. + * lib/getndelim2.c (getndelim2): Upon realloc failure, don't leak + memory. 2004-04-20 Jim Meyering <jim@meyering.net> Bruno Haible <bruno@clisp.org> @@ -12835,27 +12970,30 @@ * m4/prereq.m4: Don't forbid jm_ prefix. - * m4/afs.m4, allocsa.m4, assert.m4, backupfile.m4, bison.m4: - * m4/check-decl.m4, chown.m4, d-ino.m4, d-type.m4, dirname.m4, dos.m4: - * m4/error.m4, fpending.m4, fstypename.m4, fsusage.m4, ftruncate.m4: - * m4/getdate.m4, getgroups.m4, gettext.m4, glibc21.m4, group-member.m4: - * m4/human.m4, intmax.m4, intmax_t.m4, inttostr.m4, inttypes.m4: - * m4/inttypes_h.m4, jm-macros.m4, jm-winsz1.m4, jm-winsz2.m4, lchown.m4: - * m4/lib-check.m4, link-follow.m4, localcharset.m4, longlong.m4: - * m4/ls-mntd-fs.m4, lstat.m4, makepath.m4, mbrtowc.m4, mbswidth.m4: - * m4/memchr.m4, memcmp.m4, mkdtemp.m4, mkstemp.m4, mountlist.m4: - * m4/nanosleep.m4, path-concat.m4, perl.m4, prereq.m4, putenv.m4: - * m4/quotearg.m4, regex.m4, stat.m4, stdint_h.m4, strftime.m4: - * m4/strtoimax.m4, strtoll.m4, strtoull.m4, strtoumax.m4, timespec.m4: - * m4/uintmax_t.m4, ulonglong.m4, unlink-busy.m4, unlocked-io.m4: - * m4/uptime.m4, utimbuf.m4, utime.m4, utimes-null.m4, vasnprintf.m4: - * m4/xstrtoimax.m4, xstrtol.m4, xstrtoumax.m4: + * m4/afs.m4, m4/allocsa.m4, m4/assert.m4, m4/backupfile.m4: + * m4/bison.m4, m4/check-decl.m4, m4/chown.m4, m4/d-ino.m4: + * m4/d-type.m4, m4/dirname.m4, m4/dos.m4, m4/error.m4, m4/fpending.m4: + * m4/fstypename.m4, m4/fsusage.m4, m4/ftruncate.m4, m4/getdate.m4: + * m4/getgroups.m4, m4/gettext.m4, m4/glibc21.m4, m4/group-member.m4: + * m4/human.m4, m4/intmax.m4, m4/intmax_t.m4, m4/inttostr.m4: + * m4/inttypes.m4, m4/inttypes_h.m4, m4/jm-macros.m4, m4/jm-winsz1.m4: + * m4/jm-winsz2.m4, m4/lchown.m4, m4/lib-check.m4, m4/link-follow.m4: + * m4/localcharset.m4, m4/longlong.m4, m4/ls-mntd-fs.m4, m4/lstat.m4: + * m4/makepath.m4, m4/mbrtowc.m4, m4/mbswidth.m4, m4/memchr.m4: + * m4/memcmp.m4, m4/mkdtemp.m4, m4/mkstemp.m4, m4/mountlist.m4: + * m4/nanosleep.m4, m4/path-concat.m4, m4/perl.m4, m4/prereq.m4: + * m4/putenv.m4, m4/quotearg.m4, m4/regex.m4, m4/stat.m4: + * m4/stdint_h.m4, m4/strftime.m4, m4/strtoimax.m4, m4/strtoll.m4: + * m4/strtoull.m4, m4/strtoumax.m4, m4/timespec.m4, m4/uintmax_t.m4: + * m4/ulonglong.m4, m4/unlink-busy.m4, m4/unlocked-io.m4, m4/uptime.m4, + * m4/utimbuf.m4, m4/utime.m4, m4/utimes-null.m4, m4/vasnprintf.m4: + * m4/xstrtoimax.m4, m4/xstrtol.m4, m4/xstrtoumax.m4: Change jm_ to gl_ in AC_DEFINE'd names. Update all uses. 2004-04-18 Jim Meyering <jim@meyering.net> - * lib/readutmp.c (read_utmp) [UTMP_NAME_FUNCTION]: Upon realloc failure, - don't leak memory and do call END_UTMP_ENT. + * lib/readutmp.c (read_utmp) [UTMP_NAME_FUNCTION]: Upon realloc + failure, don't leak memory and do call END_UTMP_ENT. 2004-04-16 Jim Meyering <jim@meyering.net> @@ -12865,7 +13003,8 @@ 2004-04-11 Paul Eggert <eggert@twinsun.com> - * lib/inttostr.h: Include <limits.h> unconditionally, since we assume C89. + * lib/inttostr.h: Include <limits.h> unconditionally, since we assume + C89. (CHAR_BIT): Remove, since we assume C89. Include <stdint.h> if available, as per current Autoconf CVS advice. @@ -13018,8 +13157,9 @@ 2004-03-18 Paul Eggert <eggert@twinsun.com> Bruno Haible <bruno@clisp.org> - * lib/mbswidth.h: Include <wchar.h> only if HAVE_DECL_MBSWIDTH_IN_WCHAR_H, - not on all platforms that have <wchar.h>. + * lib/mbswidth.h: Include <wchar.h> only if + HAVE_DECL_MBSWIDTH_IN_WCHAR_H, not on all platforms that have + <wchar.h>. * lib/mbswidth.c: Include <stdio.h> and <time.h> before <wchar.h>. 2004-03-09 Paul Eggert <eggert@twinsun.com> @@ -13199,11 +13339,13 @@ 2004-01-20 Bruno Haible <bruno@clisp.org> * lib/wait-process.c (wait_subprocess): Add ignore_sigpipe argument. - * lib/wait-process.c (wait_subprocess): Likewise. Handle SIGPIPE specially. + * lib/wait-process.c (wait_subprocess): Likewise. Handle SIGPIPE + specially. 2004-01-20 Bruno Haible <bruno@clisp.org> - * lib/wait-process.c (wait_process): Disable the 2003-10-31 waitid() patch. + * lib/wait-process.c (wait_process): Disable the 2003-10-31 waitid() + patch. 2004-01-20 Bruno Haible <bruno@clisp.org> @@ -13396,7 +13538,8 @@ 2003-11-22 Jim Meyering <jim@meyering.net> - * lib/xmalloc.c (x2nrealloc_inline): Fix typos in comments: s/size/size_t/. + * lib/xmalloc.c (x2nrealloc_inline): Fix typos in comments: + s/size/size_t/. 2003-11-21 Karl Berry <karl@gnu.org> @@ -13464,7 +13607,8 @@ 2003-11-16 Bruno Haible <bruno@clisp.org> Update from GNU gettext. - * lib/printf-parse.c: Generalize to it can be compiled for wide strings. + * lib/printf-parse.c: Generalize to it can be compiled for wide + strings. (PRINTF_PARSE, CHAR_T, DIRECTIVE, DIRECTIVES): New macros. * lib/vasnprintf.c: Generalize to it can be compiled for wide strings. (VASNPRINTF, CHAR_T, DIRECTIVE, DIRECTIVES, PRINTF_PARSE, USE_SNPRINTF, @@ -13592,8 +13736,8 @@ 2003-11-03 Bruno Haible <bruno@clisp.org> - * lib/wait-process.c (wait_process): Use waitid with WNOWAIT if available, - to avoid (extremely rare) race condition. + * lib/wait-process.c (wait_process): Use waitid with WNOWAIT if + available, to avoid (extremely rare) race condition. Suggested by Paul Eggert. 2003-11-02 Karl Berry <karl@gnu.org> @@ -13659,8 +13803,8 @@ using x2realloc rather than xmalloc/xrealloc. Also, fix a C conformance bug: the old code used a pointer after freeing the storage that it addressed. - * lib/hash.c (hash_initialize): Simplify the code by using xalloc_oversized - rather than doing it by hand. + * lib/hash.c (hash_initialize): Simplify the code by using + xalloc_oversized rather than doing it by hand. * lib/getgroups.c (getgroups): Don't use xrealloc, since we don't need the buffer preserved. Use free and xmalloc instead. * lib/quotearg.c (quotearg_n_options): Likewise. @@ -13715,7 +13859,8 @@ with the old contents of xnrealloc. (xnrealloc, xrealloc): Use it. - * lib/alloc.c (alloca): xmalloc cannot return NULL, so don't test for that. + * lib/alloc.c (alloca): xmalloc cannot return NULL, so don't test for + that. 2003-10-26 Karl Berry <karl@gnu.org> @@ -13785,7 +13930,8 @@ (fputs) [defined _LIBC && defined USE_IN_LIBIO]: Remove. [defined _LIBC && !defined USE_IN_LIBIO]: Include <libio/iolibio.h>. - * lib/obstack.h: Indenting cleanup, to make it easier to merge with glibc. + * lib/obstack.h: Indenting cleanup, to make it easier to merge with + glibc. (obstack_grow, obstack_grow0): Remove unnecessary parentheses around arg to memcpy. @@ -13816,7 +13962,8 @@ 2003-10-19 Jim Meyering <jim@meyering.net> - * lib/vasnprintf.c (vasnprintf): Work around losing snprintf on HPUX 10.20. + * lib/vasnprintf.c (vasnprintf): Work around losing snprintf on + HPUX 10.20. 2003-10-18 Karl Berry <karl@gnu.org> @@ -13838,7 +13985,8 @@ 2003-10-16 Jim Meyering <jim@meyering.net> - * lib/xmalloc.c: Include <string.h>, for declarations of memset and memcpy. + * lib/xmalloc.c: Include <string.h>, for declarations of memset and + memcpy. 2003-10-15 Paul Eggert <eggert@twinsun.com> @@ -14003,8 +14151,8 @@ (version_etc): Make this function variadic. Call version_etc_va. Suggestion from Gary V. Vaughan. - * lib/long-options.h (parse_long_options): Change prototype: the authors - string is moved to the end and becomes variadic. + * lib/long-options.h (parse_long_options): Change prototype: the + authors string is moved to the end and becomes variadic. * lib/long-options.c: Include stdarg.h. (parse_long_options): Make this function variadic, too. Call version_etc_va, not version_etc. @@ -14061,8 +14209,8 @@ 2003-10-01 Larry Jones <lawrence.jones@eds.com> - * lib/getpass.c (getpass): Use a no-op fseek when switching from input to - output mode on the same stream. + * lib/getpass.c (getpass): Use a no-op fseek when switching from input + to output mode on the same stream. 2003-09-29 Paul Eggert <eggert@twinsun.com> @@ -14083,7 +14231,8 @@ 2003-09-27 Paul Eggert <eggert@twinsun.com> - * lib/minmax.h (MIN, MAX) [__STDC__ && defined __GNUC__ && __GNUC__ >= 2]: + * lib/minmax.h (MIN, MAX) + [__STDC__ && defined __GNUC__ && __GNUC__ >= 2]: Omit the special code that used __typeof__, since we worry that it could be more trouble than it's worth. See: http://mail.gnu.org/archive/html/bug-gnulib/2003-01/msg00090.html @@ -14128,7 +14277,8 @@ 2003-09-26 Bruno Haible <bruno@clisp.org> - * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX stpncpy(). + * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Add comments about the AIX + stpncpy(). Don't define stpncpy through config.h; it's now done through stpncpy.h. 2003-09-26 Bruno Haible <bruno@clisp.org> @@ -14147,7 +14297,8 @@ * modules/getdomainname: New file. * modules/xgetdomainname: New file. - * MODULES.html.sh (func_all_modules): Add getdomainname, xgetdomainname. + * MODULES.html.sh (func_all_modules): Add getdomainname, + xgetdomainname. 2003-09-25 Simon Josefsson <jas@extundo.com> Bruno Haible <bruno@clisp.org> @@ -14287,12 +14438,13 @@ Include <string.h>, <stdlib.h> unconditionally. * m4/lstat.m4 (gl_PREREQ_LSTAT): Don't check for stdlib.h, free. * m4/readdir.m4 (GL_FUNC_READDIR): Don't check for string.h. - * m4/readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C headers - or for string.h. + * m4/readutmp.m4 (gl_PREREQ_READUTMP): Don't check for standard C + headers or for string.h. * m4/strtoumax.m4 (gl_PREREQ_STRTOUMAX): Don't check for stdlib.h or strtoul. - * m4/mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C headers. + * m4/mkstemp.m4 (jm_PREREQ_TEMPNAME): Do not require standard C + headers. * m4/strdup.m4 (gl_PREREQ_STRDUP): Likewise. * m4/userspec.m4 (gl_USERSPEC): Likewise. * m4/xalloc.m4 (gl_PREREQ_XMALLOC): Likewise. @@ -14302,7 +14454,8 @@ memcpy, memset. (jm_FUNC_GNU_STRFTIME): Don't require standard C headers. * m4/strtod.m4 (gl_FUNC_STRTOD): Do not check for float.h. - * m4/strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, strtol. + * m4/strtoimax.m4 (gl_PREREQ_STRTOIMAX): Do not check for stdlib.h, + strtol. * m4/strtol.m4 (gl_FUNC_STRTOL): Do not check for limits.h. * m4/userspec.m4 (gl_USERSPEC): Do not check for string.h. * m4/xstrtol.m4 (gl_PREREQ_XSTRTOL): Do not check for string.h, strtol, @@ -14424,9 +14577,10 @@ * m4/getopt.m4 (gl_GETOPT): Don't check for string.h. * m4/getugroups.m4 (gl_GETUGROUPS): Do not check for standard C headers or for string.h. - * m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for stdlib.h. - * m4/group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard C - headers. + * m4/getusershell.m4 (gl_PREREQ_GETUSERSHELL): Do not check for + stdlib.h. + * m4/group-member.m4 (gl_PREREQ_GROUP_MEMBER): Do not require standard + C headers. * m4/hard-locale.m4 (gl_HARD_LOCALE): Do not check for stdlib.h, string.h. * m4/hash.m4 (gl_HASH): Do not check for stdlib.h, malloc, free. @@ -14462,7 +14616,8 @@ * m4/regex.m4 (jm_PREREQ_REGEX): Do not check for limits.h, string.h. * m4/rename.m4 (gl_PREREQ_RENAME): Do not check for stdlib.h, string.h, free. - * m4/rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C headers. + * m4/rpmatch.m4 (gl_PREREQ_RPMATCH): Don't check for standard C + headers. * m4/same.m4 (gl_SAME): Don't check for stdlib.h, string.h, free. * m4/save-cwd.m4 (gl_SAVE_CWD): Don't check for standard C headers. * m4/savedir.m4 (gl_SAVEDIR): Don't check for standard C headers. @@ -14522,9 +14677,10 @@ * lib/linebuffer.c: Include <stdlib.h>. (free): Remove decl. - * lib/malloc.c: Include <stdlib.h>, for malloc; don't bother with stddef.h. - rpl_malloc returns void *, not char *. - * lib/realloc.c (rpl_realloc): Likewise. Also, define with a prototype. + * lib/malloc.c: Include <stdlib.h>, for malloc; don't bother with + stddef.h. rpl_malloc returns void *, not char *. + * lib/realloc.c (rpl_realloc): Likewise. Also, define with a + prototype. * lib/md5.h: Include <limits.h> unconditionally. (UINT_MAX_32_BITS): Don't worry about non-__STDC__ case. @@ -14807,8 +14963,8 @@ * m4/time_r.m4: New file. * m4/mktime.m4 (gl_PREREQ_MKTIME): Remove check for limits.h. - * m4/timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime is. - Check for timegm declaration. + * m4/timegm.m4 (gl_FUNC_TIMEGM): Assume that timegm is buggy if mktime + is. Check for timegm declaration. (gl_PREREQ_TIMEGM): Require gl_FUNC_MKTIME. Do not check for gmtime_r. Replace mktime if __mktime_internal does not exist and if mktime @@ -14829,7 +14985,8 @@ (__gtime_r, __localtime_r) [!HAVE_TM_GMTOFF]: New macros. Include <time_r.h>. - * lib/timegm.c: Switch to glibc implementation, with the following changes: + * lib/timegm.c: Switch to glibc implementation, with the following + changes: [defined HAVE_CONFIG_H]: Include <config.h>. [!defined _LIBC]: Include "timegm.h" rather than <time.h>. (__mktime_internal) [!defined _LIBC]: New decl. @@ -14871,7 +15028,8 @@ 2003-08-31 Simon Josefsson <jas@extundo.com> * lib/timegm.h: New file. - * lib/timegm.c: New file. Based on wget-1.8.2/src/http.c:mktime_from_utc. + * lib/timegm.c: New file. Based on + wget-1.8.2/src/http.c:mktime_from_utc. 2003-08-31 Karl Berry <karl@gnu.org> @@ -14926,7 +15084,8 @@ 2003-08-19 Bruno Haible <bruno@clisp.org> - * m4/xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any more. + * m4/xalloc.m4 (gl_PREREQ_XSTRDUP): Don't check for <string.h> any + more. 2003-08-19 Bruno Haible <bruno@clisp.org> @@ -15024,16 +15183,18 @@ * m4/readdir.m4 (GL_FUNC_READDIR): Change name to have GL_ (not jm_) prefix. Adjust cache variables similarly. Create 500 rather than just 300 files, to exercise bug on Darwin6.5, too. - * m4/perl.m4 (jm_PERL): Use $am_missing_run, not undefined $missing_dir. - * m4/jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not AM_SYS_POSIX_TERMIOS. + * m4/perl.m4 (jm_PERL): Use $am_missing_run, not undefined + $missing_dir. + * m4/jm-winsz1.m4: Require AC_SYS_POSIX_TERMIOS, not + AM_SYS_POSIX_TERMIOS. Reported by mkc@mathdogs.com. Also change use of $am_cv_sys_posix_termios to $ac_cv_sys_posix_termios. Reported by Andreas Schwab. * m4/getgroups.m4 (jm_FUNC_GETGROUPS): Rewrite to use AC_FUNC_GETGROUPS and (if needed) to call AC_LIBOBJ and to set GETGROUPS_LIB. - * m4/fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in - /proc/mounts until it finds one with matching device number. This is - unnecessary when the FILE argument *is* a mount point. No stat call + * m4/fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point + in /proc/mounts until it finds one with matching device number. This + is unnecessary when the FILE argument *is* a mount point. No stat call is necessary in that case. So, disable the statvfs-testing code on systems with GNU libc. Reported by Andrei Gaponenko via Tim Waugh as RedHat bug# 84846. @@ -15159,7 +15320,8 @@ [!_LIBC]: Ensure that the required autoconf test has been run. [!defined _NL_CURRENT && HAVE_STRFTIME]: Use underlying_strftime for %r. - * lib/sha.c: Merge in some clean-up and optimization changes from glibc. + * lib/sha.c: Merge in some clean-up and optimization changes from + glibc. * lib/sha.c (sha_stream) [BLOCKSIZE]: Move definition to top of file. Ensure that it is a multiple of 64. Rearrange loop exit tests so as to avoid performing an @@ -15180,8 +15342,9 @@ Merges from coreutils, etc. * m4/strftime.m4 (_jm_STRFTIME_PREREQS): Require gl_FUNC_TZSET_CLOBBER. - * m4/readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, ut_exit.e_exit, - ut_exit.ut_termination, and ut_exit.e_termination members. + * m4/readutmp.m4 (gl_READUTMP): Check for ut_exit.ut_exit, + ut_exit.e_exit, ut_exit.ut_termination, and ut_exit.e_termination + members. 2003-08-14 Paul Eggert <eggert@twinsun.com> @@ -15209,13 +15372,13 @@ Merge from coreutils. * m4/tzset.m4: New file. - * m4/ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the MOUNTED_VMOUNT - test to precede the MOUNTED_GETMNTENT1 tests, since otherwise, AIX 5.1 - systems would end up using the latter. MOUNTED_GETMNTENT1 support - is inadequate on such systems: 1) detecting whether a file system - is remote doesn't work 2) the MOUNTED_VMOUNT code reports the - HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 code reports - merely /MOUNT_POINT. Reported by Mike Jetzer. + * m4/ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Move the + MOUNTED_VMOUNT test to precede the MOUNTED_GETMNTENT1 tests, since + otherwise, AIX 5.1 systems would end up using the latter. + MOUNTED_GETMNTENT1 support is inadequate on such systems: 1) detecting + whether a file system is remote doesn't work 2) the MOUNTED_VMOUNT + code reports the HOSTNAME:/MOUNT_POINT, while the MOUNTED_GETMNTENT1 + code reports merely /MOUNT_POINT. Reported by Mike Jetzer. 2003-08-14 Jim Meyering <jim@meyering.net> @@ -15265,7 +15428,8 @@ * lib/group-member.c: Include "xalloc.h". (xmalloc, xrealloc): Remove decls. (get_group_info): Remove casts no longer required in C89. - * lib/getusershell.c (readname): Remove casts no longer required in C89. + * lib/getusershell.c (readname): Remove casts no longer required in + C89. * lib/gettimeofday.c (rpl_gmtime, rpl_tzset): New functions. * lib/getline.c: Whitespace fix, from coreutils. @@ -15291,8 +15455,9 @@ 2003-08-13 Paul Eggert <eggert@twinsun.com> - * config/srclist-update: Change update back to the old behavior, leaving - whitespace alone. Use one 'sed' command rather than a pipeline. + * config/srclist-update: Change update back to the old behavior, + leaving whitespace alone. Use one 'sed' command rather than a + pipeline. (fixlicense): Now a variable, not a function. (remove_trailing_blanks): Remove. (fixfile): Don't invoke unexpand or cat, or remove trailing blanks. @@ -15353,8 +15518,8 @@ 2003-08-12 Karl Berry <karl@gnu.org> - * config/srclist.txt: can't sync vasnprintf.c any more, changes have been - made. + * config/srclist.txt: can't sync vasnprintf.c any more, changes have + been made. 2003-08-11 Paul Eggert <eggert@twinsun.com> @@ -15431,8 +15596,8 @@ 2003-08-07 Bruno Haible <bruno@clisp.org> - * m4/getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This makes - the module 'getndelim2' compatible with the module 'getline'. + * m4/getndelim2.m4 (gl_GETNDELIM2): Use AC_LIBOBJ(getndelim2). This + makes the module 'getndelim2' compatible with the module 'getline'. 2003-08-05 Paul Eggert <eggert@twinsun.com> @@ -15455,8 +15620,8 @@ GNU coding style. Merge from coreutils. - * lib/error.c [!USE_IN_LIBIO]: Omit this case; assume USE_IN_LIBIO is 1. - From glibc. + * lib/error.c [!USE_IN_LIBIO]: Omit this case; assume USE_IN_LIBIO is + 1. From glibc. * lib/getdate.y (date): Also accept dates like May-23-2003; suggestion from Karl Berry, implemented by Jim Meyering. * lib/getgroups.c: Include "xalloc.h" instead of declaring xalloc fns; @@ -15555,7 +15720,8 @@ 2003-07-18 Paul Eggert <eggert@twinsun.com> - * lib/closeout.h (close_stdout_set_status, close_stdout_status): Remove. + * lib/closeout.h (close_stdout_set_status, close_stdout_status): + Remove. * lib/closeout.c: Likewise. Include "closeout.h" right after config.h, to test that it can stand by itself. Include "exitfail.h". Clients should set exit_failure instead. @@ -15758,21 +15924,22 @@ 2003-07-09 Paul Eggert <eggert@twinsun.com> - * config/srclist.txt: Sort sublists. Add $LIBCSRC/sysdeps/generic/strtoul.c. - In comments, add more libc files that differ from gnulib for one - reason or another; we'd like this list to be smaller but for now - let's document what we have. + * config/srclist.txt: Sort sublists. Add + $LIBCSRC/sysdeps/generic/strtoul.c. In comments, add more libc files + that differ from gnulib for one reason or another; we'd like this list + to be smaller but for now let's document what we have. 2003-07-08 Paul Eggert <eggert@twinsun.com> - * config/srclist-update: Port to POSIX 1003.1-2001 hosts by avoiding the - use of GNU extensions. Change "x=`eval echo $x`" to the shorter + * config/srclist-update: Port to POSIX 1003.1-2001 hosts by avoiding + the use of GNU extensions. Change "x=`eval echo $x`" to the shorter and sweeter "eval x=$x". * config/srclist.txt: Get lib/argp* from glibc. 2003-07-07 Paul Eggert <eggert@twinsun.com> - * lib/mktime.c: Fix some boundary cases and remove need for floating point. + * lib/mktime.c: Fix some boundary cases and remove need for floating + point. Issue a compile-time diagnostic if time_t is floating point, or if two's complement arithmetic is not in effect, or if arithmetic @@ -15846,8 +16013,8 @@ 2003-07-01 Bruno Haible <bruno@clisp.org> - * m4/ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. <sys/types.h> - should be sufficient. + * m4/ssize_t.m4 (gt_TYPE_SSIZE_T): Don't include <unistd.h>. + <sys/types.h> should be sufficient. Reported by Paul Eggert. 2003-06-26 Karl Berry <karl@gnu.org> @@ -15911,16 +16078,19 @@ Assume C89, so PARAMS isn't needed. * lib/backupfile.h (PARAMS): Remove. All uses removed. - * lib/closeout.h, dirname.h, filemode.h, fsusage.h, getdate.h, getline.h, - group-member.h, hard-locale.h, hash.h, linebuffer.h, long-options.h, - makepath.h, memcasecmp.h, memcoll.h, modechange.h, mountlist.h, - path-concat.h, physmem.h, posixtm.h, quote.h, readutmp.h, same.h, - save-cwd.h, savedir.h, stdio-safer.h, strtoimax.c, strverscmp.h, - unistd-safer.h, version-etc.h, xalloc.h, xreadlink.h, xstrtod.h, - xstrtol.h: Likewise. - * lib/filemode.h, hard-locale.h, memcoll.h, modechange.h, physmem.h, - same.h, strverscmp.h: Do not include config.h; no longer needed. - Anyway, config.h should always be included before any other file. + * lib/closeout.h, lib/dirname.h, lib/filemode.h, lib/fsusage.h, + lib/getdate.h, lib/getline.h, lib/group-member.h, lib/hard-locale.h, + lib/hash.h, lib/linebuffer.h, lib/long-options.h, lib/makepath.h, + lib/memcasecmp.h, lib/memcoll.h, lib/modechange.h, lib/mountlist.h, + lib/path-concat.h, lib/physmem.h, lib/posixtm.h, lib/quote.h, + lib/readutmp.h, lib/same.h, lib/save-cwd.h, lib/savedir.h, + lib/stdio-safer.h, lib/strtoimax.c, lib/strverscmp.h, + lib/unistd-safer.h, lib/version-etc.h, lib/xalloc.h, lib/xreadlink.h, + lib/xstrtod.h, lib/xstrtol.h: Likewise. + * lib/filemode.h, lib/hard-locale.h, lib/memcoll.h, lib/modechange.h, + lib/physmem.h, lib/same.h, lib/strverscmp.h: Do not include config.h; + no longer needed. Anyway, config.h should always be included before any + other file. 2003-06-11 Simon Josefsson <jas@extundo.com> @@ -15933,7 +16103,8 @@ 2003-06-11 Derek Price <derek@ximbiot.com> - * lib/stat.c [LSTAT]: Compile/use slash_aware_lstat only if it is necessary. + * lib/stat.c [LSTAT]: Compile/use slash_aware_lstat only if it is + necessary. 2003-06-11 Bruno Haible <bruno@clisp.org> @@ -16149,8 +16320,8 @@ 2003-06-04 Paul Eggert <eggert@twinsun.com> - * config/srclist.txt ($LIBCSRC/time/mktime.c lib gpl): Comment out for now, - as glibc mktime is buggy on non-glibc systems. + * config/srclist.txt ($LIBCSRC/time/mktime.c lib gpl): Comment out for + now, as glibc mktime is buggy on non-glibc systems. 2003-06-03 Karl Berry <karl@gnu.org> @@ -16233,12 +16404,12 @@ 2003-05-28 Paul Eggert <eggert@twinsun.com> Assume the headers required for C89 freestanding compilers. - * lib/addext.c, backupfile.c, fsusage.c, human.c, pathmax.h, - rpmatch.c, userspec.c, xreadlink.c, xstrtol.c: Include <limits.h> - without checking for HAVE_LIMITS_H. - * lib/backupfile.c, fsusage.c, hash.c, human.c, safe-read.c, userspec.c, - xstrtol.c (CHAR_BIT) : Don't define, since <limits.h> is guaranteed - to do that. + * lib/addext.c, lib/backupfile.c, lib/fsusage.c, lib/human.c, + lib/pathmax.h, lib/rpmatch.c, lib/userspec.c, lib/xreadlink.c, + lib/xstrtol.c: Include <limits.h> without checking for HAVE_LIMITS_H. + * lib/backupfile.c, lib/fsusage.c, lib/hash.c, lib/human.c, + lib/safe-read.c, lib/userspec.c, lib/xstrtol.c (CHAR_BIT): Don't + define, since <limits.h> is guaranteed to do that. * lib/fatal.c: Include <stdarg.h> without checking for __STDC__. * lib/exclude.c: Include <stdbool.h> unconditionally. * lib/tempname.c: Include <stddef.h> unconditionally. @@ -16247,7 +16418,8 @@ <stddef.h> does that. * lib/quote.c: Dont include <stddef.h> or <sys/types.h>; not needed. * lib/safe-read.c (INT_MAX): Don't define, since <limits.h> does that. - * lib/safe-read.c (TYPE_MINIMUM, TYPE_MAXIMUM): Remove; no longer needed. + * lib/safe-read.c (TYPE_MINIMUM, TYPE_MAXIMUM): Remove; no longer + needed. * lib/xstrtol.c: Likewise. * lib/safe-read.c: Remove TYPE_SIGNED; no longer needed. * lib/savedir.c: Include <stddef.h> instead of defining NULL. @@ -16281,15 +16453,15 @@ 2003-05-18 Karl Berry <karl@gnu.org> - * config/srclistvars.sh (TEXMF): use TEXMFROOT instead, since TEXMF might - actually be set by the user. + * config/srclistvars.sh (TEXMF): use TEXMFROOT instead, since TEXMF + might actually be set by the user. * config/depcomp, install-sh, mdate-sh: update from automake. 2003-05-17 Bruno Haible <bruno@clisp.org> - * m4/dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an invalid - expansion for AC_EGREP_CPP. + * m4/dirfd.m4 (UTILS_FUNC_DIRFD): Fix a quoting bug leading to an + invalid expansion for AC_EGREP_CPP. * m4/strtoimax.m4 (gl_FUNC_STRTOIMAX): Likewise. * m4/strtoumax.m4 (gl_FUNC_STRTOUMAX): Likewise. Suggested by Akim Demaille <akim@epita.fr> in @@ -16302,8 +16474,8 @@ 2003-05-12 Bruno Haible <bruno@clisp.org> - * lib/linebreak.c (iconv_string_length): Don't return -1 just because the - string is longer than 4 KB. + * lib/linebreak.c (iconv_string_length): Don't return -1 just because + the string is longer than 4 KB. 2003-05-11 Karl Berry <karl@gnu.org> @@ -16362,13 +16534,14 @@ 2003-01-19 Jim Meyering <jim@meyering.net> - * lib/strftime.c (widen) [COMPILE_WIDE]: Merge nearly-identical definitions. + * lib/strftime.c (widen) [COMPILE_WIDE]: Merge nearly-identical + definitions. (nl_get_alt_digit) [! defined my_strftime]: Define. (my_strftime) [_NL_CURRENT]: Merge nearly-identical uses of _nl_get_alt_digit and _nl_get_walt_digit. - * lib/strftime.c (my_strftime): Merge in locale-related changes from libc. - These changes have no effect outside of _LIBC. + * lib/strftime.c (my_strftime): Merge in locale-related changes from + libc. These changes have no effect outside of _LIBC. 2003-04-10 Bruno Haible <bruno@clisp.org> @@ -16415,7 +16588,8 @@ 2003-04-04 Bruno Haible <bruno@clisp.org> * lib/linebreak.h: New file, from GNU gettext. - * lib/linebreak.c: New file, from GNU gettext with slight modifications. + * lib/linebreak.c: New file, from GNU gettext with slight + modifications. * lib/lbrkprop.h: New file, from GNU gettext. 2003-04-03 Bruno Haible <bruno@clisp.org> @@ -16463,8 +16637,8 @@ 2003-03-30 Bruno Haible <bruno@clisp.org> - * lib/copy-file.c (copy_file_preserving): Don't set owner if the function - chown() doesn't exist. + * lib/copy-file.c (copy_file_preserving): Don't set owner if the + function chown() doesn't exist. 2003-03-28 Bruno Haible <bruno@clisp.org> @@ -16486,7 +16660,8 @@ 2003-03-18 Bruno Haible <bruno@clisp.org> - * m4/onceonly.m4: Use m4_defn instead of defn, for better error checking. + * m4/onceonly.m4: Use m4_defn instead of defn, for better error + checking. * m4/onceonly_2_57.m4: Likewise. 2003-03-17 Bruno Haible <bruno@clisp.org> @@ -16699,7 +16874,8 @@ 2003-01-23 Bruno Haible <bruno@clisp.org> - * lib/minmax.h: New file, from GNU gettext, with comments from Paul Eggert. + * lib/minmax.h: New file, from GNU gettext, with comments from Paul + Eggert. 2003-01-22 Bruno Haible <bruno@clisp.org> @@ -16884,12 +17060,14 @@ 2003-01-07 Jim Meyering <jim@meyering.net> - * lib/full-write.c: Rework so that it may serve to define full_read, too. + * lib/full-write.c: Rework so that it may serve to define full_read, + too. * lib/full-read.c: Simply #define FULL_READ and include full-write.c. 2003-01-07 Bruno Haible <bruno@clisp.org> - * lib/strtoimax.c: Include <stdint.h> as an alternative to <inttypes.h>. + * lib/strtoimax.c: Include <stdint.h> as an alternative to + <inttypes.h>. * lib/xstrtol.h: Likewise. * lib/xstrtoimax.c: Likewise. * lib/xstrtoumax.c: Likewise. @@ -16964,7 +17142,8 @@ 2002-12-31 Bruno Haible <bruno@clisp.org> - * lib/getdate.y (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE. + * lib/getdate.y (get_date): Test HAVE_STRUCT_TM_TM_ZONE, not + HAVE_TM_ZONE. 2002-12-24 Karl Berry <karl@gnu.org> @@ -17119,7 +17298,8 @@ * m4/strverscmp.m4: New file. Module stdbool. - * m4/stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for OSF/1. + * m4/stdbool.m4 (AC_HEADER_STDBOOL): Add test for _Bool. Needed for + OSF/1. Module strtoll. * m4/strtoll.m4: New file. @@ -17134,13 +17314,15 @@ * m4/strtoumax.m4: New file. Module xstrtoimax. - * m4/xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from jm_AC_PREREQ_XSTRTOIMAX. + * m4/xstrtoimax.m4 (jm_XSTRTOIMAX): Renamed from + jm_AC_PREREQ_XSTRTOIMAX. Moved the strtol prerequisites to strtol.m4. Moved the strtoll prerequisites to strtoll.m4. Moved the strtoimax prerequisites to strtoimax.m4. Module xstrtoumax. - * m4/xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from jm_AC_PREREQ_XSTRTOUMAX. + * m4/xstrtoumax.m4 (jm_XSTRTOUMAX): Renamed from + jm_AC_PREREQ_XSTRTOUMAX. Moved the strtoul prerequisites to strtoul.m4. Moved the strtoull prerequisites to strtoull.m4. Moved the strtoumax prerequisites to strtoumax.m4. @@ -17247,7 +17429,8 @@ (gl_PREREQ_FSUSAGE_EXTRA): New macro. Module dirfd. - * m4/dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP requirements. + * m4/dirfd.m4 (UTILS_FUNC_DIRFD): Invoke some AC_EGREP_CPP + requirements. Module euidaccess. * m4/euidaccess.m4: New file. @@ -17507,8 +17690,8 @@ 2002-12-11 Bruno Haible <bruno@clisp.org> - * lib/setenv.h: Rewritten to cope with systems that have setenv() but not - unsetenv(). + * lib/setenv.h: Rewritten to cope with systems that have setenv() but + not unsetenv(). * lib/setenv.c, unsetenv.c: Taken from glibc-2.2.4 with the following modifications: @@ -17625,13 +17808,14 @@ * lib/stat.c: Rework so that it may serve to define rpl_lstat, too. * lib/lstat.c: New file. Simply #define LSTAT and include stat.c. - * lib/safe-read.c: Rework so that it may serve to define safe_write, too. + * lib/safe-read.c: Rework so that it may serve to define safe_write, + too. * lib/safe-write.c: Simply #define SAFE_WRITE and include safe-read.c. 2002-12-03 Jim Meyering <jim@meyering.net> - * lib/safe-read.c, safe-write.c: Change variable names and comments, but - not semantics, to minimize the differences between these two files. + * lib/safe-read.c, safe-write.c: Change variable names and comments, + but not semantics, to minimize the differences between these two files. (safe_read): Change comment to mention SAFE_READ_ERROR. * lib/safe-read.c (IS_EINTR): Define. @@ -17659,14 +17843,15 @@ 2002-12-01 Jim Meyering <jim@meyering.net> - * lib/safe-read.c: (safe_read): Also exit the loop when read returns zero. + * lib/safe-read.c: (safe_read): Also exit the loop when read returns + zero. (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define. 2002-11-27 Paul Eggert <eggert@twinsun.com> - * lib/hash.c (hash_lookup, hash_get_first, hash_get_next, hash_find_entry, - hash_rehash): Replace `if (limit <= value) abort ();' with - `if (! (value < limit)) abort ();', for readability. + * lib/hash.c (hash_lookup, hash_get_first, hash_get_next, + hash_find_entry, hash_rehash): Replace `if (limit <= value) abort ();' + with `if (! (value < limit)) abort ();', for readability. 2002-11-26 Karl Berry <karl@gnu.org> @@ -17703,7 +17888,8 @@ * lib/mktime.c: Merge in changes from libc. Avoid a link-time failure on some Linux systems. - * lib/mktime.c (STATIC): Define to be empty (_LIBC) or `static' (otherwise). + * lib/mktime.c (STATIC): Define to be empty (_LIBC) or `static' + (otherwise). (__mon_yday): Declare with the STATIC attribute. (__mktime_internal): Likewise. Based on a report from Greg Schafer. @@ -17715,7 +17901,8 @@ * lib/xstat.in [@BEGIN_LSTAT_ONLY@]: Include <string.h>. - * lib/fsusage.c: Remove unneeded parentheses around operands of `defined'. + * lib/fsusage.c: Remove unneeded parentheses around operands of + `defined'. 2002-11-22 Paul Eggert <eggert@twinsun.com> @@ -17754,8 +17941,8 @@ * lib/safe-read.h: Assume C89. Add comments. (safe_read): Change return type to size_t. - * lib/safe-read.c (safe_read): Change return type to size_t. Handle byte - counts > SSIZE_MAX correctly. + * lib/safe-read.c (safe_read): Change return type to size_t. Handle + byte counts > SSIZE_MAX correctly. * lib/safe-write.h: New file. * lib/safe-write.c: New file. * lib/full-read.h: New file. @@ -17772,7 +17959,8 @@ Merge in changes from the coreutils. 2002-09-25 Paul Eggert <eggert@twinsun.com> - * lib/fsusage.c [! HAVE_INTTYPES_H && HAVE_STDINT_H] Include <stdint.h>. + * lib/fsusage.c [! HAVE_INTTYPES_H && HAVE_STDINT_H] Include + <stdint.h>. (UINTMAX_MAX) [!defined UINTMAX_MAX]: New macro. (PROPAGATE_ALL_ONES): Work even if X is unsigned and narrower than int. Work more efficiently if X is the same width as uintmax_t. @@ -17780,18 +17968,20 @@ (get_fs_usage): (uintmax_t) -1 -> UINTMAX_MAX to avoid a cast. Don't assume that f_frsize and f_bsize are the same type. - * lib/mountlist.c: #undef MNT_IGNORE before defining it, to avoid warning - on FreeBSD. + * lib/mountlist.c: #undef MNT_IGNORE before defining it, to avoid + warning on FreeBSD. * lib/makepath.c (make_path): Restore umask *before* creating the final component. (make_path): Minor reformatting. - * lib/xmalloc.c: Adjust to work with new autoconf macros, AC_FUNC_MALLOC - and AC_FUNC_REALLOC: test #ifndef HAVE_MALLOC/HAVE_REALLOC. - - * lib/mountlist.h (ME_DUMMY): Don't count entries of type `auto' as dummy - ones. At least on GNU/Linux systems, `auto' means something else. + * lib/xmalloc.c: Adjust to work with new autoconf macros, + AC_FUNC_MALLOC and AC_FUNC_REALLOC: test #ifndef + HAVE_MALLOC/HAVE_REALLOC. + + * lib/mountlist.h (ME_DUMMY): Don't count entries of type `auto' as + dummy ones. At least on GNU/Linux systems, `auto' means something + else. From Michael Stone. 2002-11-21 Bruno Haible <bruno@clisp.org> @@ -17859,7 +18049,8 @@ 2002-11-14 Karl Berry <karl@gnu.org> - * config/mkinstalldirs: `do' on separate line, instead of `for var; do'. + * config/mkinstalldirs: `do' on separate line, instead of + `for var; do'. 2002-11-06 Bruno Haible <bruno@clisp.org> @@ -17878,8 +18069,10 @@ * lib/obstack.c [!_LIBC]: Include gettext.h instead of <libintl.h>. * lib/regex.c [!_LIBC]: Include gettext.h instead of <libintl.h>. - * lib/argmatch.c: Include gettext.h instead of <locale.h> and <libintl.h>. - * lib/makepath.c: Include gettext.h instead of <locale.h> and <libintl.h>. + * lib/argmatch.c: Include gettext.h instead of <locale.h> and + <libintl.h>. + * lib/makepath.c: Include gettext.h instead of <locale.h> and + <libintl.h>. * lib/closeout.c: Include gettext.h instead of <libintl.h>. * lib/human.c: Include gettext.h instead of <libintl.h>. @@ -17892,7 +18085,8 @@ (textdomain): Remove definition. * lib/xmemcoll.c: Include gettext.h instead of <libintl.h>. - * lib/long-options.c: Remove include of <libintl.h> and definition of _. + * lib/long-options.c: Remove include of <libintl.h> and definition of + _. * lib/same.c: Remove include of <libintl.h> and definition of _. 2002-11-04 Owen Taylor <otaylor@redhat.com> @@ -17947,8 +18141,9 @@ 2002-09-28 Karl Berry <karl@gnu.org> - * config/srclist.txt: can't copy install-sh/mkinstalldirs from installed - automake until the next release, since changes have been made. + * config/srclist.txt: can't copy install-sh/mkinstalldirs from + installed automake until the next release, since changes have been + made. 2002-09-25 Karl Berry <karl@gnu.org> @@ -18069,8 +18264,8 @@ 2002-06-15 Richard Dawe <richdawe@bigfoot.com> - * lib/Makefile.am (lstat.c, stat.c, .sin.sed): Use t-$@, rather than $@-t, - so that each temporary file name is unique and valid in the first + * lib/Makefile.am (lstat.c, stat.c, .sin.sed): Use t-$@, rather than + $@-t, so that each temporary file name is unique and valid in the first 8 characters, for operation under DOS. 2002-06-15 Paul Eggert <eggert@twinsun.com> @@ -18139,9 +18334,11 @@ 2002-05-22 Jim Meyering <meyering@lucent.com> - * lib/Makefile.am (libfetish_a_SOURCES): Add file-type.c and file-type.h. + * lib/Makefile.am (libfetish_a_SOURCES): Add file-type.c and + file-type.h. * lib/file-type.h: New file. - * lib/file-type.c (file_type): New file/function. Extracted from diffutils. + * lib/file-type.c (file_type): New file/function. Extracted from + diffutils. 2002-04-30 Jim Meyering <meyering@lucent.com> @@ -18220,16 +18417,17 @@ 2002-04-12 Jim Meyering <meyering@lucent.com> - * m4/ls-mntd-fs.m4 (checking for getmntinfo function...): Remove now-bogus - check for f_type in sys/mount.h. Instead, just test for the existence - of the getmntinfo function. Needed for Darwin 5.3. + * m4/ls-mntd-fs.m4 (checking for getmntinfo function...): Remove + now-bogus check for f_type in sys/mount.h. Instead, just test for the + existence of the getmntinfo function. Needed for Darwin 5.3. * m4/dirfd.m4 (UTILS_FUNC_DIRFD): Also detect when dirfd is a macro. This is necessary at least on Darwin 5.3. * m4/jm-macros.m4: Don't AC_REPLACE(strnlen), now that we use - AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of strnlen.o - in the library, and that makes some versions of ranlib object. + AC_FUNC_STRNLEN. Otherwise, we'd end up putting two copies of + strnlen.o in the library, and that makes some versions of ranlib + object. 2002-04-12 Jim Meyering <meyering@lucent.com> @@ -18303,8 +18501,8 @@ 2002-02-17 Jim Meyering <meyering@lucent.com> - * config/config.guess (main): Don't use `head -1'; it's no longer portable. - Use `sed 1q' instead. + * config/config.guess (main): Don't use `head -1'; it's no longer + portable. Use `sed 1q' instead. 2002-02-16 gettextize <bug-gnu-gettext@gnu.org> @@ -18394,8 +18592,8 @@ 2002-01-16 Jim Meyering <meyering@lucent.com> - * lib/getdate.y: Add three semicolons, each just before a closing brace. - Bison (as of version 1.31) no longer papers over that mistake. + * lib/getdate.y: Add three semicolons, each just before a closing + brace. Bison (as of version 1.31) no longer papers over that mistake. 2002-01-05 Jim Meyering <meyering@lucent.com> @@ -18432,8 +18630,8 @@ 2001-12-10 Jim Meyering <meyering@lucent.com> - * lib/linebuffer.c: Remove explicit declarations of xmalloc and xrealloc, - Instead, include "xalloc.h". + * lib/linebuffer.c: Remove explicit declarations of xmalloc and + xrealloc, Instead, include "xalloc.h". (initbuffer): Don't cast xmalloc return value to char*. (readline): Reword comment. Don't cast xrealloc return value to char* @@ -18441,8 +18639,8 @@ 2001-12-09 Jim Meyering <meyering@lucent.com> - * lib/modechange.c (mode_compile): Add cast to avoid pedantic warning about - `signed and unsigned type in conditional expression'. + * lib/modechange.c (mode_compile): Add cast to avoid pedantic warning + about `signed and unsigned type in conditional expression'. * lib/posixtm.c (posix_time_parse): Likewise. * lib/xreadlink.c (xreadlink): Add cast to avoid a pedantic warning. @@ -18491,9 +18689,9 @@ * lib/tempname.c: Merge with version from libc. * lib/regex.c: Likewise. - * lib/tempname.c: Include stdlib.h unconditionally. On some old systems - for which STDC_HEADERS is 0, it was not included, resulting in a - warning about an integer-to-pointer conversion problem with getenv. + * lib/tempname.c: Include stdlib.h unconditionally. On some old + systems for which STDC_HEADERS is 0, it was not included, resulting in + a warning about an integer-to-pointer conversion problem with getenv. Reported by Volker Borchert. 2001-11-26 Jim Meyering <meyering@lucent.com> @@ -18507,7 +18705,8 @@ 2001-11-23 Jim Meyering <meyering@lucent.com> - * lib/hash.h (struct hash_table): Don't define here. Merely declare it. + * lib/hash.h (struct hash_table): Don't define here. Merely declare + it. * lib/hash.c (struct hash_table): Define it here instead. 2001-11-22 Jim Meyering <meyering@lucent.com> @@ -18525,8 +18724,9 @@ directory. Use "conftestXXXXXX" as the template. Suggestion from Paul Eggert. - * m4/mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor immediately, - so the test doesn't mistakenly hit the max-open-files limit. + * m4/mkstemp.m4 (UTILS_FUNC_MKSTEMP): Close each descriptor + immediately, so the test doesn't mistakenly hit the max-open-files + limit. 2001-11-18 Paul Eggert <eggert@twinsun.com> @@ -18572,15 +18772,17 @@ that made e.g., `chmod a=,o=w,g=o F' cause F to be group readable rather than group writable. Patch by Juan F. Codagnone. - * lib/readtokens.c: Remove explicit declarations of xmalloc and xrealloc, - Instead, include "xalloc.h". + * lib/readtokens.c: Remove explicit declarations of xmalloc and + xrealloc, Instead, include "xalloc.h". * lib/mountlist.c: Include unlocked-io.h after all system headers. Remove explicit declarations of xmalloc, xrealloc, and xstrdup. Instead, include "xalloc.h". - * lib/argmatch.c, closeout.c, error.c, exclude.c: Include unlocked-io.h. - * lib/fatal.c, getdate.y, getpass.c, getstr.c, getusershell.c: Likewise. + * lib/argmatch.c, closeout.c, error.c, exclude.c: Include + unlocked-io.h. + * lib/fatal.c, getdate.y, getpass.c, getstr.c, getusershell.c: + Likewise. * lib/mountlist.c, posixtm.c, readtokens.c, readutmp.c: Likewise. * lib/regex.c, sha.c, version-etc.c, yesno.c: Likewise. @@ -18621,7 +18823,8 @@ 2001-11-04 Jim Meyering <meyering@lucent.com> - * m4/fpending.m4: Remove unused cruft that saved, set, and restored $DEFS. + * m4/fpending.m4: Remove unused cruft that saved, set, and restored + $DEFS. 2001-11-03 Jim Meyering <meyering@lucent.com> @@ -18712,7 +18915,8 @@ 2001-10-05 Jim Meyering <meyering@lucent.com> - * lib/Makefile.am: (libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h. + * lib/Makefile.am: (libfetish_a_SOURCES): Add hash-pjw.c and + hash-pjw.h. * lib/hash-pjw.c: New file (factored out of fileutils' remove.c). * lib/hash-pjw.h: New file. @@ -18786,7 +18990,8 @@ 2001-09-25 Volker Borchert <bt@teknon.de> - * lib/gettimeofday.c (rpl_gettimeofday): Declare local variable `result'. + * lib/gettimeofday.c (rpl_gettimeofday): Declare local variable + `result'. 2001-09-24 Jim Meyering <meyering@lucent.com> @@ -18935,7 +19140,8 @@ 2001-09-03 Paul Eggert <eggert@twinsun.com> * lib/xgetcwd.c (xgetcwd): Use HAVE_GETCWD_NULL, not (defined - __GLIBC__ && __GLIBC__ >= 2), to decide whether to use getcwd (NULL, 0). + __GLIBC__ && __GLIBC__ >= 2), to decide whether to use + getcwd (NULL, 0). 2001-09-03 Paul Eggert <eggert@twinsun.com> @@ -18945,7 +19151,8 @@ 2001-09-03 Jim Meyering <meyering@lucent.com> - * lib/xreadlink.c (xreadlink): Preserve errno around `free' during failure. + * lib/xreadlink.c (xreadlink): Preserve errno around `free' during + failure. 2001-09-02 Jim Meyering <meyering@lucent.com> @@ -18960,13 +19167,15 @@ * lib/xreadlink.c: New file. * lib/xreadlink.h: New file. - * lib/Makefile.am (libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h. + * lib/Makefile.am (libfetish_a_SOURCES): Add xreadlink.c and + xreadlink.h. * lib/regex.c (uintptr_t) [!_LIBC]: Define to private_uintptr_t, so it doesn't conflict with sparc Solaris 7's definition in /usr/include/sys/int_types.h. - * lib/exclude.c: Use `""', not `<>' to #include non-system header files. + * lib/exclude.c: Use `""', not `<>' to #include non-system header + files. (fnmatch_no_wildcards): Rewrite not to use function names, strcasecmp and strncasecmp as r-values. Unixware didn't have declarations. @@ -19040,7 +19249,8 @@ (jm_AC_TYPE_INTMAX_T, jm_AC_TYPE_UINTMAX_T): Move AC_REQUIRE to next-to-top level, to avoid confusion. Use 2.52's AC_CHECK_TYPE instead of merely looking for the header. - * m4/prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H. + * m4/prereq.m4 (jm_PREREQ_HUMAN): Don't require + jm_AC_HEADER_INTTYPES_H. * m4/jm-macros.m4 (jm_MACROS): Likewise. * m4/uintmax_t.m4: Remove, as it duplicates inttypes.m4. @@ -19156,9 +19366,11 @@ * lib/xstrtol.h: Add xstrtoimax. * lib/strtoumax.c: New file. Simply include "strtoumax.c". - * lib/strtoimax.c: New file. Likewise, but first define STRTOUXMAX_SIGNED. - - * lib/strtoumax.c: Factor to work both for unsigned and signed types, ... + * lib/strtoimax.c: New file. Likewise, but first define + STRTOUXMAX_SIGNED. + + * lib/strtoumax.c: Factor to work both for unsigned and signed types, + ... * lib/strtoxmax.c: ... then renamed to this. 2001-08-18 Paul Eggert <eggert@twinsun.com> @@ -19225,8 +19437,8 @@ 2001-08-04 Jim Meyering <meyering@lucent.com> - * lib/error.h (__attribute__): Remove `|| __STRICT_ANSI__' from #if stmt, - to get in sync with glibc. + * lib/error.h (__attribute__): Remove `|| __STRICT_ANSI__' from #if + stmt, to get in sync with glibc. 2001-08-03 Paul Eggert <eggert@twinsun.com> @@ -19300,8 +19512,8 @@ 2001-07-15 Jim Meyering <meyering@lucent.com> - * m4/Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff. - Now it's in ../Makefile.cfg. + * m4/Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h + stuff. Now it's in ../Makefile.cfg. 2001-07-15 Jim Meyering <meyering@lucent.com> @@ -19377,8 +19589,8 @@ 2001-05-21 Jim Meyering <meyering@lucent.com> - * m4/regex.m4: Change a couple backticks to single quotes to avoid shell - syntax errors. + * m4/regex.m4: Change a couple backticks to single quotes to avoid + shell syntax errors. 2001-05-21 Alexandre Duret-Lutz <duret_g@epita.fr> @@ -19398,12 +19610,14 @@ 2001-05-15 Jim Meyering <meyering@lucent.com> - * m4/regex.m4: Use proper quoting so brackets appear in the test program. + * m4/regex.m4: Use proper quoting so brackets appear in the test + program. Reported by, and with help from, Bruno Haible. 2001-05-13 Jim Meyering <meyering@lucent.com> - * m4/jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined. + * m4/jm-macros.m4 (major_t, minor_t): Define to unsigned int if + undefined. 2001-05-11 Paul Eggert <eggert@twinsun.com> @@ -19418,8 +19632,8 @@ * lib/basename.c (FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Likewise. * lib/dirname.c (FILESYSTEM_PREFIX_LEN, ISSLASH): Likewise. * lib/makepath.c (strip_trailing_slashes): Likewise. - * lib/path-concat.c (DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH): - Likewise. + * lib/path-concat.c (DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, + ISSLASH): Likewise. * lib/rename.c (strip_trailing_slashes): Likewise. * lib/same.c (base_name): Likewise. * lib/stripslash.c (ISSLASH): Likewise. @@ -19435,8 +19649,8 @@ max_backup_version): Use base_len instead of rolling it ourselves. Handle the case of "" and (on DOS) "C:" correctly. - * lib/basename.c: Do not include <stdio.h>, <assert.h>; no longer needed. - Include <string.h>, <dirname.h>. + * lib/basename.c: Do not include <stdio.h>, <assert.h>; no longer + needed. Include <string.h>, <dirname.h>. (base_name): Allow file names ending in slashes, other than names that are all slashes. In this case, return the basename followed by the slashes. This is more general, and can be used in places @@ -19543,20 +19757,21 @@ 2001-03-15 Bruno Haible <haible@clisp.cons.org> - * lib/localcharset.c (locale_charset): Allow wildcard syntax. Also resolve - alias if codeset is empty. + * lib/localcharset.c (locale_charset): Allow wildcard syntax. Also + resolve alias if codeset is empty. * lib/config.charset (BeOS): Use wildcard syntax. 2001-03-13 Jim Meyering <meyering@lucent.com> - * lib/path-concat.c (path_concat) [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: - Don't insert a backslash when concatenating e.g., `C:' and `foo'. + * lib/path-concat.c (path_concat) + [FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX]: Don't insert a backslash when + concatenating e.g., `C:' and `foo'. From Bruno Haible. 2001-03-06 Bruno Haible <haible@clisp.cons.org> - * lib/localcharset.c (locale_charset): Don't use setlocale(LC_CTYPE,NULL). - Don't return NULL. + * lib/localcharset.c (locale_charset): Don't use + setlocale(LC_CTYPE,NULL). Don't return NULL. * lib/unicodeio.c (print_unicode_char): Simplify accordingly. 2001-03-06 Bruno Haible <haible@clisp.cons.org> @@ -19581,7 +19796,8 @@ Add dup-safer.c, fopen-safer.c. (noinst_HEADERS): Add stdio-safer.h, unistd-safer.h. - * lib/dup-safer.c, fopen-safer.c, stdio-safer.h, 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> @@ -19651,7 +19867,8 @@ * lib/strnlen.c (__strnlen): Merge in a change from GNU libc. - * lib/strftime.c: Update from GNU libc (the only changes were to comments). + * lib/strftime.c: Update from GNU libc (the only changes were to + comments). 2001-02-17 Jim Meyering <meyering@lucent.com> @@ -19659,7 +19876,8 @@ 2001-02-17 Bruno Haible <haible@clisp.cons.org> - * lib/mbswidth.h (mbswidth): Also define as macro, to avoid prototype clash. + * lib/mbswidth.h (mbswidth): Also define as macro, to avoid prototype + clash. 2001-02-16 Paul Eggert <eggert@twinsun.com> @@ -19687,7 +19905,8 @@ Don't use filenames that are 8.3-equivalent to "conftest" on DOS. * m4/chown.m4: Rename conftestchown to conftest.chown. - * m4/rename.m4: s/conftestdir/conftest.d1/ and s/conftestdir2/conftest.d2/. + * m4/rename.m4: s/conftestdir/conftest.d1/ and + s/conftestdir2/conftest.d2/. * m4/utimes.m4: s/conftestdata/conftest.data/ Inspired by Pavel Roskin's change in autoconf. @@ -19778,8 +19997,9 @@ 2001-01-03 Jim Meyering <meyering@lucent.com> - * lib/unicodeio.c (print_unicode_char): Remove `const' from declaration of - local `inptr' to avoid warning with some system declarations of iconv. + * lib/unicodeio.c (print_unicode_char): Remove `const' from declaration + of local `inptr' to avoid warning with some system declarations of + iconv. 2001-01-02 Volker Borchert <bt@teknon.de> @@ -19788,12 +20008,13 @@ 2001-01-01 Jim Meyering <meyering@lucent.com> - * m4/prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), even - on systems with utmpx.h. It's necessary for the declaration of utmp's - ut_user member. Reported by Andreas Jaeger. - - * m4/check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if available. - They are required for the declarations of getgrgid and getpwuid resp. + * m4/prereq.m4 (jm_PREREQ_READUTMP): Include utmp.h (if available), + even on systems with utmpx.h. It's necessary for the declaration of + utmp's ut_user member. Reported by Andreas Jaeger. + + * m4/check-decl.m4 (jm_CHECK_DECLS): Include grp.h and pwd.h if + available. They are required for the declarations of getgrgid and + getpwuid resp. (_jm_DECL_HEADERS): Check for grp.h and pwd.h. Reported by Andreas Jaeger. @@ -19828,8 +20049,8 @@ 2000-12-26 Jim Meyering <meyering@lucent.com> - * m4/dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work better - with autoheader. + * m4/dos.m4 (jm_AC_DOS): Rewrite (though it's still a stub) to work + better with autoheader. 2000-12-24 Jim Meyering <meyering@lucent.com> @@ -19878,9 +20099,9 @@ 2000-12-16 Bruno Haible <haible@clisp.cons.org> - * lib/config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII, - CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257 - to the list of canonical encodings. Rename EUC-CN to GB2312. + * lib/config.charset: Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, + VISCII, CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, + CP1257 to the list of canonical encodings. Rename EUC-CN to GB2312. 2000-12-08 Andreas Schwab <schwab@suse.de> @@ -19890,7 +20111,8 @@ 2000-12-07 Jim Meyering <meyering@lucent.com> * lib/stripslash.c (ISSLASH): Define. - (strip_trailing_slashes): Use ISSLASH rather than comparing against `/'. + (strip_trailing_slashes): Use ISSLASH rather than comparing against + `/'. From Prashant TR. * lib/dirname.c (FILESYSTEM_PREFIX_LEN): Define. @@ -19912,8 +20134,8 @@ 2000-12-06 Jim Meyering <meyering@lucent.com> - * m4/xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the replacement - strtoull, we may well need the replacement strtoul, too. + * m4/xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): If we need the + replacement strtoull, we may well need the replacement strtoul, too. Check for declarations of strtoul and strtoull. Check for strtol. Mainly as a cue to cause automake to include strtol.c -- that file is included by each of strtoul.c and strtoull.c. @@ -20044,7 +20266,8 @@ 2000-10-29 Jim Meyering <meyering@lucent.com> - * m4/fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf renaming. + * m4/fsusage.m4: s/AC_SHELL_IFELSE/AS_IFELSE/ to match autoconf + renaming. * m4/ls-mntd-fs.m4: Likewise 2000-10-29 Jim Meyering <meyering@lucent.com> @@ -20180,7 +20403,8 @@ 2000-10-16 Jim Meyering <meyering@lucent.com> - * lib/hard-locale.c (hard_locale): Use "", not 0 as 2nd arg to setlocale. + * lib/hard-locale.c (hard_locale): Use "", not 0 as 2nd arg to + setlocale. From Jan Fedak. 2000-10-15 Stefan Monnier <monnier@cs.yale.edu> @@ -20208,8 +20432,9 @@ 2000-09-18 Jim Meyering <meyering@lucent.com> - * m4/getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of LIBS. - Otherwise, everyone ends up linking with -lelf for some configurations. + * m4/getloadavg.m4 (AC_FUNC_GETLOADAVG): Restore the initial value of + LIBS. Otherwise, everyone ends up linking with -lelf for some + configurations. Reported by Mike Stone. 2000-09-15 Jim Meyering <meyering@lucent.com> @@ -20335,7 +20560,8 @@ 2000-07-31 Jim Meyering <meyering@lucent.com> - * lib/xmalloc.c: Use `virtual memory exhausted', not `Memory exhausted'. + * lib/xmalloc.c: Use `virtual memory exhausted', not + `Memory exhausted'. * lib/obstack.c (print_and_abort): Likewise. 2000-07-30 Paul Eggert <eggert@twinsun.com> @@ -20360,7 +20586,8 @@ * lib/diacrit.c (diacrit_diac): Use __MSDOS__ in favor of MSDOS. * lib/dirname.c (dir_name): Likewise. - * lib/basename.c (base_name): Use ISSLASH rather than comparing against `/'. + * lib/basename.c (base_name): Use ISSLASH rather than comparing against + `/'. * lib/dirname.c (dir_name) [MSDOS]: Declare `lim' to be const. (dir_name): Assert that there are no trailing slashes. @@ -20409,8 +20636,8 @@ 2000-07-23 Jim Meyering <meyering@lucent.com> - * m4/check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, too: - getgrgid, getpwuid, getuid. + * m4/check-decl.m4 (jm_CHECK_DECLS): Check for declarations of these, + too: getgrgid, getpwuid, getuid. 2000-07-23 Jim Meyering <meyering@lucent.com> @@ -20430,8 +20657,8 @@ 2000-07-17 Bruno Haible <haible@clisp.cons.org> - * lib/config.charset: Add support for FreeBSD. Improve support for HP-UX - and IRIX 6. + * lib/config.charset: Add support for FreeBSD. Improve support for + HP-UX and IRIX 6. 2000-07-16 Bruno Haible <haible@clisp.cons.org> @@ -20462,7 +20689,8 @@ 2000-07-14 Jim Meyering <meyering@lucent.com> - * m4/xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require jm_AC_TYPE_UINTMAX_T. + * m4/xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Require + jm_AC_TYPE_UINTMAX_T. 2000-07-13 Paul Eggert <eggert@twinsun.com> @@ -20481,7 +20709,8 @@ Renamed from AC_MBSTATE_T_OBJECT. All uses changed. Change from a two-part test, which defines both HAVE_MBSTATE_T_OBJECT and mbstate_t, to a single-part test that simply defines mbstate_t. - * m4/prereq.m4 (jm_PREREQ_QUOTEARG): s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/. + * m4/prereq.m4 (jm_PREREQ_QUOTEARG): + s/AC_MBSTATE_T_OBJECT/AC_MBSTATE_T/. 2000-07-10 Jim Meyering <meyering@lucent.com> @@ -20592,7 +20821,8 @@ 2000-07-03 Jim Meyering <meyering@lucent.com> * lib/readutmp.h: [HAVE_UTMPX_H]: Include <utmp.h> if HAVE_UTMP_H. - This is necessary to get a definition of e.g., UTMP_FILE on HP-UX 10.20. + This is necessary to get a definition of e.g., UTMP_FILE on + HP-UX 10.20. From Bob Proulx. 2000-07-02 Jim Meyering <meyering@lucent.com> @@ -20658,8 +20888,9 @@ 2000-06-28 Jim Meyering <meyering@lucent.com> - * m4/mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not included - by quotearg.c, for which we perform this test. From Bruno Haible. + * m4/mbstate_t.m4: Use stdlib.h, not stdio.h. The latter is not + included by quotearg.c, for which we perform this test. From + Bruno Haible. 2000-06-27 Bruno Haible <haible@clisp.cons.org> @@ -20704,7 +20935,8 @@ 2000-06-25 Bruno Haible <haible@clisp.cons.org> - * lib/unicodeio.c (print_unicode_char): Work around ansi2knr deficiency. + * lib/unicodeio.c (print_unicode_char): Work around ansi2knr + deficiency. 2000-06-25 Bruno Haible <haible@clisp.cons.org> @@ -20801,8 +21033,8 @@ * lib/mkdir.c: Remove file, due mainly to copyright incompatibility. Besides, these days every porting target provides a mkdir function. - * lib/strnlen.c: Include memory.h, string.h, and/or strings.h as needed. - (this snippet comes from src/system.h). + * lib/strnlen.c: Include memory.h, string.h, and/or strings.h as + needed. (this snippet comes from src/system.h). 2000-06-16 Bruno Haible <haible@clisp.cons.org> @@ -20837,8 +21069,9 @@ 2000-06-12 Jim Meyering <meyering@lucent.com> - * m4/getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with AC_FUNC_GETLOADAVG - from autoconf, and tweak the latter to accept an optional argument. + * m4/getloadavg.m4 (AM_FUNC_GETLOADAVG): Replace with + AC_FUNC_GETLOADAVG from autoconf, and tweak the latter to accept an + optional argument. * m4/jm-macros.m4: s/AM_FUNC_GETLOADAVG/AC_FUNC_GETLOADAVG/, and supply the optional argument, `lib'. @@ -20901,16 +21134,17 @@ 2000-06-02 Jim Meyering <meyering@lucent.com> * lib/mountlist.c: Back out last change. Instead, do this... - * lib/mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Set the me_dummy - member using the same `ignore'-testing code. + * lib/mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Set the + me_dummy member using the same `ignore'-testing code. * lib/mountlist.h (ME_DUMMY): Add `autofs' to the list of ignored fs_type strings. From Mark D. Roth. 2000-05-29 Jim Meyering <meyering@lucent.com> - * lib/mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Ignore mounts - with the `ignore' attribute. Based on a patch from Mark D. Roth. + * lib/mountlist.c (read_filesystem_list) [MOUNTED_VMOUNT]: Ignore + mounts with the `ignore' attribute. Based on a patch from + Mark D. Roth. 2000-05-28 Jim Meyering <meyering@lucent.com> @@ -20935,8 +21169,8 @@ * m4/jm-macros.m4: Likewise. * m4/strftime.m4: Likewise. - * m4/check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in AC_CHECK_DECLS, - now that autoconf requires that. + * m4/check-decl.m4 (jm_CHECK_DECLS): Use []-quoted list in + AC_CHECK_DECLS, now that autoconf requires that. 2000-05-22 Jim Meyering <meyering@lucent.com> @@ -20974,8 +21208,8 @@ 2000-05-15 Jim Meyering <meyering@lucent.com> - * lib/version-etc.c (version_etc_copyright): Update the copyright string - used in all --version output. + * lib/version-etc.c (version_etc_copyright): Update the copyright + string used in all --version output. 2000-05-14 Jim Meyering <meyering@lucent.com> @@ -21033,8 +21267,8 @@ 2000-05-05 Jim Meyering <meyering@lucent.com> - * m4/jm-macros.m4 (jm_MACROS): Save and restore LIBS around AC_SEARCH_LIBS - call for clock_gettime. + * m4/jm-macros.m4 (jm_MACROS): Save and restore LIBS around + AC_SEARCH_LIBS call for clock_gettime. (LIB_CLOCK_GETTIME): Set and AC_SUBST. * m4/search-libs.m4: Update from autoconf. @@ -21045,8 +21279,8 @@ 2000-05-05 Bruno Haible <haible@clisp.cons.org> - * lib/localcharset.c (get_charset_aliases): Use malloc, realloc and memcpy - instead of xmalloc, xrealloc, path_concat. + * lib/localcharset.c (get_charset_aliases): Use malloc, realloc and + memcpy instead of xmalloc, xrealloc, path_concat. (locale_charset): Treat empty environment variables as absent. (DIRECTORY_SEPARATOR, ISSLASH): New macros. @@ -21055,7 +21289,8 @@ * lib/getopt.c: Update from glibc. * lib/obstack.c: Likewise. * lib/obstack.h: Likewise. - * lib/regex.c: Likewise. NB: K&R compiler support is dropped for this file + * lib/regex.c: Likewise. NB: K&R compiler support is dropped for this + file * lib/regex.h: Likewise. * lib/strndup.c: Likewise. @@ -21090,9 +21325,9 @@ 2000-04-28 Jim Meyering <meyering@lucent.com> - * lib/rpmatch.c [HAVE_LIMITS_H]: Include limits.h before regex.h to avoid - redefinition warning on some systems (HPUX). Otherwise, regex.h is - included first, then limits.h is included by locale.h by libintl.h. + * lib/rpmatch.c [HAVE_LIMITS_H]: Include limits.h before regex.h to + avoid redefinition warning on some systems (HPUX). Otherwise, regex.h + is included first, then limits.h is included by locale.h by libintl.h. From John David Anglin. 2000-04-25 Jim Meyering <meyering@lucent.com> @@ -21137,8 +21372,9 @@ 2000-04-14 Jim Meyering <meyering@lucent.com> - * m4/jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg form - of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets clobbered. + * m4/jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use the one-arg + form of AC_DEFINE. Otherwise, the #ifndef in AH_VERBATIM gets + clobbered. 2000-04-14 Jim Meyering <meyering@lucent.com> @@ -21146,8 +21382,8 @@ 2000-04-13 Jim Meyering <meyering@lucent.com> - * m4/jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new AH_VERBATIM - to insert required #ifndef into config.h.in. + * m4/jm-macros.m4 (jm_CHECK_ALL_TYPES) [_GNU_SOURCE]: Use new + AH_VERBATIM to insert required #ifndef into config.h.in. Suggestion from Akim Demaille. 2000-04-12 Jim Meyering <meyering@lucent.com> @@ -21168,8 +21404,9 @@ 2000-04-07 Jim Meyering <meyering@lucent.com> - * lib/putenv.c: Move inclusion of errno.h so it follows that of sys/types.h, - to work around system header problems on AIX 3.2.5. From Bruno Haible. + * lib/putenv.c: Move inclusion of errno.h so it follows that of + sys/types.h, to work around system header problems on AIX 3.2.5. + From Bruno Haible. 2000-04-07 Bruno Haible <haible@clisp.cons.org> @@ -21195,7 +21432,8 @@ 2000-04-05 Jim Meyering <meyering@lucent.com> Portability tweaks required for ultrix4.3. - * lib/readutmp.h [HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent. + * lib/readutmp.h [HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare + getutent. * lib/readutmp.c: Include sys/types.h before sys/stat.h. * lib/canon-host.c: Declare strdup. * lib/path-concat.c: Likewise. @@ -21261,7 +21499,8 @@ 2000-03-19 Bruno Haible <haible@clisp.cons.org> - * lib/config.charset: Output a line containing "Packages using this file". + * lib/config.charset: Output a line containing "Packages using this + file". * lib/ref-add.sed.in, ref-del.sed.in: New files. * lib/Makefile.am (install-exec-local, uninstall-local, ref-add.sed, ref-del.sed): New rules. @@ -21308,8 +21547,8 @@ 2000-03-04 Jim Meyering <meyering@lucent.com> - * lib/Makefile.am (install-exec-local): Create $(libdir) before installing - into it. + * lib/Makefile.am (install-exec-local): Create $(libdir) before + installing into it. (uninstall-local): Uncomment this rule so `make distcheck' works once again. @@ -21340,7 +21579,8 @@ rather than jm_CHECK_DECLARATIONS. * m4/decl.m4: Remove now-unused file. - * m4/check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and geteuid. + * m4/check-decl.m4 (AC_CHECK_DECLS): Add getlogin, ttyname, and + geteuid. 2000-03-02 Jim Meyering <meyering@lucent.com> @@ -21375,11 +21615,12 @@ * lib/strtoumax.c: Fix typo in decl of strtoul: s/long long/long/. Guard declaration of strtoull also with `&& HAVE_UNSIGNED_LONG_LONG'. - * lib/backupfile.c: Guard inclusion of stdlib.h with `#if HAVE_STDLIB_H', - not `#if STDC_HEADERS'. + * lib/backupfile.c: Guard inclusion of stdlib.h with + `#if HAVE_STDLIB_H', not `#if STDC_HEADERS'. Declare malloc if needed. - * lib/backupfile.c: Use `#if !HAVE_DECL...' instead of `#ifndef HAVE_DECL..' + * lib/backupfile.c: Use `#if !HAVE_DECL...' instead of + `#ifndef HAVE_DECL..' now that autoconf always defines the HAVE_DECL_ symbols. * lib/human.c: Likewise. * lib/same.c: Likewise. @@ -21392,8 +21633,9 @@ * lib/same.c: Likewise. * lib/strtoumax.c: Likewise. - * lib/userspec.c (parse_user_spec): If there is no `:' but there is a `.', - then first look up the entire `.'-containing string as a login name. + * lib/userspec.c (parse_user_spec): If there is no `:' but there is a + `.', then first look up the entire `.'-containing string as a login + name. 2000-02-23 Jim Meyering <meyering@lucent.com> @@ -21529,9 +21771,9 @@ 2000-01-30 Jim Meyering <meyering@lucent.com> - * lib/readutmp.c (extract_trimmed_name): Use UT_USER instead of hard-coding - uses of ->ut_name. The latter doesn't work with new Linux header files - where only utmpx.ut_user is declared. + * lib/readutmp.c (extract_trimmed_name): Use UT_USER instead of + hard-coding uses of ->ut_name. The latter doesn't work with new Linux + header files where only utmpx.ut_user is declared. * lib/readutmp.h (UT_USER): Define. @@ -21547,14 +21789,15 @@ 2000-01-25 Jim Meyering <meyering@lucent.com> - * m4/timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as well - as time.h in the compile check. + * m4/timespec.m4: Require AC_HEADER_TIME, and include sys/time.h as + well as time.h in the compile check. * m4/nanosleep.m4: Require AC_HEADER_TIME rather than simply using it. Fix typo in cross-compiling case: s/yes/no/. 2000-01-23 Jim Meyering <meyering@lucent.com> - * m4/jm-macros.m4: Move df-related tests here from fileutils/configure.in + * m4/jm-macros.m4: Move df-related tests here from + fileutils/configure.in * m4/ls-mntd-fs.m4: s/list_mounted_fs/ac_list_mounted_fs/ (jm_LIST_MOUNTED_FILESYSTEMS): Take two parameters. @@ -21563,7 +21806,8 @@ s/space/ac_fsusage_space/. (jm_FILE_SYSTEM_USAGE): Take two parameters. - * m4/ftruncate.m4: New file (derived from part of fileutils/configure.in). + * m4/ftruncate.m4: New file (derived from part of + fileutils/configure.in). * m4/jm-macros.m4 (jm_FUNC_FTRUNCATE): AC_REQUIRE it. (jm_CHECK_ALL_TYPES): Require AC_HEADER_MAJOR and AC_HEADER_DIRENT. @@ -21597,8 +21841,9 @@ * m4/prereq.m4 (jm_PREREQ_ADDEXT): New macro. Parts moved here from fileutils' configure.in. - * m4/decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' code. - Moved tests into their own function (_jm_DECL_HEADERS) in check-decl.m4. + * m4/decl.m4: Remove kludgy `test -z $ac_...AC_CHECK_HEADERS(...)' + code. Moved tests into their own function (_jm_DECL_HEADERS) in + check-decl.m4. * m4/check-decl.m4: Use #if rather than #ifdef. Add HAVE_DECL_STRTOUL and HAVE_DECL_STRTOULL. @@ -21617,7 +21862,8 @@ * lib/dirname.c (dir_name): Support for DOS-style file names with drive letters. - * lib/quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of iswprint. + * lib/quotearg.c [HAVE_WCTYPE_H]: Include <wctype.h> for decl of + iswprint. * lib/strverscmp.c (ISDIGIT): Define. (strverscmp): Use ISDIGIT, not isdigit. @@ -21700,7 +21946,8 @@ jm_STRUCT_DIRENT_D_INO. * m4/utimbuf.m4 (jm_CHECK_TYPE_STRUCT_UTIMBUF): Rename from jm_STRUCT_UTIMBUF. - * m4/jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ renamings. + * m4/jm-macros.m4: Reflect s/jm_STRUCT_/jm_CHECK_TYPE_STRUCT_/ + renamings. * m4/utime.m4: Likewise. * m4/timespec.m4 (jm_CHECK_TYPE_STRUCT_TIMESPEC): New file, macro. @@ -21767,16 +22014,16 @@ 1999-11-05 Jim Meyering <meyering@ascend.com> - * m4/jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from configure.in - of textutils, fileutils, and sh-utils into this one (shared between - those packages) file. + * m4/jm-macros.m4 (jm_CHECK_ALL_TYPES): Move some tests from + configure.in of textutils, fileutils, and sh-utils into this one + (shared between those packages) file. Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated AC_STRUCT_ST_BLKSIZE. 1999-11-03 Jim Meyering <meyering@ascend.com> - * m4/ssize_t.m4: Remove file. No longer needed since the new version of - AC_CHECK_TYPE checks includes unistd.h. + * m4/ssize_t.m4: Remove file. No longer needed since the new version + of AC_CHECK_TYPE checks includes unistd.h. * m4/jm-macros.m4: Use straight `AC_CHECK_TYPE(ssize_t, int)'. Suggestion from Akim Demaille. @@ -21877,7 +22124,8 @@ 1999-08-01 Jim Meyering <meyering@ascend.com> - * m4/mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from m4. + * m4/mktime.m4 (AC_FUNC_MKTIME): Undefine to avoid syntax errors from + m4. 1999-07-20 Jim Meyering <meyering@ascend.com> @@ -21974,16 +22222,18 @@ 1999-03-07 Jim Meyering <meyering@ascend.com> - * m4/jm-glibc-io.m4: Use only those *_unlocked macros that are declared. + * m4/jm-glibc-io.m4: Use only those *_unlocked macros that are + declared. 1999-02-17 Jim Meyering <meyering@ascend.com> - * m4/gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of brackets - in macro definition. From Eli Zaretskii and Alain Magloire. + * m4/gettext.m4 (AM_GNU_GETTEXT): Do `changequote' around use of + brackets in macro definition. From Eli Zaretskii and Alain Magloire. 1999-02-07 Jim Meyering <meyering@ascend.com> - * m4/group-member.m4: New file -- extracted from sh-utils' configure.in. + * m4/group-member.m4: New file -- extracted from sh-utils' + configure.in. 1999-02-05 Eli Zaretskii <eliz@is.elta.co.il> * m4/gettext.m4: Support DOS-style d:/foo/bar absolute file names. @@ -22030,8 +22280,9 @@ * m4/check-type.m4: Use 3-arg form of AC_DEFINE. - * m4/jm-mktime.m4: Make this a wrapper around the official AM_FUNC_MKTIME - rather than my private copy, now that the official one is up to date. + * m4/jm-mktime.m4: Make this a wrapper around the official + AM_FUNC_MKTIME rather than my private copy, now that the official one + is up to date. * m4/mktime.m4: Remove file. * m4/getloadavg.m4: Use 3-arg form of AC_DEFINE.