X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;f=ChangeLog;h=13c922fbaea2bdeb076ffe671a71e3b7c2123816;hb=c88c4b13124fa7df985fe52cd51b0c96a7826446;hp=0fb640e03b9ff17c39000c7f24d39d7f1519a8db;hpb=a29314f1739b34cb7653f4140c7cff368de86ead;p=gnulib.git diff --git a/ChangeLog b/ChangeLog index 0fb640e03..13c922fba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,727 @@ +2007-09-29 Bruno Haible + + * lib/xreadlink.c (xreadlink): Simplify to a wrapper around areadlink. + * modules/xreadlink (Depends-on): Add areadlink, remove readlink etc. + * build-aux/install-reloc: Compile also areadlink.c. + * modules/relocatable-prog-wrapper (Files): Add lib/areadlink.[hc]. + +2007-09-29 Bruno Haible + + * gnulib-tool (func_emit_initmacro_done): Indentation. + +2007-09-29 Bruno Haible + + * README: Add CVS checkout update instructions. + Info from Bob Proulx . + +2007-09-28 Eric Blake + + Provide move-if-change. + * build-aux/move-if-change: New file, based on best practice + rather than any canonical upstream location. + +2007-09-28 Jim Meyering + + Fix canonicalize loop-detection corner case. + Do not attempt to stat the symlink values stored via seen_triple. + Without this, coreutils' tests/misc/readlink-fp-loop test would fail + on linux-2.6.18, (but not 2.6.22). + * lib/canonicalize.c (seen_triple): Use triple_compare_ino_str, not + triple_compare. The former compares dev,ino,filename, while the latter + would actually stat dirname(filename) when dev and ino were equal. + * lib/hash-triple.c: Install . + (STREQ): Define. + (triple_compare_ino_str): New function. + * lib/hash-triple.h (triple_compare_ino_str): Declare it. + +2007-09-28 Eric Blake + + Enforce that AC_REPLACE_FUNCS files exist. + * gnulib-tool (func_emit_initmacro_done): Make AC_LIBSOURCES + override check for typos. + + Fix test-closein on Solaris 10. + * tests/test-closein.c (main): Don't assume stdin can be inherited + closed on all systems. + * tests/test-closein.sh: Likewise. + Reported by Piotr Tarnowski. + +2007-09-28 Jim Meyering + + * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): Fix typo in comment. + +2007-09-27 Jim Meyering + + canonicalize: Avoid a false-positive cycle failure. + * modules/canonicalize (Depends-on): Add file-set and hash-triple. + Sort. Remove cycle-check. + * lib/canonicalize.c: Include file-set.h and hash-triple.h, + not cycle-check.h. + (seen_triple): New function. + (canonicalize_filename_mode): Use it instead of cycle-check. + * tests/test-canonicalize.c: Add a test for this bug. + * tests/test-canonicalize.sh: Set up and run the test. + + New module, file-set, from coreutils. + * modules/file-set: Define it. + * lib/file-set.c, lib/file-set.h: Implement. + + New module, hash-triple, from coreutils. + * modules/hash-triple: Define it. + * lib/hash-triple.c, lib/hash-triple.h: Implement. + +2007-09-25 Eric Blake + + Fix strerror on Interix. + * lib/string_.h (strerror): Declare replacement. + * doc/functions/strerror.texi (strerror): Document the Interix + shortcoming. + * modules/string (Makefile.am): Support new hooks. + * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Add new hooks. + * m4/strerror.m4 (gl_FUNC_STRERROR): Defer to + gl_FUNC_STRERROR_SEPARATE. + (gl_FUNC_STRERROR_SEPARATE): Check for Interix bug. + * lib/strerror.c (rpl_strerror): Provide replacement. + * modules/strerror (Depends-on): Add string. + (configure.ac): Detect use of module. + * tests/test-strerror.c: New file. + * modules/strerror-tests: New test module. + * modules/argp (Depends-on): Add strerror. + * modules/error (Depends-on): Likewise. + Reported by Martin Koeppe. + +2007-09-24 Bruno Haible + + * README: Update git instructions. + +2007-09-24 Eric Blake + + Revert fpending breakage from 2007-09-08. + * m4/fpending.m4 (gl_FUNC_FPENDING): Don't require existence of + __fpending.c. + +2007-09-24 Jim Meyering + + filenamecat.c: Add a test. + * lib/filenamecat.c (main) [TEST_FILE_NAME_CONCAT]: Add a test + showing how the function works when DIR is the empty string. + +2007-09-21 Simon Josefsson + + * tests/test-canonicalize.sh: Turn on executable bit. + +2007-09-19 Eric Blake + + * README: Update CVS instructions. + +2007-09-18 Bruno Haible + + * modules/areadlink: New file. + * lib/areadlink.h (areadlink): New declaration. + * lib/areadlink.c: New file, based on lib/xreadlink.c. + +2007-09-17 Jim Meyering + + * lib/savewd.c (ESTALE) [!defined]: Define. + Reported to be required on Interix by Martin Koeppe. + +2007-09-17 Bruno Haible + + * gnulib-tool (func_version): Use $version. + +2007-09-16 Bruno Haible + + * m4/printf.m4 (gl_PRINTF_LONG_DOUBLE, gl_PRINTF_INFINITE, + gl_PRINTF_INFINITE_LONG_DOUBLE): Increase buf's size from 100 to 10000. + Needed on glibc-2.6.1 with -fstack-protector -D_FORTIFY_SOURCE=2. + Reported by Greg Schafer . + +2007-09-15 Bruno Haible + + * gnulib-tool (sed): Try a little harder to make bash understand the + alias. + Reported by Bruce Korb . + +2007-09-13 Eric Blake + + * ChangeLog: Remove conflict markers. + +2007-09-13 Simon Josefsson + + * lib/gc-gnulib.c (gc_hash_open): Catch NULL calloc return value. + Reported by Bruno Haible . + +2007-09-12 Bruno Haible + + * m4/lock.m4: Don't provide an AC_USE_SYSTEM_EXTENSIONS definition. + (gl_LOCK_EARLY_BODY): Use AC_GNU_SOURCE when AC_USE_SYSTEM_EXTENSIONS + is not defined. + +2007-09-12 Eric Blake + + Track CVS Autoconf on AC_USE_SYSTEM_EXTENSIONS. + * m4/extensions.m4 (AC_USE_SYSTEM_EXTENSIONS): Update to CVS + Autoconf definition. + * modules/euidaccess (Depends-on): Add extensions, for + AC_USE_SYSTEM_EXTENSIONS with autoconf <= 2.59. + * modules/fnmatch (Depends-on): Likewise. + * modules/getaddrinfo (Depends-on): Likewise. + * modules/getdelim (Depends-on): Likewise. + * modules/getline (Depends-on): Likewise. + * modules/getsubopt (Depends-on): Likewise. + * modules/gettext (Depends-on): Likewise. + * modules/group-member (Depends-on): Likewise. + * modules/mbchar (Depends-on): Likewise. + * modules/memmem (Depends-on): Likewise. + * modules/mempcpy (Depends-on): Likewise. + * modules/memrchr (Depends-on): Likewise. + * modules/pagealign_alloc (Depends-on): Likewise. + * modules/readutmp (Depends-on): Likewise. + * modules/stpcpy (Depends-on): Likewise. + * modules/stpncpy (Depends-on): Likewise. + * modules/strchrnul (Depends-on): Likewise. + * modules/strndup (Depends-on): Likewise. + * modules/strsep (Depends-on): Likewise. + * modules/strverscmp (Depends-on): Likewise. + * modules/vasprintf (Depends-on): Likewise. + * modules/wcwidth (Depends-on): Likewise. + * m4/euidaccess.m4 (gl_FUNC_EUIDACCESS): AC_GNU_SOURCE will be + obsolete in Autoconf 2.62; use AC_USE_SYSTEM_EXTENSIONS instead. + * m4/fnmatch.m4 (gl_FUNC_FNMATCH_GNU): Likewise. + * m4/getaddrinfo.m4 (gl_PREREQ_GETADDR_INFO): Likewise. + * m4/getdelim.m4 (gl_FUNC_GETDELIM): Likewise. + * m4/getline.m4 (gl_FUNC_GETLINE): Likewise. + * m4/getsubopt.m4 (gl_FUNC_GETSUBOPT): Likewise. + * m4/glob.m4 (gl_PREREQ_GLOB): Likewise. + * m4/group-member.m4 (gl_FUNC_GROUP_MEMBER): Likewise. + * m4/mbchar.m4 (gl_MBCHAR): Likewise. + * m4/memmem.m4 (gl_FUNC_MEMMEM): Likewise. + * m4/mempcpy.m4 (gl_FUNC_MEMPCPY): Likewise. + * m4/memrchr.m4 (gl_FUNC_MEMRCHR): Likewise. + * m4/mmap-anon.m4 (gl_FUNC_MMAP_ANON): Likewise. + * m4/pagealign_alloc.m4 (gl_PAGEALIGN_ALLOC): Likewise. + * m4/readutmp.m4 (gl_READUTMP): Likewise. + * m4/regex.m4 (gl_PREREQ_REGEX): Likewise. + * m4/stpcpy.m4 (gl_FUNC_STPCPY): Likewise. + * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Likewise. + * m4/strchrnul.m4 (gl_FUNC_STRCHRNUL): Likewise. + * m4/strndup.m4 (gl_FUNC_STRNDUP): Likewise. + * m4/strnlen.m4 (gl_FUNC_STRNLEN): Likewise. + * m4/strsep.m4 (gl_FUNC_STRSEP): Likewise. + * m4/strverscmp.m4 (gl_FUNC_STRVERSCMP): Likewise. + * m4/vasprintf.m4 (gl_PREREQ_VASPRINTF_H): Likewise. + * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Likewise. + * m4/lock.m4 (gl_LOCK_EARLY_BODY): Likewise, but provide fallback, + so that lock.m4 can be used in gettext without extensions module. + +2007-09-11 Bruno Haible + + * m4/isc-posix.m4: Remove file. + Suggested by Eric Blake. + +2007-09-11 Eric Blake + + * ChangeLog: Restore lines accidentally truncated 2007-04-06. + +2007-09-10 Bruno Haible + + * posix-modules: Fix typo in error message. + Reported by Matt . + +2007-09-09 Bruno Haible + + * doc/functions/getdelim.texi: Update list of platforms lacking the + function. + * doc/functions/getline.texi: Likewise. + +2007-09-09 Jim Meyering + + * lib/hash.c (hash_initialize): Detect calloc failure. + Reported by Bruno Haible. + +2007-09-09 Bruno Haible + + * lib/canonicalize-lgpl.c (__realpath): Set errno to ENOMEM when + malloc or realloc fails. + +2007-09-09 Bruno Haible + + * modules/getcwd (Depends-on): Add malloc-posix. + * modules/glob (Depends-on): Likewise. + * modules/putenv (Depends-on): Likewise. + * modules/strdup (Depends-on): Likewise. + * modules/getdelim (Depends-on): Add realloc-posix. + * modules/read-file (Depends-on): Likewise. + +2007-09-09 Bruno Haible + + * m4/malloc.m4 (gl_CHECK_MALLOC_POSIX): New macro. + (gl_FUNC_MALLOC_POSIX): Require it. + * m4/realloc.m4 (gl_FUNC_REALLOC_POSIX): Likewise. + * m4/calloc.m4 (gl_FUNC_CALLOC_POSIX): Likewise. + * modules/realloc (Files): Add m4/malloc.m4. + * modules/calloc (Files): Likewise. + +2007-09-09 Bruno Haible + + * modules/malloc-posix: New file. + * modules/malloc (Depends-on): Add malloc-posix. + * lib/malloc.c: Include errno.h. + (rpl_malloc): Merge the requirements of a glibc-compatible malloc + and a POSIX-compatible malloc into a single function. Set ENOMEM + when returning NULL. + * m4/malloc.m4: New file. + * doc/functions/malloc.texi: Mention the malloc-posix module. + * lib/stdlib_.h (malloc): New declaration. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize + GNULIB_MALLOC_POSIX and HAVE_MALLOC_POSIX. + * modules/stdlib (stdlib.h): Substitute also GNULIB_MALLOC_POSIX + and HAVE_MALLOC_POSIX. + +2007-09-09 Bruno Haible + + * modules/realloc-posix: New file. + * modules/realloc (Depends-on): Add realloc-posix. + * lib/realloc.c: Include errno.h. + (rpl_realloc): Merge the requirements of a glibc-compatible realloc + and a POSIX-compatible realloc into a single function. Set ENOMEM + when returning NULL. + * m4/realloc.m4: New file. + * doc/functions/realloc.texi: Mention the realloc-posix module. + * lib/stdlib_.h (realloc): New declaration. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize + GNULIB_REALLOC_POSIX and HAVE_REALLOC_POSIX. + * modules/stdlib (stdlib.h): Substitute also GNULIB_REALLOC_POSIX + and HAVE_REALLOC_POSIX. + +2007-09-09 Bruno Haible + + * modules/calloc-posix: New file. + * modules/calloc (Depends-on): Add calloc-posix. + * lib/calloc.c: Include errno.h. + (rpl_calloc): Merge the requirements of a glibc-compatible calloc + and a POSIX-compatible calloc into a single function. Set ENOMEM + when returning NULL. + * m4/calloc.m4 (gl_FUNC_CALLOC_POSIX): New macro. + * doc/functions/calloc.texi: Mention the calloc-posix module. + * lib/stdlib_.h (calloc): New declaration. + * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize + GNULIB_CALLOC_POSIX and HAVE_CALLOC_POSIX. + * modules/stdlib (stdlib.h): Substitute also GNULIB_CALLOC_POSIX + and HAVE_CALLOC_POSIX. + +2007-09-09 Bruno Haible + + Allow for modules to show an arbitrary notice. + * modules/TEMPLATE-EXTENDED: Add 'Notice' field. + * gnulib-tool: New option --extract-notice. + (func_usage): Document it. + (sed_extract_prog): Update. + (func_get_notice): New function. + (func_modules_notice): New function. + (func_import, func_create_testdir): Invoke it. + Suggested by Jim Meyering. + +2007-09-09 Bruno Haible + + * gnulib-tool: New options --verbose, --quiet. + (func_usage): Document them. + (verbose): New variable. + (func_execute_command): New function. + (func_import): Don't show the module list and the file list if + $verbose < 0. + (func_create_testdir): Likewise. Use func_execute_command. + (func_create_megatestdir): Use func_execute_command. + +2007-09-08 Bruno Haible + + * gnulib-tool (func_import): Prefer rsync over wget when available, + for fetching the PO files. + +2007-09-08 Bruno Haible + + * posix-modules: New file. Portions copied from gnulib-tool. + * doc/gnulib.texi (POSIX Substitutes Library): New chapter. + +2007-09-08 Jim Meyering + + Rename __fpending.c -> fpending.c and __fpending.h -> fpending.h + * lib/fpending.h: Rename from __fpending.h. + * lib/fpending.c: Rename from __fpending.c. + Include "fpending.h", not "__fpending.h". + * lib/__fpending.h, lib/__fpending.c: Remove files. + * modules/fpending (Files): Reflect new file names. + * lib/close-stream.c: Include "fpending.h", not "__fpending.h". + +2007-09-08 Bruno Haible + + * m4/inttypes-h.m4: Remove stub file. + +2007-09-07 Simon Josefsson + + * doc/headers/stdint.texi: Discuss #include_next issue. + +2007-09-06 Paul Eggert + + * build-aux/bootstrap: Remove obsolete comment about wget --help. + +2007-09-06 Yoann Vandoorselaere + + * m4/time_h.m4 (gl_CHECK_TYPE_STRUCT_TIMESPEC): Fix misspelling + in variable name. + +2007-09-03 Jim Meyering + + New module: git-version-gen. + * modules/git-version-gen: New file. + + Import changes from coreutils for bootstrap script. + + * build-aux/bootstrap (WGET_COMMAND): Remove code to set this variable. + + bootstrap: uses rsync to download the .po files + * build-aux/bootstrap (po_download_command_format): New global. + (download_po_files): Use rsync. + (update_po_files): Don't remove .po files after download, + so future rsync runs can take advantage of the copies. + + * build-aux/bootstrap (gnulib_tool): Make sha1sum check quietly. + + Solve the unnecessary-.po-file-regeneration problem once and for all. + * build-aux/bootstrap (download_po_files): New function, renamed from + get_translations. Now, downloads, but doesn't update LINGUAS. + (update_po_files): New function. + + bootstrap: Ignore more. + * build-aux/bootstrap (symlink_to_dir): Add a directory name like + uniwidth to e.g., lib/.gitignore. + (slurp): Handle the sys_stat_.h -> sys mapping, too. + + * build-aux/bootstrap: New setting: vc_ignore. + (insert_sorted_if_absent): Create $file if absent. + Adapt to new, possibly empty, list: $vc_ignore. + + bootstrap: generate more ignorable names + * build-aux/bootstrap (slurp): When generating ignorable names, + also map .sin to .sed, .gperf to .c, and .y to .c. + +2007-09-03 Jim Meyering + + * build-aux/git-version-gen: New file, from coreutils. For details, see + http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=bfe49f506 + +2007-09-02 Bruno Haible + + Fix mis-recognition of 'mcs' on QNX 6. + * m4/csharpcomp.m4 (gt_CSHARPCOMP): Test whether the "mcs --version" + output contains the string "Mono". + * lib/csharpcomp.c (compile_csharp_using_mono): Likewise. + Reported by at . + +2007-09-01 Bruno Haible + + Fix collision between uniwidth/* and linebreak modules. + * lib/linebreak.h (locale_charset, uc_width, u8_width, u16_width, + u32_width): Remove declarations. + * lib/linebreak.c: Include uniwidth.h, uniwidth/cjk.h, streq.h. + (u32_mbtouc_unsafe, streq9, streq8, streq7, streq6, streq5, streq4, + streq3, streq2, streq1, streq0): Remove functions. + (STREQ): Remove macro. + (is_cjk_encoding): Remove function. + (nonspacing_table_data, nonspacing_table_ind): Remove constants. + (uc_width, u8_width, u16_width, u32_width): Remove functions. + * modules/linebreak (Depends-on): Add streq, uniwidth/width. + * NEWS: Document the change. + +2007-09-01 Bruno Haible + + * lib/streq.h: Add double-inclusion guard. + +2007-09-01 Karl Berry + + * MODULES.html.sh: Rename mreadlink_with_size to areadlink_with_size. + +2007-08-28 Jim Meyering + + Rename mreadlink_with_size to areadlink_with_size. + * NEWS: Document the change. + * lib/mreadlink-with-size.c (mreadlink_with_size): Rename this to... + * lib/areadlink-with-size.c (areadlink_with_size): ...this. + * lib/mreadlink.h: Rename this to... + * lib/areadlink.h: ...this. + * modules/mreadlink-with-size: Rename this to... + * modules/areadlink-with-size: ...this. + * lib/canonicalize.c: Reflect the renaming. + * modules/canonicalize: Likewise. + +2007-08-26 Bruno Haible + + * gnulib-tool (func_import): When deciding which files to remove, + consider also dangling symbolic links. + Reported by Eric Blake. + +2007-08-26 Bruno Haible + + * gnulib-tool (func_ln_if_changed): Use "test -h", not "test -L". + +2007-08-23 Simon Josefsson + + * lib/readline.c: Don't include getline.h, the prototype is now + found in stdio.h. + +2007-08-23 Jim Meyering + + Getdelim touchup. + * lib/getdelim.c (getdelim): Don't bother to save/restore errno + around the funlockfile call, since funlockfile never sets errno. + Don't set errno upon failed realloc. + +2007-08-22 Eric Blake + + Getline touchups. + * lib/getdelim.c (getdelim): Revert regression that required *n to + be 0 when *lineptr is NULL. Preserve errno across funlockfile. + * m4/getdelim.m4 (gl_FUNC_GETDELIM): Check for declaration of + getdelim, rather than whether implementation is missing. + * m4/getline.m4 (gl_FUNC_GETLINE): Likewise for getline. + * lib/stdio_.h (getline): Also declare if replacement is + required. + * doc/functions/getdelim.texi: New file. + * doc/functions/getline.texi: Likewise. + * doc/gnulib.texi (Function Substitutes): Add new files. + Reported by Bruno Haible. + +2007-08-22 Ludovic Courtès + + * users.txt: Add Guile. + +2007-08-22 Eric Blake + + * tests/test-getdelim.c (main): Use remove, not unlink. + * tests/test-getline.c (main): Likewise. + + Move getline and getdelim into stdio.h, per POSIX 200x. + * modules/getline (Files): Remove getline.h. + (Depends-on): Add stdio. + (configure.ac): Add module indicator. + * modules/getdelim (Files): Remove getdelim.h. + (Depends-on): Add stdio. + (configure.ac): Add module indicator. + * modules/stdio (Makefile.am): Work with new indicators. + * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Add new defaults. + * m4/getdelim.m4 (gl_FUNC_GETDELIM): Work with stdio needs. + * m4/getline.m4 (gl_FUNC_GETLINE): Likewise. + * lib/getdelim.h: Delete. + * lib/getline.h: Delete. + * lib/stdio_.h (getdelim, getline): Declare. + * modules/getdelim-tests: New module. + * modules/getline-tests: Likewise. + * tests/test-getdelim.c: New file. + * tests/test-getline.c: Likewise. + * NEWS: Document the change. + * lib/getline.c: Update choice of header. + * lib/csharpcomp.c: Likewise. + * lib/getpass.c: Likewise. + * lib/javacomp.c: Likewise. + * lib/javaversion.c: Likewise. + * lib/yesno.c: Likewise. + * lib/getdelim.c: Likewise. + (getdelim): Set errno on failure, and avoid memory leak. + +2007-08-19 Bruno Haible + + * modules/closein (Depends-on): Add freadahead. + * lib/closein.c: Include freadahead.h. + (close_stdin): Skip the fseeko and fflush calls if freadahead(stdin) + is zero. + +2007-08-19 Bruno Haible + + * modules/freadahead-tests: New file. + * tests/test-freadahead.sh: New file. + * tests/test-freadahead.c: New file. + + * modules/freadahead: New file. + * lib/freadahead.h: New file. + * lib/freadahead.c: New file. + * MODULES.html.sh (File stream based Input/Output): Add freadahead, + fbufmode, fpurge, freadable, fwritable. + +2007-08-19 Eric Blake + + Test yesno in combination with closein. + * lib/yesno.c (yesno): Document use of stdin. + * modules/yesno-tests (Files): New module. + * tests/test-yesno.c (main): New file. + * tests/test-yesno.sh: Likewise. + +2007-08-19 Bruno Haible + + * lib/fbufmode.c (fbufmode): Add tentative support for Solaris/AMD64. + * lib/fseeko.c (rpl_fseeko): Likewise. + * lib/fseterr.c (fseterr): Likewise. + +2007-08-19 Bruno Haible + + * tests/test-lseek.c (main): Disable a test for BeOS. + * doc/functions/lseek.texi: Document the BeOS bug. + +2007-08-19 Bruno Haible + Eric Blake + + * lib/lseek.c: Include . + (rpl_lseek): Add workaround code also for Unix platforms. + Needed for BeOS. + * m4/lseek.m4 (gl_FUNC_LSEEK): When cross-compiling, fail on BeOS. + * doc/functions/lseek.texi: Document BeOS definiency. + +2007-08-18 Bruno Haible + + * modules/fstrcmp-tests: New file. + * tests/test-fstrcmp.c: New file. + +2007-08-18 Bruno Haible + + * modules/fstrcmp: New file, from GNU gettext with modifications. + * lib/fstrcmp.h: New file, from GNU gettext. + * lib/fstrcmp.c: New file, from GNU gettext. + * MODULES.html.sh (String handling): Add fstrcmp. + +2007-08-18 Bruno Haible + + * lib/diffseq.h (struct context): Change type of 'heuristic' field to + 'bool'. + (diag, compareseq): Remove const from the ctxt argument. + (USE_HEURISTIC): Undefine at the end. + +2007-08-18 Jim Meyering + + New file: lib/idcache.h + * NEWS: Mention the addition. + * modules/idcache (Files): Add lib/idcache.h + * lib/idcache.c: Include "idcache.h". + Don't include . + Add a FIXME comment. + Move file-scoped "static" declarations to the top. + * lib/idcache.h: New file. Include here, instead. + +2007-08-17 Bruno Haible + and Paul Eggert + + * MODULES.html.sh: Add diffseq. + * modules/diffseq: New file. + * lib/diffseq.h: New file, from GNU gettext with a few minor changes, + extracted from GNU gettext's fstrcmp.c and GNU diff's analyze.c. + +2007-08-15 Paul Eggert + + Import changes from coreutils for bootstrap script. + + 2007-07-21 Paul Eggert + + * build-aux/bootstrap (slurp): Work even in environments where + "ls" defaults to "ls -A". Put in a FIXME, though, since the + current code does not slurp files whose names start with ".", and + this looks like it might be a troublesome area. + + 2007-07-11 Jim Meyering + + If there's a GPL vN copyright comment, require that N == 3. + + 2007-07-08 Jim Meyering + + Run the coreutils-specific code only if tests/Makefile.am.in exists. + * build-aux/bootstrap (mam_template): Move definition out of loop. + + Create symlinks for gl/{lib,m4}/*, just as for gnulib/{lib,m4}/*. + + * build-aux/bootstrap (symlink_to_dir): Rename function from + symlink_to_gnulib. Add a directory parameter. Update all + callers. + (cp_mark_as_generated): Also check for -- and link to -- files in + gl/. + + 2007-07-08 Jim Meyering + + Adapt to deeper hierarchy in gnulib. + * build-aux/bootstrap (symlink_to_dir): If the destination + directory doesn't exist, create it. This is required at least for + "lib/uniwidth/cjk.h". + + 2007-05-15 Jim Meyering + + * build-aux/bootstrap: Now that generated Makefile.am files + are no longer under version control, they must be created at + bootstrap time. + +2007-08-14 Ben Pfaff + + * lib/count-one-bits.h: Add comments. From Bruno Haible. + +2007-08-14 Paul Eggert + + * lib/count-one-bits.h: Don't include ; no longer needed + given the changes below. + (COUNT_ONE_BITS): Use 'verify' rather than 'verify_true'. Work + even on hosts that have padding bits beyond the supported 64. + +2007-08-10 Paul Eggert + + * NEWS: In xstrtol, remove STRTOL_FATAL_ERROR and add xstrtol_fatal. + * lib/xstrtol.h: Don't include exitfail.h; that's now internal to + xstrtol.c. Include getopt.h, since xstrtol_fatal's signature + depends on it. + (xstrtol_error): Remove. + (xstrtol_fatal): New decl, replacing the functionality of xstrtol_error + but with a different signature. + (ATTRIBUTE_NORETURN, __attribute__): New macros. + * lib/xstrtol-error.c: Include exitfail.h. + (xstrtol_fatal): New function, with a different signature from the + old xstrtol_error, so that the caller need not worry about passing + in an exit status, or about storage management of the option argument. + (xstrtol_error): Now a static function. Redo signature to + implement xstrtol_fatal. Output the correct number of hyphens in + front of the option so that the caller need not worry about + storage management. + (N_): New macro. + (_): Remove; not used now. + * modules/xstrtol: Depend on getopt. + * tests/test-xstrtol.c (main): Use new xstrtol_error function instead + of old STRTOL_FATAL_ERROR macro. + * tests/test-xstrtol.sh (t-xstrtol.xo): Adjust to match new behavior + of test program. + * tests/test-xstrtoimax.sh (t-xstrtoimax.xo): Likewise. + * tests/test-xstrtoumax.sh (t-xstrtoumax.xo): Likewise. + +2007-08-08 Eric Blake + + * lib/xstrtol-error.c: Add missing include. + + Move xstrtol messages into gnulib domain, when --pobase is used. + * lib/xstrtol.h (_STRTOL_ERROR): Move messages out of macro... + * lib/xstrtol-error.c (xstrtol_error): ...into new file. + * modules/xstrtol (Files): Distribute new file. + * m4/xstrtol.m4 (gl_XSTRTOL): Build new file. + * lib/xstrtol.c (TESTING_XSTRTO): Move tests... + * tests/test-xstrtol.c: ...into new file. + * tests/test-xstrtoul.c: Also test xstrtoul. + * tests/test-xstrtoimax.c: Also test xstrtoimax. + * tests/test-xstrtoumax.c: Also test xstrtoumax. + * tests/test-xstrtol.sh: Drive the tests. + * tests/test-xstrtoimax.sh: Likewise. + * tests/test-xstrtoumax.sh: Likewise. + * modules/xstrtol-tests: New module. + * modules/xstrtoimax-tests: Likewise. + * modules/xstrtoumax-tests: Likewise. + +2007-08-08 Jim Meyering + + New function: mfile_name_concat. + * lib/filenamecat.c (mfile_name_concat): New function, just like + file_name_concat, but return NULL upon failure rather than exiting + with a diagnostic. + * lib/filenamecat.h: Declare it. + 2007-08-07 Bruno Haible * m4/inttypes.m4 (gl_INTTYPES_H): Use GL_TRIGGER_STDC_LIMIT_MACROS @@ -32435,3 +33159,80 @@ * m4/isc-posix.m4: New file. 1998-05-10 Jim Meyering + + * m4/jm-mktime.m4: Use AM_FUNC_MKTIME, now that it's up to date. + +1998-05-09 Jim Meyering + + * m4/Makefile.am (EXTRA_DIST): Add ssize_t.m4. + (EXTRA_DIST): Remove mktime.m4, now that the new version is included + with automake. + + * m4/ssize_t.m4: New file. + * m4/mktime.m4: Remove file -- the new automake has this now. + +1998-04-26 Jim Meyering + + * m4/assert.m4: New file. + * m4/Makefile.am (EXTRA_DIST): Add assert.m4. + +1998-04-05 Jim Meyering + + * m4/prereq.m4 (jm_PREREQ_REGEX): New macro. + (jm_PREREQ): Use it here. + +1998-03-23 Jim Meyering + + * m4/inttypes_h.m4: Kludges so I don't have to add HAVE_INTTYPES_H + in acconfig.h. + +1998-03-15 Jim Meyering + + * m4/prereq.m4: New file. + * m4/error.m4: New file. + * m4/Makefile.am (EXTRA_DIST): Add error.m4 and prereq.m4. + +1998-02-07 Jim Meyering + + * m4/getline.m4: Don't set am_cv_func_working_getline before the + cache-check for the same variable -- that defeated the purpose of + the test; the test program was never run. This was a problem only + on systems with losing getline functions -- HP-UX 10.20 is one. + Reported by Bjorn Helgaas. + +1998-02-06 Jim Meyering + + * m4/Makefile.am (EXTRA_DIST): Add perl.m4. + +1998-01-10 Jim Meyering + + * m4/Makefile.am (EXTRA_DIST): Add const.m4. + + * m4/const.m4: New file. Use an initializer in this declaration + typedef int charset[2]; const charset x; + Reported by Bob Glickstein. + +1997-12-21 Jim Meyering + + * m4/chown.m4: Fix reversed types on -1 args to chown. + From Kaveh Ghazi. + +1997-12-14 Jim Meyering + + * m4/check-decl.m4: s/DECLARATION_/DECL_/g. + Add lseek and memchr. + + * m4/decl.m4: s/HAVE_DECLARATION_/HAVE_DECL_/g. + T.E.Dickey said that some older preprocessors + have a 20-character limit on names. + +1997-11-30 Jim Meyering + + * m4/inttypes_h.m4: New file. + * m4/uintmax_t.m4: New file. + * m4/Makefile.am (EXTRA_DIST): Add inttypes_h.m4 and uintmax_t.m4. + +Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007 + Free Software Foundation, Inc. +Copying and distribution of this file, with or without modification, +are permitted provided the copyright notice and this notice are preserved.