coreutils-announce
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Coreutils-announce] fileutils-4.1.1 released (definitely `alpha')


From: Jim Meyering
Subject: [Coreutils-announce] fileutils-4.1.1 released (definitely `alpha')
Date: Sun, 04 Nov 2001 12:36:35 +0100
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1.50 (i686-pc-linux-gnu)

Hi,

[sorry about the length of this message]

Please heed the warning in README-alpha:

  It's been too long (too many changes) since the last release.
  Be careful with this one (4.1.1).  I may well have broken something.

I.e., please don't `inflict' :-) this on others until you've tested
it pretty well yourself.  Better still, if you have the time: audit it :-)

Although I've released this, it might be wise to delay announcing
it or referring others to it for a few days, just in case...

Can you tell I'm worried?
No, I don't know of any problems, but this release contains more
`deep' changes than most of the last 20-30 test releases, and I
know I'm nowhere near perfect :-)

On a more technical note:

If any of you can think of a way to make `ls -R's new loop detection
code more efficient, I'd like to hear it.  Currently the added
overhead per directory is O(1), mainly for an added fstat call on
the file descriptor[1] associated with an open DIR* pointer.
The total additional space is O(max-tree-depth) for a stack and a
hash table, each containing the set of `active' dev/ino pairs.
Also, there are additional `pending' list entries needed to detect
when ls has finished with a directory.  For more details see the
ChangeLog comments below, and of course, the code itself.

As usual, thanks to Paul Eggert for all his changes and advice.

Thanks,
Jim

[1] In glibc-land, that's called fstat (dirfd (dir_p, ...)), but
that's not portable, hence the new m4/dirfd.m4 and lib/dirfd.[ch].
BTW, if any of you know of a system that has neither a dirfd function
or macro, nor a DIR member named d_fd or dd_fd, please let me know.
---------------

  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.1.tar.gz   (2.1 MB)
  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1.1.tar.bz2  (1.5 MB)
  ftp://freefriends.org/gnu/fetish/fileutils-4.1.1.tar.gz   (2.1 MB)
  ftp://freefriends.org/gnu/fetish/fileutils-4.1.1.tar.bz2  (1.5 MB)

And here are xdelta-style diffs

  ftp://alpha.gnu.org/gnu/fetish/fileutils-4.1-4.1.1.xdelta   (696 kB)
  ftp://freefriends.org/gnu/fetish/fileutils-4.1-4.1.1.xdelta   (696 kB)

Here are the MD5 and SHA1 signatures for the compressed tar files:

030a1478f498f763d68bde642c287d6b  fileutils-4.1.1.tar.gz
54a0e89c9d36c3d143e502b81e28f6ba  fileutils-4.1.1.tar.bz2
82e2b5d42f85b55dcd41a15cfe3c46f64ff77594  fileutils-4.1.1.tar.gz
14f59eaab59afe95c422ca64a114b54421015f9d  fileutils-4.1.1.tar.bz2

NEWS:
* ls -R detects directory cycles, per POSIX.  It warns and doesn't infloop.
* cp's -P option now means the same as --no-dereference, per POSIX.
    Use --parents to get the old meaning.
* When copying with the -H and -L options, cp can preserve logical
    links between source files with --preserve=links
* cp accepts new options:
    --preserve[={mode,ownership,timestamps,links,all}]
    --no-preserve={mode,ownership,timestamps,links,all}
* cp's -p and --preserve options remain unchanged and are equivalent
    to `--preserve=mode,ownership,timestamps'
* mv and cp accept a new option: --reply={yes,no,query};  provides a consistent
    mechanism to control whether one is prompted about certain existing
    destination files.  Note that cp's and mv's -f options don't have the
    same meaning: cp's -f option no longer merely turns off `-i'.
* remove portability limitations (e.g., PATH_MAX on the Hurd, fixes for
    64-bit systems)
* mv now prompts before overwriting an existing, unwritable destination file
    when stdin is a tty, unless --force (-f) is specified, as per POSIX.
* mv: fix the bug whereby `mv -uf source dest' would delete source,
    even though it's older than dest.
* chown's --from=CURRENT_OWNER:CURRENT_GROUP option now works
* cp now ensures that the set-user-ID and set-group-ID bits are cleared for
    the destination file when when copying and not preserving permissions.
* `ln -f --backup k k' gives a clearer diagnostic
* ls no longer truncates user names or group names that are longer
    than 8 characters.
* ls's new --dereference-command-line option causes it to dereference
  symbolic links on the command-line only.
* ls -H now means the same as ls --dereference-command-line, as per POSIX.
* ls -g now acts like ls -l, except it does not display owner, as per POSIX.
* ls -n now implies -l, as per POSIX.
* ls can now display dates and times in one of four time styles:

  - The `full-iso' time style gives full ISO-style time stamps like
    `2001-05-14 23:45:56.477817180 -0700'.
  - The 'iso' time style gives ISO-style time stamps like '2001-05-14 '
    and '05-14 23:45'.
  - The 'locale' time style gives locale-dependent time stamps like
    'touko  14  2001' and 'touko  14 23:45' (in a Finnish locale).
  - The 'posix-iso' time style gives traditional POSIX-locale
    time stamps like 'May 14  2001' and 'May 14 23:45' unless the user
    specifies a non-POSIX locale, in which case it uses ISO-style dates.
    This is the default.

  You can specify a time style with an option like --time-style='iso'
  or with an environment variable like TIME_STYLE='iso'.  GNU Emacs 21
  and later can parse ISO dates, but older Emacs versions cannot, so
  if you are using an older version of Emacs outside the default POSIX
  locale, you may need to set TIME_STYLE="locale".

* --full-time is now an alias for "-l --time-style=full-iso".

Changes in release 4.1:

ChangeLog entries:

**********************************************************************
ChangeLog       2001/11/03 07:33:41     1.1406
**********************************************************************
2001-11-03  Jim Meyering  <address@hidden>

        * Version 4.1.1.

        * src/ls.c (DEV_INO_PUSH): Avoid unnecessary copies.
        (dev_ino_pop): Likewise.

2001-11-02  Jim Meyering  <address@hidden>

        * src/ls.c: Rename global: s/trace_dirs/recursive/.
        (extract_dirs_from_files): Rename parameter:
        s/recursive/ignore_dot_and_dot_dot/.

        * src/ls.c: (dev_ino_pop): Cast 2nd arg of obstack_blank to `int'
        before negating to avoid warning from gcc on systems with 64-bit size_t.

        * src/ls.c: Use XMALLOC and XREALLOC in a several places.  It's cleaner.

2001-11-01  Jim Meyering  <address@hidden>

        * src/ls.c: Include dirfd.h.
        (print_dir): If dirfd fails, resort to using stat.

        * tests/ls/infloop: Redirect cmp's stderr to /dev/null.

        * src/ls.c (struct pending) [st_ino, st_dev]: Remove members.
        (queue_directory): Remove just-added 3rd parameter
        and associated code, and update callers.
        (print_dir): Get dev/inode pair via `fstat (dirfd (reading), ...',
        and call visit_dir to detect cycles here.
        Push the dev/inode pair onto the new stack.
        (dev_ino_obstack): New global.
        (DEV_INO_PUSH): New macro.
        (dev_ino_pop): New function.
        (ASSERT_MATCHING_DEV_INO): New macro.
        (visit_dir): Take two parameters (dev,ino), not one `pending'.
        (main): Initialized the dev_ino_obstack.
        Don't call visit_dir here.
        Get the dev/ino pair from the new stack, not from the pending entry.

        Make ls -R detect directory cycles.
        Add loop detection without incurring an additional stat call per
        directory processed.  To detect loops efficiently (i.e., time: +O(1)
        per directory processed by ls -R, total additional space:
        O(max-tree-depth)), record the dev/ino of each `active' directory
        in a hash table.  To know when a directory is no longer active,
        insert a marker (name == NULL) entry for it in the pending queue.
        When a marker comes to the front of the queue, that directory is no
        longer active, and must be removed from the hash table.  To remove it,
        we need to know its dev/ino again.  Since by the time a directory
        has become inactive its files[] info is long gone and it's DIR*
        is closed, I must either save the dev/ino someplace (pending seemed
        logical) or recompute them via stat.

        The following change will convert to using a stack of dev/ino pairs
        instead, pushing an entry when doing the opendir (use fstat on
        dirfd (reading)), and popping (when encountering a marker) to get
        the dev/ino pair to be removed from the hash table.

        * src/ls.c: Include hash.h, same.h, and xalloc.h.
        (INITIAL_TABLE_SIZE, LOOP_DETECT): Define.
        (active_dir_set): New global.
        (struct dev_ino): Declare.
        (dev_ino_hash, dev_ino_compare, dev_ino_free): New functions.
        (visit_dir, free_pending_ent): New functions.
        (main): Initialize the active_dir_set hash table, if necessary.
        Don't confuse a marker entry with a real one.
        Detect loops.
        Manage the set of active directories.
        Free the hash table.
        (queue_directory): Add a new parameter.
        Ensure that we set the new dev/ino members for each enqueued directory.
        Update all callers.
        (print_dir): Don't confuse a marker entry with a real one.
        (extract_dirs_from_files): Insert a marker entry before inserting
        the entries for subdirectories.

        Don't try to print a NULL pointer.
        * src/ls.c (main): Don't use ARGMATCH_TO_ARGUMENT.
        This reverts part of the 1998-12-31 change.
        * tests/ls/dired: New test, for the above.
        * tests/ls/Makefile.am (TESTS): Add dired.

2001-10-24  Jim Meyering  <address@hidden>

        * src/cp.c (main): Free hash table storage.
        * src/cp-hash.c (forget_all): Use hash_free, not hash_clear.

2001-10-22  Paul Eggert  <address@hidden>

        * src/sys2.h (alloca): Define to __builtin_alloca if __GNUC__,
        to avoid a warning if -Wall.

2001-10-21  Paul Eggert  <address@hidden>

        * src/dd.c: Remove as many instances of 'unsigned' as
        possible, as some of them were not conforming to ANSI C, and
        they made the code hard to read.  Avoiding 'unsigned' cuts
        down on the number of casts.

        (newline_character, space_character, save_char):
        Now char, not unsigned char.
        (obuf): Now char *, not unsigned char *.
        (ascii_to_ebcdic, ascii_to_ibm, ebcdic_to_ascii):
        Now char[], not unsigned char[].
        (translate_charset, translate_buffer, swab_buffer, skip, copy_simple,
        copy_with_block, copy_with_unblock):
        Arg now points to char, not unsigned char.
        All callers changed.
        (translate_charset, parse_conversion, apply_translations):
        Use int index, not unsigned int.
        (bit_count): Arg is now int, not unsigned int.
        Callers not changed, as they already assumed this.
        (translate_buffer): Cast char to unsigned char before using
        it as a subscript.
        (swab_buffer): Returns char *, not unsigned char *.
        (dd_copy): Use char, not unsigned char, for buffers.
        Use size_t for possibly-large index, not unsigned int.

2001-10-21  Jim Meyering  <address@hidden>

        * src/shred.c (isaac_seed_machdep): Handle SIGSEGV, too.  Ick.

        * tests/mv/Makefile.am (TESTS): Remove i-3.  It's not portable.

        * src/copy.c: Include xreadlink.h.
        (copy_internal): Don't use PATH_MAX.
        Rewrite the symlink-copying code to use xreadlink.

2001-10-20  Jim Meyering  <address@hidden>

        * src/touch.c (touch): Extend last change to work on systems
        for which errno is set to EINVAL.

        * src/ls.c: Declare some local variables to be `const', where
        appropriate.
        (usage): Improve the description of --dereference (-L).

        * src/rm.c (usage): Clarify description of --directory (-d).
        Based on a patch from Michael Stone.

        * man/chmod.x: Describe sticky files and directories.
        From Michael Stone.

        * tests/mv/partition-perm: Don't use a umask that removes owner
        read/write.  Use a stricter test for permissions.

        * tests/cp/link-preserve: Don't use a umask that removes owner
        read/write.  That would induce spurious failures in a probably-
        outdated version of purify.

2001-10-18  Jim Meyering  <address@hidden>

        * src/mv.c (movefile): Now that remember_copied xstrdup's the file
        name, free `new_dest'.

        Plug a leak.
        * src/cp-hash.c (remember_copied): Use src_to_dest_free to free
        the entry we couldn't insert.

        Don't use free'd memory.
        * src/copy.c (dest_info_free): New function.
        (dest_info_init): Make the hash table code use it.
        (record_dest): Store each DEST in malloc'd  memory.  Hence the above.
        Use dest_info_free to free the `ent' we couldn't insert.

2001-10-14  Jim Meyering  <address@hidden>

        Now, -P is the same as --no-dereference, per POSIX.
        Use --parents to get the old meaning.

        * src/cp.c (enum) [NO_DEREFERENCE_OPTION]: Remove member.
        (long_opts): Associate --no-dereference with `-P'.
        (usage): Update description of -P.
        (main): Remove local, used_P_option, and code to warn
        that the meaning of -P would be changing.

2001-10-13  Jim Meyering  <address@hidden>

        * src/copy.c (copy_internal): Tighten up and add comments
        describing the test for when to record (via remember_copied)
        a <dst_path, source_dev, source_ino> triple.
        Relax the test that guards the hard-linked-dir check and
        the hard-link-preserving code.

        Remove the link-preserving semantics from cp_options.dereference.
        Clean up the code that preserves links for `cp -d' and `mv'.
        Introduce new options:
          --preserve[={mode,ownership,timestamps,links,all}]
          --no-preserve={mode,ownership,timestamps,links,all}
        -p and --preserve remain unchanged and are equivalent to
          `--preserve=mode,ownership,timestamps'

        * src/cp.c (enum) [NO_DEREFERENCE_OPTION]: New member.
        (enum) [NO_PRESERVE_ATTRIBUTES_OPTION]: New member.
        (enum) [PRESERVE_ATTRIBUTES_OPTION]: New member.
        (long_opts): Separate -d and --no-dereference options.
        Add `no-preserve'.
        Separate -p and --preserve options.
        The long-named --preserve now accepts optional arguments; -p doesn't.
        (usage): Describe additions and changes.
        (cp_option_init): Initialize new member, preserve_links, to 0.
        (decode_preserve_arg): New function.
        (main) [case 'a']: Set preserve_links to 1.
        [case 'd']: Set preserve_links to 1.
        Add `case' for long-named --no-dereference.
        Handle long-named --no-preserve and --preserve.

        * src/copy.h (enum Dereference_symlink): Add comments.
        (struct cp_options) [preserve_links]: New member.
        * src/install.c (cp_option_init): Initialize new member to 0.
        * src/mv.c (cp_option_init): Initialize new member to 1.

        * tests/cp/link-preserve: Add tests for some of the above.

2001-10-13  Jim Meyering  <address@hidden>

        * src/copy.h (struct cp_options) [failed_unlink_is_fatal]: Remove
        unused member.
        * src/mv.c (cp_option_init): Don't set it.
        * src/cp.c (cp_option_init): Likewise.
        * src/install.c (cp_option_init): Likewise.

        * src/copy.h (struct cp_options): Rename members:
        s/preserve_owner_and_group/preserve_ownership/, and
        s/preserve_chmod_bits/preserve_mode/.
        * src/copy.c, src/cp.c, src/install.c, src/mv.c: Update all uses.

        * man/chown.x: Fix typo: s/Sh/SH/ before OPTIONS.
        Reported by Eric S. Raymond.

2001-10-12  Jim Meyering  <address@hidden>

        * tests/ls/Makefile.am (TESTS): Add infloop.
        (XFAIL_TESTS): Mark it as a test that we expect to fail (temporarily).
        * tests/ls/infloop: New file.

2001-10-11  Jim Meyering  <address@hidden>

        * src/mknod.c (main): Tell what's wrong with `mknod c zero 1 5' rather
        than saying just `Try `./mknod --help' for more information.'.
        Suggestion from Karl Berry.

2001-10-07  Jim Meyering  <address@hidden>

        * TODO: Remove items relating to cp-hash.c, now that they're done.

        Allow cp -d (and mv when it resorts to copying) to preserve
        hard links that span command line arguments.

        * src/cp.c (do_copy): Don't clear the hash table after processing
        each command line argument.
        * tests/cp/link-preserve: New test for the above.
        * tests/cp/Makefile.am (TESTS): Add link-preserve.

        * src/cp-hash.c (remember_copied): Make a local copy of the file name.
        (src_to_dest_free): New function (to free the above).
        (hash_init): Register src_to_dest_free.
        * src/copy.c (copy_dir): Now that remember_copied copies the
        file name, free the temporary `dst_path' allocated here.

2001-10-06  Jim Meyering  <address@hidden>

        Convert du.c to use the functions in lib/hash.c, not private,
        slightly-modified copies of those that used to be in cp-hash.c.

        * src/du.c (struct entry) [coll_link]: Remove member.
        (struct htab): Remove.
        (hash_reset, hash_init, hash_insert2, hash_insert): Remove functions.

        * src/du.c: Include hash.h and same.h.
        (htab): Change type of global to `struct hash';
        (entry_hash, entry_compare, hash_ins): New functions.
        (count_entry): Use hash_ins instead of hash_insert.

2001-10-06  Jim Meyering  <address@hidden>

        Rewrite cp-hash.c to use the functions in lib/hash.c.

        * src/cp-hash.c (hash_init): Die if hash_initialize fails.

        * src/cp-hash.c: Rewrite to use the functions in lib/hash.c.
        * src/cp-hash.h: Update prototype for hash_init.
        * src/mv.c (do_move): Reflect that hash_init now takes no arguments.
        * src/install.c (main): Likewise.
        * src/cp.c (main): Likewise.

2001-10-06  Jim Meyering  <address@hidden>

        * src/copy.c (record_dest): Avoid a small leak.

2001-10-06  Jim Meyering  <address@hidden>

        This decreases the memory footprint a little, when copying
        hierarchies containing many files.

        * src/copy.c (copy_internal): Call remember_copied only if
        the source file has 1 < st_nlink, or if it's a directory.
        Now that EARLIER_FILE is set conditionally, initialize it to NULL.

        * tests/mv/childproof: Redirect stderr on one test.

2001-10-05  Jim Meyering  <address@hidden>

        * src/copy.c: Include hash-pjw.h and remove definition of hash_pjw.
        * src/remove.c: Likewise.

2001-10-01  Jim Meyering  <address@hidden>

        * src/remove.c (hash_pjw): Remove function.
        * src/copy.c: Likewise.

2001-09-29  Jim Meyering  <address@hidden>

        * src/copy.c (copy_internal): Call record_dest for all types of
        files (for which this makes sense), not just regular ones.

        * mkinstalldirs: Update from master.

        * Makefile.maint (wget-update): Add mkinstalldirs.

2001-09-28  Jim Meyering  <address@hidden>

        This mv command should fail (likewise for cp), rather than
        silently clobbering one of the source files.
          rm -rf a b c; mkdir a b c; touch a/f b/f; mv a/f b/f c
        Reported by from Dan Jacobson.

        * src/cp.c (do_copy): Call dest_info_init if necessary.
        * src/install.c (main): Likewise.
        * src/mv.c (main): Likewise.
        * src/copy.h (dest_info_init): Declare.
        * src/copy.c: Include "hash.h" and "same.h".
        (struct Dest_info): Define.
        (dest_info): Declare global.
        (DEST_INFO_INITIAL_CAPACITY): Define.
        (hash_pjw): New function.
        (dest_info_hash): Likewise.
        (dest_info_compare): Likewise.
        (dest_info_init): Likewise.
        (seen_dest): Likewise.
        (record_dest): Likewise.
        (copy_internal): If the destination exists, fail if it's in the set
        of files that have already been created as part of this mv or cp.
        (copy_internal) [move_mode]: Record the destination dev/ino/filename.
        (copy_internal) [!move_mode, regular file]: Likewise.

        Accept new option: --reply={yes,no,query}
        * src/cp.c: (enum) [REPLY_OPTION]: Define.
        (usage): Describe new option.
        Split long usage string into smaller pieces.
        (main): Handle new option.

        * missing: Update from master.
        * config.guess: Likewise.
        * config.sub: Likewise.

        * configure.ac: Tell automake to use the file name `config.hin'
        rather than the two-`.' config.h.in.

2001-09-26  Jim Meyering  <address@hidden>

        * man/Makefile.am (common_dep): s/configure.in/configure.ac/.

        * configure.ac: Renamed from configure.in.

        * INSTALL, mkinstalldirs: Update to autoconf 2.50 version.

2001-09-23  Jim Meyering  <address@hidden>

        * tests/mv/childproof: New test, for the above fix.
        Based on a report from Dan Jacobson.
        * tests/mv/Makefile.am (TESTS): Add childproof.

        * Makefile.am (SUBDIRS): When using newer gettext (in which
        intl/libintl.h is created by rules intl/Makefile)
        `intl' must precede `lib'.

2001-09-22  Jim Meyering  <address@hidden>

        Mostly clean-up (modulo the better diagnostic).
        * src/copy.c (copy_internal): Rename parameter, move_mode, to
        command_line_arg, and adjust caller.  Now, move_mode is a local
        that is derived from command_line_arg.
        Factor some involved code to produce something slightly more readable.
        Use x->move_mode, not move_mode in determining which diagnostic
        to give (`backing up %s would destroy source;  %s not moved').

2001-09-16  Paul Eggert  <address@hidden>

        * src/ls.c (usage): Fix typo in -g usage.
        -H now means --dereference-command-line.

2001-09-16  Jim Meyering  <address@hidden>

        * Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.5.

        * man/Makefile.am (*.1): Depend on *source* files, not binaries.
        (.x.1): Add code to work around ginstall vs. install exception.

        * man/Makefile.am (dist_man_MANS): Use dist_man_MANS, not man_MANS.

2001-09-15  Jim Meyering  <address@hidden>

        Convert to a more conventional (e.g., like autoconf) Makefile.am.
        * man/Makefile.am: Remove hacks.
        * man/GNUmakefile: Remove file.
        * man/Makefile.summ: Remove file.
        * man/Makefile.maint: Remove file.
        * man/ginstall.x: Remove.  Renamed to ...
        * man/install.x: ... this.  New file.
        Michael Stone reported that man pages weren't built in non-srcdir build.

        * src/touch.c (EISDIR): Define to 0, if not already defined.
        (touch): Give a better diagnostic for e.g., `touch /' by non-root.
        Based on a patch from Michael Stone.
        Reported by Jeff Sheinberg as Debian bug #101677.
        * tests/touch/fail-diag: New test, for the above fix.
        * tests/touch/Makefile.am (TESTS): Add fail-diag.

        * src/copy.c (copy_internal) [move_mode]: Support the new
        --reply=... option.
        (UNWRITABLE): Define (factored out of copy_internal).
        (copy_internal): Use UNWRITABLE.

        Accept new option: --reply={yes,no,query}
        * src/mv.c: Include argmatch.h.
        (enum) [REPLY_OPTION]: Define.
        (usage): Describe new option.
        Split long usage string into smaller pieces.
        (main): Handle new option.

        * src/cp.c (main): Reflect renaming: s/I_ON/I_ASK_USER/.

        * src/copy.h (enum Interactive): Remove members, I_OFF and I_ON.
        Instead, add I_ALWAYS_YES, I_ALWAYS_NO, and I_ASK_USER.

        * tests/mv/i-2: Clean up: use priv-check rather than open-coding it.

2001-05-11  Paul Eggert  <address@hidden>

        * src/chmod.c, src/chown.c, src/mkdir.c, src/rm.c, src/rmdir.c (main):
        Don't strip trailing slashes; POSIX doesn't allow it here.
        Don't include "dirname.h" when no longer needed.

2001-09-08  Jim Meyering  <address@hidden>

        * src/copy.c (copy_internal): Add braces around now-multi-stmt
        if-block.  This fixes a bug introduced by my 2001-08-06 change.
        * tests/mv/i-4: New test, for the above.
        * tests/mv/Makefile.am (TESTS): Add i-4.

2001-09-04  Paul Eggert  <address@hidden>

        * src/ls.c (get_link_name): Update use of xreadlink.

2001-09-02  Jim Meyering  <address@hidden>

        * tests/priv-check: Change usage not to use $1.
        That's not portable to e.g., Solaris2.6's /bin/sh.
        Communicate via an envvar instead.
        * tests/mv/i-3: Don't pass an argument to a sourced script.
        * tests/cp/special-bits: Likewise.
        * tests/chown/basic: Likewise.

        * Makefile.maint (alpha): Depend on local-check so that they run
        a little earlier.

2001-09-01  Jim Meyering  <address@hidden>

        * src/df.c (show_point): Use canonicalize_file_name, if possible.
        [HAVE_RESOLVEPATH], [!HAVE_RESOLVEPATH]: Use malloc, not alloca,
        so that these two paths also produce `resolved' in malloc'd storage.
        Free that memory when done with it.

        * src/ls.c: Include "xreadlink.h".
        (get_link_name): Don't use PATH_MAX.
        Rewrite to use xreadlink.

2001-08-30  Paul Eggert  <address@hidden>

        * src/chgrp.c: Do not include savedir.h; not used.
        * src/chown.c: Likewise.

        * src/chmod.c (change_dir_mode): Remove statp arg; no longer needed.
        * src/chown-core.c (change_dir_owner): Likewise.
        * src/du.c (count_entry): Remove st_size argument.
        * src/copy.c (copy_dir): Likewise.

2001-08-30  Paul Eggert  <address@hidden>

        * src/copy.c: Include full-write.h.
        * src/dd.c: Likewise.

        * src/copy.c (full_write): Remove decl; not needed.
        * src/dd.c: Likewise.
        * src/install.c: Likewise.
        * src/mv.c: Likewise.

        * src/copy.c (copy_reg):
        Don't assume read and write size fits in int.
        * src/dd.c (open_fd): Likewise.

2001-08-30  Paul Eggert  <address@hidden>

        * src/remove.c (bool): Remove; moved to...
        * src/system.h: ...here.

        * src/du.c (count_entry, main): Reflect changes to the
        exclude functions.

2001-08-13  Jim Meyering  <address@hidden>

        * src/cp.c, src/dd.c, src/ln.c, src/ls.c, src/mv.c (AUTHORS): Mark
        string for translation, since it contains the English word `and'.

        * Makefile.maint (author_mark_check): New rule.
        (local-check): Depend on it.

        Change the rules governing when mv prompts before removing an
        existing destination file so it is consistent with POSIX:
        Now, in the absence of --force (-f), if stdin is a tty and an
        existing destination is not writable mv will prompt before
        overwriting the destination file.
        Reported by Vin Shelton.

        * src/copy.c (overwrite_prompt): New function.
        (copy_internal): Separate the mv-specific and non-move_mode code
        that determines whether to prompt the user.
        [move_mode]: Don't make mv fail (i.e. don't return 1) just because
        the user declined to remove one or more of the files.
        * src/copy.h (enum Interactive): New type.
        (struct cp_options) [interactive]: Change type to Interactive.
        (struct cp_options) [stdin_tty]: New member.
        * src/cp.c (cp_option_init): Adjust initialization of `interactive',
        and initialize new member, stdin_tty.
        * src/mv.c (cp_option_init): Likewise.
        * src/install.c (cp_option_init): Likewise.
        * src/cp.c (main): Adjust initialization(s) of `interactive',
        * src/mv.c (main): Likewise.
        * tests/mv/i-1: Change expected exit status to reflect the above.

2001-08-12  Jim Meyering  <address@hidden>

        * tests/mk-script ($program_name): Define.
        (main): Use $program_name, rather than long-inaccurate `build-script'.
        (main): Iterate over the sorted keys (rather than `while...each...'),
        so this script produces the same output regardless of which version
        of perl (e.g., perl5.6) is used.

        Work around non-compliant gettimeofday on Mac OS X 10.0.4,
        (aka Darwin 1.3.7) that caused the date of the first file listed
        in long output to be the current time rather than the file's mtime.
        The real work is in m4/gettimeofday.m4 and the wrapper function,
        lib/gettimeofday.c.
        * src/ls.c: Include gtod.h.
        (main): `Call' GETTIMEOFDAY_INIT.
        (print_long_format): Add a comment about gettimeofday.
        Report and diagnosis from Bernhard Baehr.

        * src/shred.c: Include gtod.h.
        (main): `Call' GETTIMEOFDAY_INIT, just in case the code ever changes
        to make it necessary.

2001-08-10  Paul Eggert  <address@hidden>

        * src/ls.c (print_long_format): Simplify previous patch for
        listing negative sizes, by adding OFF_T_MAX - OFF_T_MIN + 1
        instead of doing a fancy conditional shift.  This is simpler
        and it avoids GCC's bogus compile-time warning about shift
        counts.  (As a bonus, it is portable to hosts that do not use
        twos-complement arithmetic.  :-)

2001-08-10  Jim Meyering  <address@hidden>

        * ls.c (print_long_format): Multiply the shift width by zero
        to avoid a warning from gcc on hosts with an unsigned type for the
        st_size member.

2001-08-06  Paul Eggert  <address@hidden>

        * src/ls.c (print_long_format): If a file size is negative, assume
        the typical case where it has wrapped around from a positive value.

2001-08-07  Jim Meyering  <address@hidden>

        * Makefile.maint (m4-check): New rule.
        (local-check): Depend on it.

2001-08-06  Jim Meyering  <address@hidden>

        Fix the bug whereby `mv -uf source dest' would delete source,
        even though it's older than dest.

        * src/mv.c (usage): Correct the description of --update.
        * src/copy.c (copy_internal): Set *rename_succeeded, so that
        the caller (mv) doesn't remove the source file.
        Reported by Phelippe Neveu.

        * tests/mv/update: New test for the above.
        * tests/mv/Makefile.am (TESTS): Add update.

2001-08-05  Jim Meyering  <address@hidden>

        * tests/root-only: Generalize.  Rename to ...
        * tests/priv-check: ...this.  New file.  Renamed from the above.
        * tests/Makefile.am (EXTRA_DIST): Reflect renaming.
        * tests/mv/i-3: Reflect name and usage changes.
        * tests/chown/basic: Likewise.
        * tests/cp/special-bits: Likewise.
        * tests/sample-test: Likewise.

2001-08-04  Jim Meyering  <address@hidden>

        * tests/root-only: Remove *all* write access, not just that
        of the owner.

        * tests/mv/i-3: New test for the above fix.
        * tests/mv/Makefile.am (TESTS): Add i-3.

2001-08-03  Paul Eggert  <address@hidden>

        * ls.c (quote_name): Pass 0 to mbsnwidth, since the default
        got changed and we want the default now.

2001-08-03  Paul Eggert  <address@hidden>

        * ls.c (quote_name): Pass 0 to mbsnwidth, since the default
        got changed and we want the default now.

2001-07-15  Jim Meyering  <address@hidden>

        * src/Makefile.am (INCLUDES): Add -I../lib so sys2.h can include
        the new, generated file, unlocked-io.h.

        * src/sys2.h: Include "unlocked-io.h", rather than hard-coding the
        HAVE_*_UNLOCKED macros.

        * Makefile.cfg ($(srcdir)/m4/jm-glibc-io.m4): New rule.

2001-07-14  Jim Meyering  <address@hidden>

        * Makefile.maint (tgz-size): Also work for sizes in the kilobyte range.

        * Makefile.maint: More changes from autoconf.

        Changes from autoconf.
        * Makefile.maint (GZIP_ENV): Add --best.
        (AMTAR): Define.
        (writable-files): Factor out ../release/ constant, and work (by
        creating it) even if such a directory doesn't exist.

2001-07-08  Jim Meyering  <address@hidden>

        * src/copy.c (get_dest_mode): Clear set-user-ID and set-group-ID bits
        when copying (i.e., not in move mode) and not preserving permissions.
        Reported by address@hidden
        FIXME: add a test for this!!!

2001-07-02  Jim Meyering  <address@hidden>

        * src/ln.c (do_link): Test the boolean symbolic_link, not the function,
        symlink.  Patch by Frederik Eaton.

2001-06-17  Jim Meyering  <address@hidden>

        * Makefile.maint: Factor out definitions specific to fileutils,
        sh-utils, and textutils, so that other packages can use the framework.
        Patch by Akim Demaille.
        * Makefile.cfg: New file with package-specific definitions.
        * GNUmakefile: Include Makefile.cfg.
        * Makefile.am (EXTRA_DIST): Add Makefile.cfg.

2001-06-16  Jim Meyering  <address@hidden>

        * src/ls.c (main): Recheck global print_with_color after calling
        parse_ls_color, since that function may have reset it.
        Based on a patch from Richard Dawe.

2001-06-16  Jim Meyering  <address@hidden>

        * config.sub: Update from master repository.
        * config.guess: Likewise.

2001-06-09  Jim Meyering  <address@hidden>

        * configure.in (ALL_LINGUAS): Add Turkish (tr).

2001-05-25  Jim Meyering  <address@hidden>

        * src/ls.c (print_long_format): Don't truncate user names
        or group names that are longer than 8 characters.

        Add definitions that let me factor the wget rule while still letting
        me accommodate the fact that these files reside in several different
        directories and come from different places.
        * Makefile.maint (wget-files): Define.
        (get-targets, *-local_dir, *-url_prefix): Likewise.
        (target, url, local_file): Convenience variables.
        ($(get-targets)): The factored rule.

2001-05-24  Jim Meyering  <address@hidden>

        * src/ansi2knr.c: Update from master source.

        * Makefile.maint (wget-update): Have wget write to a temporary file,
        and replace the original only if wget succeeds.
        Also get ansi2nkr.c.
        (move-if-change): Define.
        (wget-update): Use it in place of mv.

        * src/ls.c: Use `#if D_TYPE_IN_DIRENT && defined DTTOIF' to
        determine whether to enable the DT_INIT definition, not the less
        portable `#if defined _DIRENT_HAVE_D_TYPE || defined DTTOIF'.
        Reported by Eli Zaretskii.

        * src/mkfifo.c (main): Remove quotes around %s.
        The argument is already quoted via the quote function.
        * src/mknod.c (main): Likewise.
        Reported by Göran Uddeborg.

2001-05-21  Jim Meyering  <address@hidden>

        * Makefile.maint (wget-update): depcomp and missing are now in
        automake's lib/ subdirectory.

2001-05-11  Paul Eggert  <address@hidden>

        Add new --time-style option.
        Change --full-time to be equivalent to --time-style=full-iso.

        * NEWS, doc/omni-utils.texi: Describe this change.

        * src/ls.c: Include "hard-locale.h".
        (nstrftime): New decl.
        (enum time_style): New enum.
        (time_style_args, time_style_types): New constants.
        (full_time): Remove.
        (long_time_format): Initialize to POSIX defaults.
        (TIME_STYLE_OPTION): New constant.
        (long_options, decode_switches, usage): Add --time-style support.
        (long_time_expected_width): Use nstrftime, not strftime.
        (print_long_format): Likewise.
        Increase initial size to match new full-iso time style.

        * tests/ls/time-1: Unset QUOTING_STYLE and TIME_STYLE.  Set TZ.
        Adjust to change in full-time format.
        Fix typo in failure messages (-a and -m were interchanged).

2001-05-20  Jim Meyering  <address@hidden>

        * doc/Makefile.am (EXTRA_DIST): Add constants.texi and doclicense.texi.
        (info_TEXINFOS): s/fileutils/omni-utils/.
        (check-texinfo): New rule.
        (check): Depend on check-texinfo.

        * doc/omni-utils.texi (uniq invocation): Document the new optional
        arguments to the --all-repeated option.
        Make all references to POSIX use @sc{posix}.

2001-05-19  Jim Meyering  <address@hidden>

        * doc/fileutils.texi: Remove.

        * doc/omni-utils.texi: Change a few uses of `timezone' to `time zone'.
        Reported by Stephen Eglen.

2001-05-16  Jim Meyering  <address@hidden>

        * Makefile.maint (my-distcheck): Remove work-around kludge and
        associated comment, now that automake has ben fixed.

2001-05-12  Paul Eggert  <address@hidden>

        Clean up some of the places where the code assumed that random
        types like 'mode_t' fit into 'int', which POSIX doesn't guarantee.

        * src/ls.c (struct fileinfo.linkmode): Now st_mode.
        (print_color_indicator, print_name_with_quoting, print_type_indicator,
        length_of_file_name_and_frills):
        Use mode_t, not unsigned int, to store modes.
        (dired_dump_obstack): Do not assume size fits in 'int'.
        (get_link_name): readlink returns ssize_t, not int.
        (make_link_path): Store buffer size as size_t, not int.
        (print_long_format): Use unsigned long, not unsigned, to print
        nlink_t, uid_t, gid_t, major_t, minor_t.

2001-05-13  Paul Eggert  <address@hidden>

        * src/mknod.c (main): Check for NODEV device only if NODEV is defined.
        * src/system.h (NODEV): Remove, undoing previous change.

2001-05-13  Jim Meyering  <address@hidden>

        * src/remove.c (dir_name, dir_len): Define to different names
        to avoid shadowing warnings due to new declarations from dirname.h.

        * tests/Fetish.pm (run_tests): Fail if any test name is longer
        than 12 bytes.
        * tests/ls-2/tests: Shorten test names so the length of a
        resulting file name doesn't exceed 14.

2001-05-12  Paul Eggert  <address@hidden>

        * src/system.h (NODEV): New macro, if not already defined.

        * src/mknod.c (main): Check for overflow when converting out
        of uintmax_t.  Do not assume that major_t and minor_t are no
        wider than int.  Check for makedev failures.  Convert device
        numbers via uintmax_t, not unsigned long, just in case.
        Coalesce duplicate code in the block and character device
        cases.

2001-05-11  Paul Eggert  <address@hidden>

        Add new --dereference-command-line option.
        -H now means this instead of meaning --si, as POSIX requires.

        * NEWS, doc/omni-utils.texi: Document this.

        * src/ls.c (enum Dereference_symlink): New type.
        (dereference): New var, replacing trace_links, which was removed.
        (long_options, main, decode_switches, gobble_file, usage):
        Implement the changes.

        * tests/ls-2/tests:
        Rename slink-dir test to slink-dir-dF.  Add new tests
        slink-dir-F, slink-dir-dFH, slink-dir-dFL.

2001-05-11  Paul Eggert  <address@hidden>

        dirname code cleanup.  base_name now behaves more compatibly
        with POSIX basename when given file names that have trailing
        slashes, and similarly for dir_name.  Add new primitives
        base_len and dir_len.  Put the directory-name-related decls
        into dirname.h.

        * src/chmod.c (strip_trailing_slashes): Remove; now in dirname.h.
        * src/chown.c (strip_trailing_slashes): Likewise.
        * src/cp.c (strip_trailing_slashes): Likewise.
        * src/df.c (strip_trailing_slashes): Likewise.
        * src/ln.c (strip_trailing_slashes): Likewise.
        * src/mkdir.c (strip_trailing_slashes): Likewise.
        * src/rm.c (strip_trailing_slashes): Likewise.
        * src/rmdir.c (strip_trailing_slashes): Likewise.

        * src/dircolors.c, src/ls.c, src/remove.c:
        Include "dirname.h", to get base_name.

        * src/cp.c (make_path_private): Use dir_len instead of
        dir_name, and avoid an extra mealloc call.

        * src/df.c (find_mount_point): No need to strip trailing
        slashes before invoking new dir_name.

        * src/mv.c: Include "dirname.h".
        (strip_trailing_slashes_2): Remove; now done by
        strip_trailing_slashes.  All callers changed.

        * src/sys2.h (base_name): Remove decl; now in dirname.h.

        * src/copy.c (copy_internal): Remove the code that tested for NULL
        dir_name return value.  That can't happen.

2001-05-12  Jim Meyering  <address@hidden>

        * src/ls.c (usage): Wording changes related to -o, -n, and -g.
        * doc/omni-utils.texi: Likewise.
        From Paul Eggert.

2001-05-11  Paul Eggert  <address@hidden>

        * src/chmod.c (mode_changed, change_file_mode):
        There's no need to invoke both lstat and stat here, so call just
        one of the two functions.

2001-05-11  Jim Meyering  <address@hidden>

        * doc/omni-utils.texi: New file.  The union of fileutils.texi,
        sh-utils.texi, and textutils.texi.  Merged by Brian Youmans.

        * src/shred.c (usage): Warn about backups and mirrors.
        * doc/omni-utils.texi (shred invocation): Likewise.
        From Nelson Beebe.

2001-05-09  Jim Meyering  <address@hidden>

        * src/ls.c (main): Don't set `format_needs_stat' for --recursive (-R),
        because that would make `ls -RF dir' stat unnecessarily all of the
        files in dir/ on some systems.
        Similarly, don't set `format_needs_stat' for --dereference (-L),
        because that would make `ls -RLF dir' stat unnecessarily all non-symlink
        files in dir/ on some systems.
        Instead, ...
        (gobble_file): ... also stat a file if `trace_dirs' (-R) is set and its
        type is unknown.
        ... also stat a file if `trace_links' (-L) is set and the file is a
        symlink or its type is unknown.
        (print_dir): Also recognize DT_REG and DT_LNK.

2001-05-07  Jim Meyering  <address@hidden>

        * src/chown.c (main): Fix thinko that made --from=... fail:
        s/argv[optind]/optarg/.  Reported by Andrew Pham.

        * tests/chown: New directory.
        * tests/chown/basic: New (root-only) test for the above.
        * tests/cp/special-bits: Factor out the root-only test into this ...
        * tests/root-only: ... new file.
        * tests/Makefile.am (EXTRA_DIST): Add root-only.
        (SUBDIRS): Add chown.
        * tests/chown/Makefile.am: New file.
        * configure.in (AC_OUTPUT): Add tests/chown/Makefile.

2001-05-05  Jim Meyering  <address@hidden>

        * src/ls.c (decode_switches): Complain if the envvar, QUOTING_STYLE,
        is set to an invalid value.
        Move some declarations of locals into scopes where they're used.

2001-05-02  Jim Meyering  <address@hidden>

        * doc/texinfo.tex: Update from master repository.
        * config.sub: Likewise.
        * config.guess: Likewise.

2001-05-01  Jim Meyering  <address@hidden>

        * Makefile.maint (tgz-size, xd-size): Compute sizes.
        (announcement): Include sizes of .tar.gz and .xdelta files
        in the announcement.

        * src/ls.c (print_owner): New global variable.
        (usage): Update the descriptions of -g.
        (decode_switches): Honor the -g option (omit owner information),
        now that POSIX specifies it.
        (print_long_format): Don't print owner name if -g was specified.
        Move declaration of `user_name' into the scope where it's used.
        (print_group): Rename global from `inhibit_group'.  Update all
        uses accordingly.
        * doc/fileutils.texi (What information is listed): Describe -g.
        * TODO: Remove item for ls -g.

        * src/ls.c (decode_switches): Make -n work just like -l, except
        with numeric IDs, per POSIX.  Before, to have any effect, -n had
        to be used with -l.  Reported by Dale Scheetz.
        (usage): Update the description of -n.
        Separate the descriptions of -n and --numeric-uid-gid.
        Split string in --help output that had exceeded my limit of
        2048 bytes.

        (copy_internal): `force' is not related to interactive; remove

**********************************************************************
/tmp/cvs0UInto  Sun Nov  4 11:30:37 2001
**********************************************************************
2001-10-21  Jim Meyering  <address@hidden>

        * coreutils.texi (cp invocation): Describe --reply=...

2001-10-17  Jim Meyering  <address@hidden>

        * coreutils.texi (cp invocation): `cp --no-dereference' is
        no longer equivalent to `cp -d'.
        `cp -d' is equivalent to `--no-dereference --preserve=links'.
        cp's -P option means --no-dereference, not --parents.
        Describe new optional argument to --preserve.
        Describe new option: --no-preserve=ATTRIBUTE_LIST.

2001-09-23  Jim Meyering  <address@hidden>

        * Makefile.am (check-texinfo): Redirect stderr of `grep -w' to
        /dev/null, so people with old versions of grep don't see the failure.

2001-09-16  Jim Meyering  <address@hidden>

        * coreutils.texi (mv invocation): Describe new option:
        --reply={yes,no,query}.  Fix a few typos.

2001-09-15  Paul Eggert  <address@hidden>

        * coreutils.texi (uniq invocation): The input need not
        be sorted.  Try to clarify -d versus -D versus -u.

2001-09-12  Jim Meyering  <address@hidden>

        * coreutils.texi (tail invocation): Document new option: -F.
        From Herbert Xu.

2001-09-04  Paul Eggert  <address@hidden>

        * coreutils.texi (join invocation): Describe the GNU
        extension to join, which does not require sorted input when
        the input contains no unpairable lines.

2001-09-03  Paul Eggert  <address@hidden>

        * coreutils.texi:
        New 'uname' options -i or --hardware-platform,
        and -o or --operating-system.
        'uname -a' now outputs -i and -o information at the end.
        New uname option --kernel-version is an alias for -v.
        Uname option --release has been renamed to --kernel-release,
        and --sysname has been renamed to --kernel-name;
        the old options will work for a while, but are no longer documented.

2001-08-24  Herbert Xu  <address@hidden>

        * coreutils.texi (cut invocation): Document how cut treats lines
        with no separators.

2001-06-19  Paul Eggert  <address@hidden>

        * coreutils.texi: expr now uses LC_COLLATE for string comparison,
        as per POSIX.

2001-08-25  Jim Meyering  <address@hidden>

        * coreutils.texi: Use @option, rather than @samp everywhere.

2001-06-21  Paul Eggert  <address@hidden>

        * coreutils.texi: 'expr' now requires '+' rather than 'quote'
        to quote tokens.

2001-07-14  Jim Meyering  <address@hidden>

        * coreutils.texi (cp invocation): Reflect 2001-07-08 change to
        cp (via copy.c).

2001-06-16  Jim Meyering  <address@hidden>

        * Makefile.am (info_TEXINFOS): Reflect renaming: s/omni-/core/.
        * coreutils.texi: Likewise.

        * coreutils.texi: New, renamed from omni-utils.texi.
        * omni-utils.texi: Removed, renamed to coreutils.texi.

        * omni-utils.texi (ls invocation): Mention the effect of locale.
        Reported by Keith Thompson.

2001-05-24  Jim Meyering  <address@hidden>

        * texinfo.tex: Update from master source.

        * omni-utils.texi (ls invocation): Document more clearly what ls
        does when given no arguments.

2001-05-21  Jim Meyering  <address@hidden>

        * textutils.texi: Remove file.

        * Makefile.am ($(DVIS), $(INFO_DEPS)): Depend on $(EXTRA_DIST).
        (DISABLED_constants.texi): New rule -- disabled for now.

        This directory is now shared by fileutils, textutils, and sh-utils.

**********************************************************************
intl/ChangeLog  2001/09/22 15:06:07     1.24
**********************************************************************
2001-09-13  GNU  <address@hidden>
        * Version 0.10.40 released.

**********************************************************************
lib/ChangeLog   2001/11/03 21:46:35     1.297
**********************************************************************
2001-11-03  Jim Meyering  <address@hidden>

        * argmatch.h (ARGMATCH_TO_ARGUMENT): Remove casts of first two args
        in argmatch_to_argument call.

        * dirfd.c (dirfd): Reflect the fact that DIR_TO_FD now takes an
        argument.

        * hash.c (hash_clear): Fix a bug that could lead to an infloop or
        e.g., a fault due to an attempt to free a NULL pointer.

2001-11-01  Jim Meyering  <address@hidden>

        * dirfd.c, dirfd.h: New files.
        * Makefile.am (libfetish_a_SOURCES): Add dirfd.h.

        * hash.c (hash_print) [TESTING]: Clean up.

2001-10-22  Paul Eggert  <address@hidden>

        * hard-locale.c (alloca): Define to __builtin_alloca if __GNUC__,
        to avoid a warning if -Wall.

2001-10-21  Paul Eggert  <address@hidden>

        * regex.c (uintptr_t): Remove macro and decl; it's config.h's job.

2001-10-21  Jim Meyering  <address@hidden>

        * obstack.c (_): Honor the setting of ENABLE_NLS.  Otherwise,
        this code would end up calling gettext even in packages built
        with --disable-nls.
        * getopt.c (_): Likewise.
        * regex.c (_): Likewise.

2001-10-20  Paul Eggert  <address@hidden>

        * error.c (strerror_r): Do not declare unless !_LIBC.
        Do not check for HAVE_DECL_STRERROR_R missing unless STRERROR_R_CHAR_P.
        Use strerror_r that is only a macro, even if it is not a function.
        (strerror): Check for HAVE_DECL_STRERROR before declaring.
        (private_strerror): Use prototypes, not old-style function definition.
        (print_errno_message): New function.
        Support the POSIX 'int'-flavored strerror_r, as well as the traditional
        char*-flavored one.
        (error_tail, error, error_at_line): Use it.

2001-10-11  Jim Meyering  <address@hidden>

        * argmatch.c (argmatch_invalid): Use quotearg_n_style (0, ...
        and quote_n (1, ... to avoid clobbering a buffer.

2001-10-05  Jim Meyering  <address@hidden>

        * Makefile.am: (libfetish_a_SOURCES): Add hash-pjw.c and hash-pjw.h.
        * hash-pjw.c: New file (factored out of fileutils' remove.c).
        * hash-pjw.h: New file.

2001-09-30  Jim Meyering  <address@hidden>

        * mountlist.c [MOUNTED_GETFSSTAT]:
        Include <sys/ucred.h>, for Apple Darwin.
        Include sys/mount.h and sys/fs_types.h only if available.
        (FS_TYPE): Define.
        (read_filesystem_list): Use FS_TYPE.

2001-09-29  Paul Eggert  <address@hidden>

        * exclude.c (excluded_filename): 0 -> false, since it's
        a boolean context.

2001-09-28  Paul Eggert  <address@hidden>

        Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
        #defines strtoimax.  Also treat the other strto* functions
        like strtoimax.

        * xstrtol.c (strtol): Do not declare if HAVE_DECL_STRTOL.
        (strtoul): Do not declare if HAVE_DECL_STRTOUL.
        (strtoimax, strtoumax): Do not declare if already defined as a macro.

2001-09-26  Jim Meyering  <address@hidden>

        Most macros in unlocked-io.h had the wrong number of arguments.
        * gen-uio: New script.
        (USE_UNLOCKED_IO): Define to 1 if not already defined.
        * unlocked-io.hin: Remove file.
        * Makefile.am (unlocked-io.h): Rewrite to use a separate script,
        rather than trying to embed it here.
        (EXTRA_DIST): Add gen-uio.  Remove unlocked-io.hin
        Reported by Padraig Brady.

2001-09-25  Volker Borchert  <address@hidden>

        * gettimeofday.c (rpl_gettimeofday): Declare local variable `result'.

2001-09-23  Jim Meyering  <address@hidden>

        * mountlist.c: Remove useless parentheses in #if directives.
        (MOUNTED) [!defined MOUNTED]: Define to _PATH_MOUNTED, for when
        the deprecated MOUNTED symbol is no longer defined in mntent.h.

2001-09-22  Jim Meyering  <address@hidden>

        * localcharset.c: Update from latest gettext.
        * config.charset: Likewise.

2001-09-20  Jim Meyering  <address@hidden>

        * xstrtol.c (strtoimax): Guard declaration with
        `#if !HAVE_DECL_STRTOIMAX', rather than just `#ifndef strtoimax'.
        The latter fails because some systems (at least rs6000-ibm-aix4.3.3.0)
        have their own, conflicting declaration of strtoimax in sys/inttypes.h.
        (strtoumax): Likewise, for completeness (it wasn't necessary).

2001-09-06  Paul Eggert  <address@hidden>

        * strtoimax.c (HAVE_LONG_LONG):
        Redefine to HAVE_UNSIGNED_LONG_LONG if unsigned.
        (strtoimax): Use sizeof (long), not sizeof strtol (ptr, endptr, base),
        to work around bug in IBM C compiler.

2001-09-16  Jim Meyering  <address@hidden>

        * mkdir.c: New file.

2001-09-04  Paul Eggert  <address@hidden>

        * xgetcwd.c: Revert some of the previous change; intead,
        fix the HAVE_GETCWD_NULL code to behave more like the
        !HAVE_GETCWD_NULL code used to.

        Include "xalloc.h".
        (xgetcwd): Do not return NULL when memory is exhausted; instead,
        invoke xalloc_die.

2001-09-04  Paul Eggert  <address@hidden>

        * xreadlink.c (xreadlink): Omit size_t* arg.  All uses changed.
        Use ssize_t, not int, to store result of readlink.
        Check for ssize_t overflow as well as size_t overflow,
        as POSIX says the result of readlink is implementation-defined
        when ssize_t overflows.
        Remove unnecessary cast to char*.
        Use free+malloc instead of realloc, as the storage doesn't need
        to be preserved and it's clearer and can be more efficient that way.
        (SIZE_MAX, SSIZE_MAX): New macros, if <limits.h> doesn't declare.
        * xreadlink.h (xreadlink): Update prototype.

2001-09-03  Paul Eggert  <address@hidden>

        * exclude.c (fnmatch_no_wildcards): Fix confusion between
        usage of FNM_CASEFOLD and FNM_LEADING_DIR.  The bug was
        spotted by Jim Meyering.

2001-09-03  Jim Meyering  <address@hidden>

        * xreadlink.c (xreadlink): Preserve errno around `free' during failure.

2001-09-03  Paul Eggert  <address@hidden>

        * xgetcwd.c: Fix the !HAVE_GETCWD_NULL code to behave more
        like the HAVE_GETCWD_NULL code.
        Include pathmax.h if not HAVE_GETCWD.
        Do not include xalloc.h.
        (INITIAL_BUFFER_SIZE): New symbol.
        Do not use xmalloc / xrealloc, since the caller is responsible for
        handling errors.  Preserve errno around `free' during failure.
        Do not overrun buffer when using getwd.

2001-09-03  Paul Eggert  <address@hidden>

        * xgetcwd.c (xgetcwd): Use HAVE_GETCWD_NULL, not (defined
        __GLIBC__ && __GLIBC__ >= 2), to decide whether to use getcwd (NULL, 0).

2001-09-02  Jim Meyering  <address@hidden>

        * error.c: Update from GNU libc.

2001-09-01  Jim Meyering  <address@hidden>

        * xreadlink.c: New file.
        * xreadlink.h: New file.
        * Makefile.am (libfetish_a_SOURCES): Add xreadlink.c and xreadlink.h.

        * regex.c (uintptr_t) [!_LIBC]: Define to private_uintptr_t, so it
        doesn't conflict with sparc-sun-solaris2.7's definition in
        /usr/include/sys/int_types.h.

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

2001-08-31  Jim Meyering  <address@hidden>

        * xgetcwd.c (xgetcwd): Reorganize to avoid some duplication.
        Use an initial, malloc'd, buffer of length 128 rather than
        a statically allocated one of length 1024.

2001-08-30  Paul Eggert  <address@hidden>

        * xgetcwd.c: Don't include pathmax.h.
        Include stdlib.h and unistd.h if available.
        Include xalloc.h.
        (xmalloc, xstrdup, free): Remove decls.
        (xgetcwd): Don't assume sizes fit in unsigned.
        Check for overflow when computing sizes.
        Simplify reallocation code.

2001-08-28  Paul Eggert  <address@hidden>

        * Makefile.am (libfetish_a_SOURCES): Remove strtoxmax.c.

        * strtoimax.c: Renamed from strtoxmax.c, removing the
        old strtoimax.c.

        Also, make the following further changes to make this file's
        configuration more similar to that of strtol.c:
        (UNSIGNED): Renamed from STRTOUXMAX_UNSIGNED.  All uses changed.
        (strtoumax, uintmax_t, strtoull, strtol): Remove.
        (intmax_t, strtoimax, strtol, strtoll): New macros, if UNSIGNED.
        (strtoimax): Renamed from strtoumax.  All uses of unsigned values
        changed to signed values.

        And make the following changes as well:
        Fix copyright notice, as 1999 was missing.
        (verify): New macro.
        (strtoimax): Check sizes at compile-time, not run-time.
        Prefer strtol to strtoll if both work.
        (main): Remove; it was not that useful and was a pain to maintain.

        * strtoumax.c: Include strtoimax.c, not strtouxmax.c.

2001-08-30  Paul Eggert  <address@hidden>

        * savedir.c (savedir): Remove size parameter, as POSIX says that
        a directory's st_size can have an arbitrary value, so the old
        usage could waste an arbitrary amount of memory.  All uses
        changed.
        * savedir.h: Update prototype.

2001-08-30  Paul Eggert  <address@hidden>

        * xstrtol.c (strtoimax): New decl.

2001-08-28  Paul Eggert  <address@hidden>

        * xstrtol.h: Add copyright notice.
        (_DECLARE_XSTRTOL): Improve quality of diagnostic for
        LONGINT_INVALID_SUFFIX_CHAR.

2001-08-30  Paul Eggert  <address@hidden>

        * quotearg.c: BSD/OS 4.1 wchar.h requires FILE and struct
        tm to be declared.

2001-08-30  Paul Eggert  <address@hidden>

        * hash.c: Remove '2001' from copyright notice.

2001-08-30  Paul Eggert  <address@hidden>

        * full-write.h: New file.
        * Makefile.am (libfetish_a_SOURCES): Add full-write.h.
        * full-write.c: Correct credits, as cccp.c no longer
        exists and anyway it was so heavily changed from the old cccp
        code as to be unrecognizable.  Include full-write.h.
        (full_write) Return size_t, with short writes meaning failure.
        All callers changed.  This fixes a bug with large buffers
        on 64-bit hosts.
        * utime.c: Include full-write.h.

2001-08-30  Paul Eggert  <address@hidden>

        Merge 'exclude' changes from tar 1.13.22.
        This fixes one or two unlikely storage allocation overflow bugs,
        but doesn't change user-visible behavior otherwise.

2001-08-30  Paul Eggert  <address@hidden>

        * exclude.c (bool): Declare, perhaps by including stdbool.h.
        (<sys/types.h>): Include only if HAVE_SYS_TYPES_H.
        (<stdlib.h>, <string.h>, <strings.h>, <inttypes.h>, <stdint.h>):
        Include if available.
        (<xalloc.h>): Include
        (SIZE_MAX): Define if <stdint.h> or <inttypes.h> doesn't.
        (verify): New macro.  Use it to verify that EXCLUDE macros do not
        collide with FNM macros.
        (struct patopts): New struct.
        (struct exclude): Use it, as exclude patterns now come with options.
        (new_exclude): Support above changes.
        (new_exclude, add_exclude_file):
        Initial size must now be a power of two to simplify overflow checking.
        (free_exclude, fnmatch_no_wildcards): New function.
        (excluded_filename): No longer requires options arg, as the options
        are determined by add_exclude.  Now returns bool, not int.
        (excluded_filename, add_exclude):
        Add support for the fancy new exclusion options.
        (add_exclude, add_exclude_file): Now takes int options arg.
        Check for arithmetic overflow when computing sizes.
        (add_exclude_file): xrealloc might modify errno, so don't
        realloc until after errno might be used.

        * exclude.h (EXCLUDE_ANCHORED, EXCLUDE_INCLUDE,EXCLUDE_WILDCARDS):
        New macros.
        (free_exclude): New decl.
        (add_exclude, add_exclude_file): Now takes int options arg.
        (excluded_filename): No longer requires options arg, as the options
        are determined by add_exclude.  Now returns bool, not int.

2001-08-30  Paul Eggert  <address@hidden>

        * alloca.c (alloca): Arg is of type size_t, not unsigned.

2001-08-27  Jim Meyering  <address@hidden>

        * Makefile.am (libfetish_a_SOURCES): Add strtoxmax.c

        * version-etc.c (N_): Remove definition.
        Revert most of last change.
        Instead, simply don't mark the `Copyright...' string for translation.
        Based on advice from Paul Eggert.

        * strtoxmax.c: Tweak comment.

2001-08-26  Jim Meyering  <address@hidden>

        * version-etc.c (version_etc_copyright_fmt): Replace literal year
        of copyright with `%s' so translators don't get an untranslated
        message in 2002.
        (COPYRIGHT_YEAR): Define.
        (version_etc): Use fprintf rather than fputs.
        Suggestion from Ulrich Drepper.

        * Makefile.am (libfetish_a_SOURCES): Add xstrtoimax.c.

        * strtoll.c: New file, from GNU libc.
        * xstrtoimax.c: New file.

        * xstrtol.h: Add xstrtoimax.
        * strtoumax.c: New file.  Simply include "strtoumax.c".
        * strtoimax.c: New file.  Likewise, but first define STRTOUXMAX_SIGNED.

        * strtoumax.c: Factor to work both for unsigned and signed types, ...
        * strtoxmax.c: ... then renamed to this.

2001-08-13  Paul Eggert  <address@hidden>

        * Makefile.am (unlocked-io.h): Do not append "_unlocked" twice.
        Port to Solaris 8, where 'sed' requires a space after the 'r'
        command, and where sh dislikes "$/".  Clean up the spacing a bit.
        Redirect output to $tmp just once.

2001-08-12  Paul Eggert  <address@hidden>

        * addext.c (<errno.h>): Include.
        (errno): Declare if not defined.
        (addext): Work correctly when pathconf returns -1 and leaves
        errno alone because there is no limit.  Also, work even if
        pathconf returns a value greater than SIZE_MAX.

2001-08-12  Jim Meyering  <address@hidden>

        * xgetcwd.c (xgetcwd) [defined __GLIBC__ && __GLIBC__ >= 2]:
        Simply `return getcwd (NULL, 0);'.
        [! (defined __GLIBC__ && __GLIBC__ >= 2)]:
        Use 1300 as initial value for length, not PATH_MAX.

        * pathmax.h: Clean up cpp syntax.

2001-08-12  Jim Meyering  <address@hidden>

        * gettimeofday.c: New file.
        * gtod.h: New file.
        * Makefile.am (libfetish_a_SOURCES): Add gtod.h.

2001-08-04  Jim Meyering  <address@hidden>

        * error.h (__attribute__): Remove `|| __STRICT_ANSI__' from #if stmt,
        to get in sync with glibc.

2001-08-03  Paul Eggert  <address@hidden>

        The following changes are from gettext 0.10.39 as maintained by
        Bruno Haible.

        * mbswidth.h (MBSW_REJECT_UNPRINTABLE, MBSW_REJECT_INVALID):
        Renamed from MBSW_ACCEPT_UNPRINTABLE and MBSW_ACCEPT_INVALID
        with inverted sense.  All uses changed.

        * mbswidth.c: Don't include <limits.h>.
        Include <stdlib.h> and <string.h> unconditionally.
        (iswcntrl, mbsinit, ISCNTRL): New macros.
        (mbsnwidth): Use K&R style function declarations.
        Don't bother checking for MB_LEN_MAX == 1, since the compiler
        can optimize it when MB_CUR_MAX == 1.
        The width of control characters is zero, not 1.

2001-07-15  Jim Meyering  <address@hidden>

        * Makefile.am (EXTRA_DIST): Add unlocked-io.hin.
        (BUILT_SOURCES): Add unlocked-io.h.
        (io_functions): Define.
        (unlocked-io.h): New rule.
        (DISTCLEANFILES): Add unlocked-io.h.
        (all-local): Depend on unlocked-io.h, to ensure it is created.

        * unlocked-io.hin: New file

        * regex.c: Update from glibc.

2001-07-05  Jim Meyering  <address@hidden>

        * Makefile.am (noinst_HEADERS): Remove definition, per new automake
        recommendation.
        (libfetish_a_SOURCES): Put all .h files here instead.
        Remove a thus-exposed (better checks in automake) duplicate and
        two unnecessary .h files.

2001-06-11  Jim Meyering  <address@hidden>

        * regex.c: Update from GNU libc.

2001-05-27  Jim Meyering  <address@hidden>

        * readutmp.h (UT_TYPE): Define.

2001-05-24  Jim Meyering  <address@hidden>

        * argmatch.c: Include "quote.h".
        (argmatch_invalid): Remove explicit `' quotes.  Instead, use the
        quote function.  Reported by Göran Uddeborg.

2001-05-20  Alexandre Duret-Lutz  <address@hidden>

        * dirname.c (dir_name): Compute append_dot using path, not newpath
        which is not yet declared.

2001-05-11  Paul Eggert  <address@hidden>

        * Makefile.am (libfetish_a_SOURCES):
        Add strftime.c, since we now compile it on all hosts.

        * strftime.c (my_strftime):
        Define to nstrftime if emacs, but only if my_strftime is not defined.
        (extra_args, extra_args_spec, extra_args_spec_iso): Rename from
        ut_argument, ut_argument_spec, ut_argument_spec_iso, respectively.
        Add one more extra argument: a nanoseconds value.
        All uses changed.
        (ns): New macro.
        (my_strftime function): Add %N format.
        (emacs_strftimeu): Renamed from emacs_strftime,
        with extra ut argument.

2001-05-11  Paul Eggert  <address@hidden>

        dirname code cleanup.  base_name now behaves more compatibly
        with POSIX basename when given file names that have trailing
        slashes, and similarly for dir_name.  Add new primitives
        base_len and dir_len.  Put the directory-name-related decls
        into dirname.h.

        * addext.c (ISSLASH, base_name): Remove; now in dirname.h.
        * backupfile.c (base_name): Likewise.
        * basename.c (FILESYSTEM_PREFIX_LEN, PARAMS, ISSLASH): Likewise.
        * dirname.c (FILESYSTEM_PREFIX_LEN, ISSLASH): Likewise.
        * makepath.c (strip_trailing_slashes): Likewise.
        * path-concat.c (DIRECTORY_SEPARATOR, FILESYSTEM_PREFIX_LEN, ISSLASH):
        Likewise.
        * rename.c (strip_trailing_slashes): Likewise.
        * same.c (base_name): Likewise.
        * stripslash.c (ISSLASH): Likewise.

        * addext.c: Include <dirname.h> after size_t is defined.
        * backupfile.c: Likewise.

        * addext.c (addext): Use base_len to trim redundant
        trailing slashes instead of doing it ourselves.
        But do not trim the last slash if it is not redundant.

        * backupfile.c (find_backup_file_name,
        max_backup_version): Use base_len instead of rolling it ourselves.
        Handle the case of "" and (on DOS) "C:" correctly.

        * 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
        where the original base_name purposely had an assertion failure.
        (base_len): New function.

        * dirname.c: Include <string.h> instead of <stdlib.h>.
        Do not include <assert.h>; no longer needed.
        Include xalloc.h.
        (memrchr): Remove decl.
        (dir_name_r): Remove.
        (dir_len): Renamed from dirlen.  All callers changed.
        Rewrite in terms of base_name, for simplicity and consistency.
        (dir_name): Never return NULL.  All callers changed.
        Do not include <stdlib.h> in test program; no longer needed.
        return 0; is fine for test program.

        * dirname.h (DIRECTORY_SEPARATOR, ISSLASH, FILESYSTEM_PREFIX_LEN):
        New macros.
        (base_name, base_len, dir_len, strip_trailing_slashes): New decls.

        * path-concat.c (path_concat): Use base_len to compute
        base length, not strlen; this means we cannot rely on memcpy
        to null-terminate.

        * same.c (STREQ): Remove.
        (same_name): Handle the case where the basename ends in trailing '/'.

        * stripslash.c (strip_trailing_slashes): Return nonzero if
        a slash was stripped.  Do not strip the last slash after a
        file system prefix.

        * version-etc.c (version_etc_copyright): Update to 2001.
        * dup-safer.c, fopen-safer.c, stdio-safer.h, unistd-safer.h: New files.

**********************************************************************
m4/ChangeLog    2001/11/04 07:16:06     1.363
**********************************************************************
2001-11-04  Jim Meyering  <address@hidden>

        * fpending.m4: Remove unused cruft that saved, set, and restored $DEFS.

2001-11-03  Jim Meyering  <address@hidden>

        * jm-glibc-io.m4n (jm_FUNC_GLIBC_UNLOCKED_IO): Quote first arg
        of AC_DEFUN.

        * dirfd.m4 (UTILS_FUNC_DIRFD): Rework so dirfd.c doesn't have to
        know the name of the variable in the macro definition.

2001-11-01  Jim Meyering  <address@hidden>

        * dirfd.m4 (UTILS_FUNC_DIRFD): New macro.
        * jm-macros.m4 (jm_MACROS): Require UTILS_FUNC_DIRFD.

2001-10-20  Paul Eggert  <address@hidden>

        * error.m4 (jm_PREREQ_ERROR):
        Do not invoke AC_CHECK_FUNCS with strerror_r, as
        AC_FUNC_STRERROR_R does that.
        Check for strerror declaration.

        * strerror_r.m4: Add copyright notice, as nontrivial m4 files
        are supposed to have them these days.
        (AC_FUNC_STRERROR_R): Always do char* test, so that it gets cached.
        Merge changes from latest Autoconf CVS.
        Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p,
        and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since
        POSIX decided to standardize on the int flavor of strerror_r.

2001-09-30  Jim Meyering  <address@hidden>

        * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): See if
        `struct fsstat' has the `f_fstypename' member.
        Use that to define FS_TYPE, which is now used to make
        the getfsstat link test tighter.

2001-09-29  Jim Meyering  <address@hidden>

        * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
        [one-argument getmntent function]): Include stdio.h before mntent.h.
        SunOS4.1.x needs it for the declaration of `FILE'.
        Patch by Volker Borchert.

        * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS)
        Check for these headers: sys/param.h sys/ucred.h sys/mount.h
        sys/fs_types.h, and make the link-test for getfsstat guard #include
        directives with appropriate #if HAVE_*_H tests so that we can
        detect getfsstat on Apple Darwin1.3.7 systems.
        Reported by Nelson Beebe.
        Fix harmless typo in cache variable name: s/getsstat/getfsstat/.

2001-09-28  Paul Eggert  <address@hidden>

        Fix bug reported by Petter Reinholdtsen for HP-UX 10.20, which
        #defines strtoimax.  Also treat the other strto* functions
        like strtoimax.

        * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
        Check for strtoul and strtoumax,
        as those declarations are made even in the signed case.
        * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX):
        Likewise, for strtol and strtoimax.

2001-09-24  Jim Meyering  <address@hidden>

        * gettext.m4: Use the version from gettext-0.10.40, not CVS.

2001-09-23  Jim Meyering  <address@hidden>

        * ls-mntd-fs.m4 (jm_LIST_MOUNTED_FILESYSTEMS): Add a compile-test
        instead of the mere test for existence of mntent.h.  The latter
        would get a false-positive on AIX 3.4 systems.
        In the outer getmntent if-block, don't die if neither of the getmntent
        tests succeeds.  Instead, just fall through and continue with the
        remaining tests.

2001-09-22  Jim Meyering  <address@hidden>

        * gettext.m4: New file.  From gettext.
        * lcmessage.m4: Sync with gettext -- this changes only comments.
        * progtest.m4: Likewise
        * isc-posix.m4: Decrement serial number to sync with gettext.
        * glibc21.m4: Likewise.

        * libintl.m4: Remove.  No longer used.

2001-09-20  Jim Meyering  <address@hidden>

        * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX): Check for declaration of
        strtoimax.
        * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Check for declaration of
        strtoumax.

2001-09-17  Jim Meyering  <address@hidden>

        * chown.m4, fstypename.m4, getgroups.m4, gettimeofday.m4,
        * jm-mktime.m4, lstat.m4, malloc.m4, memcmp.m4, mkdir-slash.m4,
        * nanosleep.m4, putenv.m4, readdir.m4, realloc.m4, rename.m4,
        * st_dm_mode.m4, stat.m4, strerror_r.m4, timespec.m4, utimbuf.m4,
        * utimes.m4: Use AC_DEFINE rather than AC_DEFINE_UNQUOTED,
        whenever the right hand side need not be expanded by the shell.

2001-09-16  Paul Eggert  <address@hidden>

        * fnmatch.m4 (jm_FUNC_FNMATCH): Remove test for GNU C
        library.  It's not correct, as some older glibcs are buggy.
        fnmatch wasn't fixed until glibc 2.2.

        Use AC_DEFINE, not AC_DEFINE_UNQUOTED, as there's no
        special shell magic here.

2001-09-16  Jim Meyering  <address@hidden>

        * mkdir-slash.m4 (UTILS_FUNC_MKDIR_TRAILING_SLASH): New file/macro.
        * jm-macros.m4: Require it.

2001-09-15  Jim Meyering  <address@hidden>

        * jm-macros.m4: Check for help2man.

2001-09-11  Jim Meyering  <address@hidden>

        * host-os.m4 (UTILS_HOST_OS): New file/macro.
        The body, by Paul Eggert, was moved here from configure.in.
        * jm-macros.m4: Require UTILS_HOST_OS.

2001-09-04  Paul Eggert  <address@hidden>

        * prereq.m4 (jm_PREREQ_XREADLINK): New macro.
        (jm_PREREQ): Use it.

2001-09-03  Paul Eggert  <address@hidden>

        * prereq.m4 (jm_PREREQ_XGETCWD): Check for limits.h and
        sys/param.h, as pathmax.h includes them.

2001-09-03  Paul Eggert  <address@hidden>

        * prereq.m4 (jm_PREREQ): Add jm_PREREQ_XGETCWD.
        (jm_PREREQ_XGETCWD): New macro.

        * getcwd.m4: New file.

2001-09-01  Jim Meyering  <address@hidden>

        * jm-macros.m4 (jm_MACROS): Check for canonicalize_file_name.
        Used by df.

2001-08-30  Paul Eggert  <address@hidden>

        Simplify code, partly by assuming autoconf 2.52 semantics.

        * Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.

        * inttypes.m4 (AC_PREREQ): Bump to 2.52.
        (jm_AC_HEADER_INTTYPES_H): Remove; now done by autoconf in 2.52.
        All uses removed.
        (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.
        * prereq.m4 (jm_PREREQ_HUMAN): Don't require jm_AC_HEADER_INTTYPES_H.
        * jm-macros.m4 (jm_MACROS): Likewise.

        * uintmax_t.m4: Remove, as it duplicates inttypes.m4.

        * xstrtoimax.m4 (jm_AC_PREREQ_XSTRTOIMAX):
        Quote first arg of AC_DEFUN.
        Require jm_AC_TYPE_UINTMAX_T and jm_AC_TYPE_UNSIGNED_LONG_LONG
        since they are needed to parse the include file even if we need
        only xstrtoimax.  Simplify logic behind the args to AC_REPLACE.
        * xstrtoumax.m4 (jm_AC_PREREQ_XSTRTOUMAX): Likewise,
        but with opposite signedness.

2001-08-30  Paul Eggert  <address@hidden>

        * prereq.m4 (jm_PREREQ): Add jm_PREREQ_EXCLUDE.
        (jm_PREREQ_EXCLUDE): New macro.

2001-08-26  Jim Meyering  <address@hidden>

        * jm-macros.m4: Require jm_AC_PREREQ_XSTRTOIMAX.

        * xstrtoimax.m4: New file.
        * xstrtoumax.m4: Add comments explaining why we
        AC_REPLACE_FUNCS(strtol).

2001-06-20  Paul Eggert  <address@hidden>

        * inttypes.m4: Add AC_PREREQ(2.13).
        (jm_AC_HEADER_INTTYPES_H): Test for intmax_t, too.
        (jm_AC_TYPE_INTMAX_T): New macro.
        (jm_AC_TYPE_UINTMAX_T): Moved here from uintmax_t.m4.

        * longlong.m4 (jm_AC_TYPE_LONG_LONG): New macro.

        * longlong.m4: Renamed from ulonglong.m4.
        * inttypes.m4: Renamed from inttypes_h.m4.
        * uintmax_t.m4: Removed.

2001-08-12  Jim Meyering  <address@hidden>

        * afs.m4, assert.m4, bison.m4, check-decl.m4, chown.m4, d-ino.m4,
        d-type.m4, dos.m4, error.m4, fnmatch.m4, fpending.m4, fstypename.m4,
        fsusage.m4, ftruncate.m4, getgroups.m4, glibc.m4, gnu-source.m4,
        group-member.m4, jm-glibc-io.m4, jm-macros.m4, jm-mktime.m4,
        jm-winsz1.m4, jm-winsz2.m4, lchown.m4, lib-check.m4, libintl.m4,
        link-follow.m4, ls-mntd-fs.m4, lstat.m4, malloc.m4, mbrtowc.m4,
        mbstate_t.m4, mbswidth.m4, memcmp.m4, nanosleep.m4, perl.m4,
        prereq.m4, putenv.m4, readdir.m4, realloc.m4, regex.m4, rename.m4,
        rmdir-errno.m4, search-libs.m4, st_dm_mode.m4, st_mtim.m4, stat.m4,
        strftime.m4, timespec.m4, unlink-busy.m4, uptime.m4, utimbuf.m4,
        utime.m4, utimes.m4, xstrtoumax.m4:
        Quote the first argument in each use of AC_DEFUN.

2001-08-05  Jim Meyering  <address@hidden>

        * jm-macros.m4: Require autoconf-2.52.

2001-08-03  Paul Eggert  <address@hidden>

        The following changes are from gettext 0.10.39 as maintained by
        Bruno Haible, except that getline.m4 continues to use AC_LIBOBJ.

        * codeset.m4: Upgrade to serial AM1.
        (AM_LANGINFO_CODESET): Renamed from jm_LANGINFO_CODESET;
        all uses changed.  Quote first arg of AC_DEFUN.
        (am_cv_langinfo_codeset): Renamed from jm_cv_langinfo_codeset.

        * iconv.m4: Upgrade to serial AM2.
        (AM_ICONV): Renamed from jm_ICONV; all uses changed.
        Add --with-libconv-prefix.
        Quote first arg of AC_DEFUN.  Add description for ICONV_CONST.
        (am_cv_func_iconv): Renamed from jm_cv_func_iconv.
        (am_cv_lib_iconv): Renamed from jm_cv_lib_iconv.
        (am_cv_proto_iconv): Renamed from jm_cv_proto_iconv.
        * jm-macros.m4 (jm_MACROS): Reflect s/jm_/AM_/ renamings.

        * c-bs-a.m4 (AC_C_BACKSLASH_A): Quote first arg of AC_DEFUN.
        * getline.m4 (AM_FUNC_GETLINE): Likewise.
        * glibc21.m4 (jm_GLIBC21): Likewise.
        * inttypes_h.m4 (jm_AC_HEADER_INTTYPES_H): Likewise.
        * isc-posix.m4 (AC_ISC_POSIX): Likewise.
        * lcmessage.m4 (AM_LC_MESSAGES): Likewise.
        * progtest.m4 (AM_PATH_PROG_WITH_TEST): Likewise.
        * uintmax_t.m4 (jm_AC_TYPE_UINTMAX_T): Likewise.
        * ulonglong.m4 (jm_AC_TYPE_UNSIGNED_LONG_LONG): Likewise.

        * getline.m4 (AM_FUNC_GETLINE): Don't bother checking for
        string.h any more.

        * progtest.m4 (AM_PATH_PROG_WITH_TEST): If not found, print "no",
        not the default value.

        2001-06-25  Bruno Haible  <address@hidden>
        * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Don't require AM_C_PROTOTYPES.
        Also check for mbsinit.  Needed for SCO 3.2v5.0.2.
        Also include <string.h>; this is where AIX 3.2.5 declares wcwidth.
        Also check for iswcntrl, used for wcwidth fallback.
        Use AC_TRY_COMPILE to emulate AC_CHECK_DECLS, for portability
        to Autoconf 2.13.

2001-08-03  Jim Meyering  <address@hidden>

        * mbrtowc.m4 (jm_FUNC_MBRTOWC): Use `#include', not 
address@hidden:@include',
        as it was in the original.  Reported by Paul Eggert.

2001-07-16  Jim Meyering  <address@hidden>

        * gettimeofday.m4: New file.
        Prompted by a report from Bernhard Baehr.

2001-07-15  Jim Meyering  <address@hidden>

        * Makefile.am.in (Makefile.am): Remove most of the unlocked-io.h stuff.
        Now it's in ../Makefile.cfg.

2001-07-04  Jim Meyering  <address@hidden>

        * Makefile.am.in (glibc-io.struct): New target.  Rework the code
        that generates jm-glibc-io.m4 so that it doesn't trigger any make
        distcheck failure.

2001-07-02  Jim Meyering  <address@hidden>

        The following changes were prompted by suggestions from Bruno Haible.

        * jm-glibc-io.m4n: New file, the template from which jm-glibc-io.m4
        is now generated.
        * Makefile.am.in (Makefile.am): Include jm-glibc-io.m4n in emitted
        definition of EXTRA_DIST.
        (Makefile.am): Emit the dependency, `all-local: jm-glibc-io.m4' to
        ensure that the generated file is created/updated whenever the list
        of $(unlocked_functions) is changed.
        (jm-glibc-io.m4): New rule.
        (unlocked-io.h): New rule -- currently unused.

2001-06-24  Jim Meyering  <address@hidden>

        * regex.m4 (jm_INCLUDED_REGEX): Use a quadrigraph to represent an
        unmatched right bracket, rather than kludging it with an extra,
        falsely-matching quote in a comment.  Patch by Akim Demaille.

2001-05-27  Jim Meyering  <address@hidden>

        * prereq.m4 (jm_PREREQ_READUTMP): Check for ut_type in struct utmpx.
        Check for ut_type in struct utmp.

2001-05-22  Jim Meyering  <address@hidden>

        * strftime.m4 (_jm_STRFTIME_PREREQS): Don't use AC_LIBOBJ(strftime),
        now that we use the package-supplied version unconditionally.
        (jm_FUNC_STRFTIME): Don't replace strftime, for the same reason.

2001-05-21  Jim Meyering  <address@hidden>

        * regex.m4: Change a couple backticks to single quotes to avoid shell
        syntax errors.

2001-05-19  Alexandre Duret-Lutz  <address@hidden>

        * dos.m4 (jm_AC_DOS): Check for _WIN32, __WIN32__, and __MSDOS__.

2001-05-11  Paul Eggert  <address@hidden>

        * strftime.m4 (jm_FUNC_GNU_STRFTIME):
        Don't bother to check library strftime, since
        we'll be using our own my_strftime function anyway.
        Define my_strftime instead of strftime.

2001-05-15  Jim Meyering  <address@hidden>

        * 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  <address@hidden>

        * jm-macros.m4 (major_t, minor_t): Define to unsigned int if undefined.

2000-11-26  Paul Eggert  <address@hidden>

        * jm-macros.m4 (jm_MACROS): Do not check for fseeko; no longer used.


**********************************************************************
/tmp/cvsk8zOwU  Sun Nov  4 11:30:37 2001
**********************************************************************
2001-09-22  Jim Meyering  <address@hidden>

        * Makefile.in.in: Update from gettext cvs repository.

2001-09-22  gettextize  <address@hidden>

        * Makefile.in.in: Upgrade to gettext-0.10.40.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]