If you want stability, you might want to give this one a couple weeks
to settle.  There have been enough changes since 4.5.3 that this test
release should be considered risky.  There have been plenty of bug
fixes, and Paul Eggert has contributed a long-requested feature to every
program that accepts the --block-size option (see the NEWS).  Also,
we've been synchronizing to/from the relatively young gnulib project:

  http://savannah.gnu.org/projects/gnulib/

If you use Linux, and already have an alias/function for ls that does
something like `ls -aF' (I did), then you might want to change it to
be `ls -ap'.  That sacrifices the `*' marker you'd see on executable
file names, but gives you the advantage that such invocations of ls
will end up `stat'ing virtually no files -- on systems that support
dirent.d_type (i.e HAVE_STRUCT_DIRENT_D_TYPE is defined in config.h
after running configure).  That might be worthwhile in some environments.

Happy holidays,
Jim
----------------------

  ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.4.tar.gz   (5.5MB)
  ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.4.tar.bz2  (3.6MB)
  http://fetish.sf.net/coreutils-4.5.4.tar.gz   (5.5MB)
  http://fetish.sf.net/coreutils-4.5.4.tar.bz2  (3.6MB)

And here are xdelta-style diffs:
  ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.3-4.5.4.xdelta   (532KB)
  http://fetish.sf.net/coreutils-4.5.3-4.5.4.xdelta   (532KB)

Here are GPG detached signatures:
  ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.4.tar.gz.sig
  ftp://alpha.gnu.org/gnu/fetish/coreutils-4.5.4.tar.bz2.sig
  http://fetish.sf.net/coreutils-4.5.4.tar.gz.sig
  http://fetish.sf.net/coreutils-4.5.4.tar.bz2.sig

Here are the MD5 and SHA1 signatures:
55ba4f9fed10485c890cbe9a44a288e6  coreutils-4.5.4.tar.gz
0e6dbface36e6f41d53eb89e67a9e9af  coreutils-4.5.4.tar.bz2
161c39d38901cee26ba228f542ce301c  coreutils-4.5.3-4.5.4.xdelta
7ee5038de4b0cfd67440eac35cfd00c2e91939b2  coreutils-4.5.4.tar.gz
ad0a681d224df92dde6a8dc9a6e933ac3225d1de  coreutils-4.5.4.tar.bz2
5f40cf14f154d92e3b2f19045ea68160089d91d2  coreutils-4.5.3-4.5.4.xdelta

NEWS:
* cp no longer fails to parse options like this: --preserve=mode,ownership
* `ls --color -F symlink-to-dir' works properly
* ls is much more efficient on directories with valid dirent.d_type.
* stty supports all baud rates defined in linux-2.4.19.
* `du symlink-to-dir/' would improperly remove the trailing slash
* `du ""' would evoke a bounds violation.
* In the unlikely event that running `du /' resulted in `stat ("/", ...)'
  failing, du would give a diagnostic about `' (empty string) rather than `/'.
* printf: a hexadecimal escape sequence has at most two hex. digits, not three.
* The following features have been added to the --block-size option
  and similar environment variables of df, du, and ls.
  - A leading "'" generates numbers with thousands separators.
    For example:
      $ ls -l --block-size="'1" file
      -rw-rw-r--    1 eggert   src      47,483,707 Sep 24 23:40 file
  - A size suffix without a leading integer generates a suffix in the output.
    For example:
      $ ls -l --block-size="K"
      -rw-rw-r--    1 eggert   src          46371K Sep 24 23:40 file
* ls's --block-size option now affects file sizes in all cases, not
  just for --block-size=human-readable and --block-size=si.  Fractional
  sizes are now always rounded up, for consistency with df and du.
* df now displays the block size using powers of 1000 if the requested
  block size seems to be a multiple of a power of 1000.
* nl no longer gets a segfault when run like this `yes|nl -s%n'


ChangeLog entries:

**********************************************************************
./ChangeLog
**********************************************************************
2002-12-13  Jim Meyering  <[EMAIL PROTECTED]>

        * Version 4.5.4.

        * tests/du/trailing-slash: Allow for a directory of size `0'.
        That happens at least on file systems of type tmpfs on linux-2.4.18.

        * announce-gen: New script to begin replacing the commands
        associated with the rule here...
        * Makefile.maint (announcement): Invoke announce-gen.
        * Makefile.am (EXTRA_DIST): Add announce-gen.

        * tests/cp/preserve-2: New file/test, for latest fix.
        * tests/cp/Makefile.am (TESTS): Add preserve-2.

2002-12-11  TAKAI Kousuke  <[EMAIL PROTECTED]>

        Fix a bug whereby cp would fail to parse an option like
        --preserve=mode,ownership.
        * src/cp.c (decode_preserve_arg): Advance `comma' to
        point the character following the comma.

2002-12-11  Jim Meyering  <[EMAIL PROTECTED]>

        * src/pathchk.c (NEED_PATHCONF_WRAPPER): Undefine before defining,
        in case it's already defined.

2002-12-09  Jim Meyering  <[EMAIL PROTECTED]>

        * tests/touch/fail-diag: Don't get a test failure if /no exists.
        Instead, evoke a framework failure if /no-$$ exists.
        Reported by Michael Stone.

2002-12-08  Jim Meyering  <[EMAIL PROTECTED]>

        * src/du.c (lstat) [! LSTAT_FOLLOWS_SLASHED_SYMLINK]:
        Define to rpl_lstat, so that even on systems like Solaris 2.8,
        du honors (per POSIX) the trailing slash on an argument referring
        to a symlink-to-directory.

2002-12-06  Jim Meyering  <[EMAIL PROTECTED]>

        * Use autoconf-2.57.  Regenerate dependent files.
        * Use automake-1.7.2.  Regenerate dependent files.

        * src/ls.c (gobble_file): Also stat the file if it's a
        regular file and --indicator-style=classify (aka -F).
        Thanks to Ed Santiago for opening my eyes.

        * tests/ls/file-type: New file.  Test for the above.
        A test to contrast ls -F and ls --indicator-style=file-type.
        * tests/ls/Makefile.am (TESTS): Add file-type.

2002-12-04  Jim Meyering  <[EMAIL PROTECTED]>

        * tests/ls/follow-slink: Make sure the symlink was created.
        Richard Dawe reported that `ln -s link link' succeeds, but creates
        no file on systems running some version of the DJGPP libc.

2002-12-03  Jim Meyering  <[EMAIL PROTECTED]>

        * src/Makefile.am (AUTOMAKE_OPTIONS): Remove definition (to ansi2knr)
        since this package no longer panders to K&R compilers.

2002-12-02  Jim Meyering  <[EMAIL PROTECTED]>

        * tests/du/slink: Skip this test if `.' is on a non-local file system.

        * tests/Fetish.pm (_at_replace): Do the substitution only if there's
        something to replace.

2002-12-01  Jim Meyering  <[EMAIL PROTECTED]>

        * src/stat.c: Don't include <string.h> or <ctype.h>.
        That's already done via system.h.
        * src/dircolors.c: Don't include <ctype.h>.

2002-11-30  Jim Meyering  <[EMAIL PROTECTED]>

        * ls.c (gobble_file): Remove the block of code that caused
        `ls --color -F symlink-to-dir' to list the files in
        `symlink-to-dir/.'.  Now, it prints `symlink-to-dir@', (just
        like `ls -F symlink-to-dir') but with the addition of highlighting.
        Similarly, `ls --color -dF symlink-to-dir' would print
        `symlink-to-dir/';  now it prints `symlink-to-dir@'.
        Reported by Jeff Sheinberg as Debian bug #168203.
        * tests/ls-2/tests (sl-F-color, sl-dF-color): New tests for the above.

        ls is now more efficient: with certain options, it no longer needs
        to stat each directory entry on systems with valid dirent.d_type.
        * src/ls.c (print_dir): Add DT_LNK and DT_REG.
        (main): Make --recursive set format_needs_type, not format_needs_stat.
        (gobble_file): Remove a FIXME comment, now that it's fixed.

2002-11-24  Jim Meyering  <[EMAIL PROTECTED]>

        * src/du.c (du_files): Don't strip any trailing slash.
        Rewrite so that `/' is no longer represented internally as
        the empty string.
        (count_entry): When appending a file name component,
        account for the fact that the current path may end in `/'.
        François Pinard reported that `du symlink-to-dir/' was not
        equivalent to `du symlink-to-dir/.'.  Now it is.
        * tests/du/trailing-slash: New file/test, for the above fix.
        * tests/du/Makefile.am (TESTS): Add trailing-slash.

2002-11-23  Jim Meyering  <[EMAIL PROTECTED]>

        * src/tac.c (output): Declare some local variables to be of type size_t,
        rather than `int' to avoid warnings from gcc.

2002-11-21  Paul Eggert  <[EMAIL PROTECTED]>

        * src/ls.c (decode_switches): Use case-sensitive matching to
        decode the QUOTING_STYLE environment variable.  This is more
        consistent with the documentation, and with --quoting-style.

2002-11-21  Martin Buck  <[EMAIL PROTECTED]

        * src/stty.c (struct speeds): Add support for all baud rates defined
        in linux-2.4.19.

2002-11-19  Jim Meyering  <[EMAIL PROTECTED]>

        * tests/sum/sysv: Export LC_ALL=C, to avoid failure when
        run in a UTF locale.  Report and suggested fix by Bruno Haible.
        * tests/fmt/basic: Likewise.

2002-11-17  Jim Meyering  <[EMAIL PROTECTED]>

        * configure.ac: Update via autoupdate.
        Add `AM_GNU_GETTEXT_VERSION(0.11.5)'.

        * src/mv.c (movefile): Don't remove trailing slashes from SOURCE.
        Reported by Hans Ginzel.

2002-11-15  Jim Meyering  <[EMAIL PROTECTED]>

        * Makefile.cfg (gnu_rel_host): Define.
        (url_dir_list): Choose from (alpha|ftp).gnu.org depending
        on whether $(VERSION) looks like a major release number.

        * Makefile.maint (mail_gpg_sign_cookie): Backslash-escape `#'.
        (release): Rename from `alpha'.
        (alpha): Depend on release.

        * Makefile.maint (signatures): Define with ?=, so it's easy to override.

2002-11-14  Jim Meyering  <[EMAIL PROTECTED]>

        * Makefile.maint (mail_gpg_sign_cookie): Make optional.
        (announcement): Use the new variable.

        * Makefile.maint: Sync with Bison, i.e.:
        (po-check): Scan .l and .y files instead of the
        .c and the .h files that they generate.  This fixes the bug
        reported by Tim Van Holder in:
        <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html>
        Look for N_ as well as for _.  Try to avoid matching #define for
        N_ and _.
        From Paul Eggert.

2002-11-12  Jim Meyering  <[EMAIL PROTECTED]>

        * src/ls.c (HAVE_SYMLINKS): Remove unnecessary macro definition.
        Replace sole use with equivalent `#ifdef S_ISLNK'.
        Inconsistency reported by Dmitry V. Levin.

2002-11-11  Jim Meyering  <[EMAIL PROTECTED]>

        * src/stat.c (usage): Transform --help items output via s/ - /   /,
        so that help2man produces properly formatted man pages.
        Reported by Herbert Xu as Debian bug #168400.

2002-11-10  Jim Meyering  <[EMAIL PROTECTED]>

        * src/ls.c (sighandler): Handle SIGTSTP specially.
        Based on suggestions from Solar Designer and Dmitry V. Levin.
        Add comments.

        * Makefile.cfg (cvs_files): Define.  From autoconf.
        (local_updates): Likewise.

        * src/ls.c (restore_default_color_handler, sigtstp_handler):
        Remove functions.
        (sighandler): New function, based on the one in sort.c.
        (main): Use sigaction, if possible; otherwise signal.
        Handle these signals:
        SIGHUP, SIGINT, SIGPIPE, SIGQUIT, SIGTERM, SIGTSTP.
        Don't register our handler if the signal is already being ignored.

        * src/dd.c (interrupt_handler): Use raise, rather than kill+getpid.
        * src/csplit.c (interrupt_handler): Likewise.
        * src/sort.c (sighandler): Likewise.
        (main): Declare `i' and `nsigs' to be unsigned, not int.

2002-11-09  Jim Meyering  <[EMAIL PROTECTED]>

        ls --color: restore terminal text color upon signal.
        * src/ls.c: Include "full-write.h" and <signal.h>.
        (restore_default_color, restore_default_color_handler): New functions.
        (sigtstp_handler, put_indicator_direct): New functions.
        (main) [print_with_color]: Register signal handlers.
        Patch mostly by Solar Designer and Stanislav Ievlev.

        Update from autoconf.
        * Makefile.maint (AMTAR): Remove definition.
        (update, cvs-update, po-update, do-po-update): New rules.
        (wget-update): Update (thus renaming to cvs-update).
        (automake_repo): Use [EMAIL PROTECTED]

2002-11-06  Jim Meyering  <[EMAIL PROTECTED]>

        * tests/misc/Makefile.am (TESTS): Add printf-hex.

        * tests/misc/printf: Be careful to test the code in this package,
        not the shell built-in function.

        * src/printf.c (print_esc): A hexadecimal escape sequence has
        at most two hex. digits, not three.  Reported by Padraig Brady.
        (usage): Update description.
        * tests/misc/printf-hex: New file/test, for the above fix.

2002-10-07  Paul Eggert  <[EMAIL PROTECTED]>

        Add support for locale-specific size indications (e.g.,
        thousands-separators) and for explicit size suffixes on output.

        * doc/coreutils.texi (Block size): Say that:
        This affects display format as well as block size.
        Fractional block counts are rounded up.
        ls file size blocksize defaults to 1.
        A block size spec preceded by ' generates thousands separators.
        A suffix without a preceding integer generates suffixes.
        (tail invocation): 32k -> 32 KiB.
        (What information is listed): ls -h is now equivalent to
        ls --block-size=human, and ls -H is now equivalent to
        ls --block-size=si.  Displayed file size is now always affected by
        --block-size.

        * lib/inttostr.c, lib/inttostr.h, lib/imaxtostr.c, lib/offtostr.c,
        lib/umaxtostr.c: New files, taken from GNU tar.

        * lib/Makefile.am (libfetish_a_SOURCES): Add imaxtostr.c, offtostr.c,
        umaxtostr.c.
        (EXTRA_DIST): Add inttostr.c.

        * lib/human.c, lib/human.h: Rewrite to support locale-specific
        notations like thousands separators.
        Specify what includer of include.h must include beforehand.
        (human_group_digits, human_suppress_point_zero, human_autoscale,
        human_base_1024, human_SI, human_B): New enum values.
        (human_readable): Rename from human_readable_inexact; put the
        options before the sizes.  All uses changed.  The old human_readable
        function has been removed; use inttostr.h instead.
        (human_options): Renamed from human_block_size, with new signature
        that allows block sizes up to UINTMAX_MAX.  All callers changed.

        * m4/prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
        AC_HEADER_STDBOOL.  No need to check for limits.h since it's in
        freestanding C89.  No need to check for stdlib.h or string.h since
        autoconf does this now.

        * src/cksum.c (cksum): Use primitives from inttostr.h, not
        human.h, to print large numbers simply.
        * src/csplit.c (handle_line_error, parse_patterns): Likewise.
        * src/dd.c (print_stats, main): Likewise.
        * src/df.c (print_header): Likewise.
        * src/factor.c (print_factors): Likewise.
        * src/ls.c (print_long_format, print_file_name_and_frills): Likewise.
        * src/shred.c (dopass): Likewise.
        * src/sort.c (checkfp): Likewise.
        * src/sum.c (bsd_sum_file, sysv_sym_file): Likewise.
        * src/tail.c (xlseek): Likewise.
        * src/wc.c (write_counts, wc): Likewise.

        * src/df.c (human_output_opts): New var.
        (output_block_size): Now uintmax_t, not int, to handle larger
        block sizes.  All uses changed.
        * src/du.c: Likewise.
        * src/ls.c: Likewise.

        * src/df.c (print_header): In the header line, prefer SI to human
        representation if it's shorter; if neither is shorter, try to
        intuit what the user would prefer.

        * src/expr.c (inttostr): Remove; use new imaxtostr library
        function instead.

        * src/ls.c (file_output_block_size): New var, to distinguish
        file sizes from other sizes.
        (decode_switches): Set it.

        * src/shred.c (OUTPUT_BLOCK_SIZE): remove.
        (dopass): When printing progress, use floor for what has been done
        so far (since we should be conservative there), and ceiling for
        what needs to be done (since that's what other programs use).

2002-10-19  Jim Meyering  <[EMAIL PROTECTED]>

        * src/pinky.c (print_heading): Align TTY and Name headings.
        Reported by Karl Eichwalder.

2002-10-18  Jim Meyering  <[EMAIL PROTECTED]>

        * src/split.c (cwrite): Change type of `bytes' parameter to size_t
        Remove now-useless cast.
        (stdread): Remove function.
        (bytes_split): Use size_t instead of int.
        Use safe_read, not stdread.
        (lines_split): Likewise.
        Use memchr rather than a `while' loop.
        (line_bytes_split): Use size_t instead of int.
        Use safe_read, not stdread.
        (main): Add some FIXME comments to remind me to remove casts.

        * src/system.h (ST_BLKSIZE): Correct comment describing how to
        reproduce HPUX-11 cat failure.  From Petter Reinholdtsen.

2002-10-17  Jim Meyering  <[EMAIL PROTECTED]>

        Fix a problem that could make e.g., `cat' misbehave on systems which
        give invalid (unreasonably large) values for stat.st_blksize.
        * src/system.h (ST_BLKSIZE): Ensure that the result is in [1..4MB].
        Reported by Petter Reinholdtsen.

2002-10-14  Jim Meyering  <[EMAIL PROTECTED]>

        Specifying a printf conversion specifer as nl's separator string
        could cause nl to segfault.
        * src/nl.c (build_print_fmt): Don't include separator string
        in the printf format; it might contain `%'.
        Use a better bound on the length of the print_fmt buffer.
        (print_lineno): Print the separator here instead.
        Reported by Doug Coleman.

        * tests/misc/nl: New file/tests, including a test for the above.
        * tests/misc/Makefile.am (TESTS): Add nl.

        * tests/misc/split-l: New test, to make sure `split --lines=N' works.
        * tests/misc/Makefile.am (TESTS): Add split-l.

**********************************************************************
config/ChangeLog        9 Nov 2002 12:39:42 -0000       1.3
**********************************************************************
2002-11-09  Jim Meyering  <[EMAIL PROTECTED]>

        Make it work even when names contain spaces or shell metachars.
        * install-sh: Write diagnostics to stderr, not stdout.
        Normalize spacing in diagnostics: use one space (not two, and not a TAB)
        after the leading `install:'.
        Add double quotes around `$src' here: $doit $instcmd "$src" "$dsttmp"

        Merge in some changes from the version in automake.
        * install-sh: Remove unnecessary quotes around `case' argument.
        Use `[ cond1 ] || [ cond2 ]' rather than `[ cond1 -o cond2 ]'.
        Use `:' rather than `true'.

2002-02-17  Jim Meyering  <[EMAIL PROTECTED]>

**********************************************************************
doc/ChangeLog   13 Nov 2002 09:50:22 -0000      1.65
**********************************************************************
2002-11-13  Jim Meyering  <[EMAIL PROTECTED]>

        * coreutils.texi (Examples of expr): Remove bogus `^'s.
        Reported by Thomas Goerlich.

2002-11-09  Jim Meyering  <[EMAIL PROTECTED]>

        * coreutils.texi (What information is listed) [--dired]:
        Correct parts of --dired description.  Reported by Andre Spiegel.
        Include a lot more description, with examples.

2002-11-06  Jim Meyering  <[EMAIL PROTECTED]>

        * coreutils.texi (printf invocation): Fix typo in index:
        change \0x prefix to \x.
        Change \xhhh to \xhh.

2002-10-07  Paul Eggert  <[EMAIL PROTECTED]>

        Add support for locale-specific size indications (e.g.,
        thousands-separators) and for explicit size suffixes on output.

        * coreutils.texi (Block size): Say that:
        This affects display format as well as block size.
        Fractional block counts are rounded up.
        ls file size blocksize defaults to 1.
        A block size spec preceded by ' generates thousands separators.
        A suffix without a preceding integer generates suffixes.
        (tail invocation): 32k -> 32 KiB.
        (What information is listed): ls -h is now equivalent to
        ls --block-size=human, and ls -H is now equivalent to
        ls --block-size=si.  Displayed file size is now always affected by
        --block-size.

**********************************************************************
lib/ChangeLog   11 Dec 2002 07:21:46 -0000      1.434
**********************************************************************
2002-12-09  Jim Meyering  <[EMAIL PROTECTED]>

        * unlocked-io.h: Sync from gnulib.

2002-12-06  Jim Meyering  <[EMAIL PROTECTED]>

        * unlocked-io.h: New file, but with proper copyright notice and
        attribution.  Note: this is *not* the same as the file in gnulib.
        This uses #if HAVE_FUNC_UNLOCKED for each `FUNC', rather than
        HAVE_DECL_FUNC_UNLOCKED.  This usage is consistent with the autoconf
        macro in ../m4/jm-glibc-io.m4.  Modulo comments, this file still
        contains exactly what was generated by gen-uio.

2002-12-04  Paul Eggert  <[EMAIL PROTECTED]>

        Do not generate unlocked-io.h automatically, since it's easier to
        maintain it by hand.

        * gen-uio: Remove.
        * Makefile.am: Add copyright notice.
        (libfetish_a_SOURCES): Add unlocked-io.h.
        (BUILT_SOURCES, all-local): Remove unlocked-io.h.
        (DISTCLEANFILES, io_functions): Remove macros.
        (EXTRA_DIST): Remove gen_uio.
        (unlocked-io.h): Remove rule.

2002-12-05  Paul Eggert  <[EMAIL PROTECTED]>

        * alloca.c [defined emacs]: Include "lisp.h".
        (xalloc_die) [defined emacs]: New macro.
        (free) [defined emacs && defined EMACS_FREE]: Define to EMACS_FREE.
        [! defined emacs]: Include <xalloc.h>.
        (POINTER_TYPE) [!defined POINTER_TYPE]: New macro.
        (pointer): Typedef to POINTER_TYPE *.
        (malloc): Remove decl; we now always use xmalloc.
        (alloca): Use old-style definition, since Emacs needs this.
        Check for arithmetic overflow when computing combined size.

2002-12-04  Jim Meyering  <[EMAIL PROTECTED]>

        Reflect the fact that stat.c and lstat.c are no longer generated.
        * Makefile.am (BUILT_SOURCES): Remove stat.c and lstat.c.
        (DISTCLEANFILES): Likewise.
        (EXTRA_DIST): Likewise.
        (all_local): Don't depend on stat.c or lstat.c.
        (stat.c, lstat.c): Remove rules.
        (EXTRA_DIST): Remove xstat.in.

        * xstat.in: Remove file.  Contents moved into stat.c.
        * stat.c: Rework so that it may serve to define rpl_lstat, too.
        * lstat.c: Simply #define LSTAT and include stat.c.

        * safe-read.c: Rework so that it may serve to define safe_write, too.
        * safe-write.c: Simply #define SAFE_WRITE and include safe-read.c.

2002-12-03  Jim Meyering  <[EMAIL PROTECTED]>

        * safe-read.h: Update from gnulib (add comments, include stddef.h).

2002-12-02  Jim Meyering  <[EMAIL PROTECTED]>

        * safe-read.c (EINTR): Define.
        (safe_read): Rewrite to iterate IFF the read fails with EINTR.

2002-12-01  Jim Meyering  <[EMAIL PROTECTED]>

        * safe-read.c: Merge from gnulib.
        (safe_read): Also exit the loop when read returns zero.
        (CHAR_BIT, TYPE_SIGNED, TYPE_MINIMUM, TYPE_MAXIMUM, INT_MAX): Define.

        * Makefile.am (libfetish_a_SOURCES): Add safe-write.c and safe-write.h.

        * strtoll.c: Update from gnulib (trivial changes).
        * strdup.c: Likewise.
        * strpbrk.c: Likewise.
        * strstr.c: Likewise.
        * tempname.c: Likewise.
        * obstack.c: Likewise.
        * getopt.c: Likewise.
        * getopt1.c: Likewise.
        * getopt.h: Likewise.
        * quote.h: Update from gnulib: add Copyright comment.
        * quote.c: Likewise.

2002-11-28  Jim Meyering  <[EMAIL PROTECTED]>

        * mktime.c: Merge from gnulib/libc, for a slightly uglier solution.

        Merge some more, in preparation for merge back into libc.
        * error.c (_): Define only if not already defined.
        Move definition to follow all #include directives.
        Include unlocked-io.h only if !_LIBC.

        Merge in changes from libc.
        * error.c [_LIBC]: Include <libio/libioP.h>.
        [USE_IN_LIBIO]: Include <libio/iolibio.h>
        (fflush): Tweak definition to use INTUSE.
        (putc): Define.

2002-11-23  Jim Meyering  <[EMAIL PROTECTED]>

        From gnulib, by Bruno Haible
        * closeout.c: Include gettext.h instead of <libintl.h>.
        * makepath.c: Likewise.
        * rpmatch.c: Likewise.
        * userspec.c: Likewise.
        * version-etc.c: Likewise.
        * xmemcoll.c: Likewise.
        * error.c [!_LIBC]: Include gettext.h instead of <libintl.h>.

        * mbswidth.h: Update from gnulib.
        * mbswidth.c: Likewise.
        * localcharset.c: Likewise.
        * config.charset: Likewise.
        * unicodeio.c: Likewise.

2002-11-22  Paul Eggert  <[EMAIL PROTECTED]>

        * quotearg.h: Allow multiple inclusion by surrounding with
        "#ifndef QUOTEARG_H_".  Include <stddef.h>, for size_t,
        so that we can be included first.
        (PARAMS): Remove; we now assume C89 or later.  All uses removed.
        * quotearg.c: Include quotearg.h immediately after config.h.
        No need to include stddef.h or sys/types.h any more.
        Surround local include files with "", not "<>".
        Assume HAVE_LIMITS_H unconditionally, as we assume C89.
        Similarly, assume HAVE_C_BACKSLASH_A, CHAR_BIT, UCHAR_MAX, UINT_MAX,
        HAVE_STDLIB_H, HAVE_STRING_H, STDC_HEADERS.
        (HAVE_MBSINIT): Undef if !HAVE_MBRTOWC.
        (mbsinit): Define to 1 if !defined mbsinit && !HAVE_MBSINIT.
        (ISPRINT): Remove; no longer needed now that we assume C89.

        (clone_quoting_options, quotearg_buffer, quotearg_n_options):
        Preserve errno.

        (quotearg_buffer_restyled, quotearg_n, quotearg_n_style,
        quotearg_char): Use SIZE_MAX rather than
        (size_t) -1 when we are talking about "infinity".

        (quotearg_buffer_restyled): Fix bug when quoting trigraphs.

2002-11-22  Jim Meyering  <[EMAIL PROTECTED]>

        From gnulib.
        * strstr.c: Don't include <sys/types.h>.  It's unnecessary.

2002-11-21  Bruno Haible  <[EMAIL PROTECTED]>

        Remove case insensitive option matching.
        * argmatch.h (argcasematch): Remove declaration.
        (ARGCASEMATCH): Remove macro.
        (__xargmatch_internal): Remove case_sensitive argument.
        (XARGMATCH): Update.
        (XARGCASEMATCH): Remove macro.
        * argmatch.c (argmatch): Renamed from __argmatch_internal. Remove
        case_sensitive argument.
        (argcasematch): Remove function.
        (__xargmatch_internal): Remove case_sensitive argument.
        (main): Use XARGMATCH instead of XARGCASEMATCH.

        * argmatch.c: Include gettext.h instead of <locale.h> and <libintl.h>.

2002-11-21  Bruno Haible  <[EMAIL PROTECTED]>

        * xmalloc.c: Change compile-time error message. Add comment about
        required autoconf version.
        * xmalloc.c: Include gettext.h instead of <libintl.h>.
        (textdomain): Remove definition.

2002-11-21  Jim Meyering  <[EMAIL PROTECTED]>

        * strdup.c (strdup): Merge in changes from gnulib; mainly to
        use memcpy rather than strcpy.

        * strcspn.c: Update from gnulib.

        * sig2str.c (str2signum): Use unsigned, not size_t, for type of index.

        * quotearg.c: Use `"'s when including quotearg.h and xalloc.h,
        not the `<...>' notation.
        Include <errno.h> and declare errno if necessary.

        * README: Update from gnulib.

2002-11-20  Paul Eggert  <[EMAIL PROTECTED]>

        Merge argmatch cleanups from Bison.  Assume C89.

        * argmatch.c: Include config.h here, not in argmatch.h.
        Include stdlib.h, for EXIT_FAILURE.
        Always include <string.h>, since we assume C89.
        (EXIT_FAILURE): Remove pre-C89 bug workaround.
        * argmatch.h: Do not include <config.h> or <sys/types.h>.
        Include <stddef.h> instead, since it's all we need for size_t.
        (PARAMS): Remove.  All uses removed.
        (ARRAY_CARDINALITY): Do not bother to #undef.
        (ARRAY_CARDINALITY, ARGMATCH, ARGCASEMATCH, invalid_arg,
        ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
        Remove unnecessary parentheses.
        (ARGMATCH_VALID, XARGMATCH, XARGCASEMATCH):
        Insert necessary parentheses.
        (ARGMATCH_CONSTRAINT, ARGMATCH_VERIFY): New macros.
        (ARGMATCH_ASSERT): Use ARGMATCH_CONSTRAINT.

2002-11-19  Jim Meyering  <[EMAIL PROTECTED]>

        Be careful not to clobber errno.
        * quotearg.c (quotearg_buffer_restyled): If mbrtowc returns
        `(size_t) -1' (at which point it would also set errno to EILSEQ),
        then restore errno to its previous value.
        Reported by Phillip Jones via Tim Waugh as
        https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=76334.

        Avoid a link-time failure on some Linux systems.
        * mktime.c (STATIC): Define to be empty (_LIBC) or `static' (otherwise).
        (__mon_yday): Declare with the STATIC attribute.
        (__mktime_internal): Likewise.
        Based on a report from Greg Schafer.

2002-11-14  Jim Meyering  <[EMAIL PROTECTED]>

        * long-options.c: Don't include libintl.h, and don't define `_' --
        they're not used.
        * same.c: Likewise.

2002-11-10  Jim Meyering  <[EMAIL PROTECTED]>

        * raise.c: New file.

2002-11-08  Paul Eggert  <[EMAIL PROTECTED]>

        * human.c (human_readable): Revamp to avoid warning about unused
        variable 'amt'.  Unfortunately this means using some gotos.

2002-11-08  Jim Meyering  <[EMAIL PROTECTED]>

        * human.c (human_readable): Avoid warnings from gcc -Wshadow.

2002-11-06  Jim Meyering  <[EMAIL PROTECTED]>

        * Makefile.am (EXTRA_DIST): Add inttostr.h.

2002-10-07  Paul Eggert  <[EMAIL PROTECTED]>

        * Makefile.am (libfetish_a_SOURCES): Add imaxtostr.c, offtostr.c,
        umaxtostr.c.
        (EXTRA_DIST): Add inttostr.c.
        * inttostr.c, inttostr.h, imaxtostr.c, offtostr.c, umaxtostr.c:
        New files, taken from GNU tar.

        * human.c, human.h: Rewrite to support locale-specific
        notations like thousands separators.
        Specify what includer of include.h must include beforehand.
        (human_group_digits, human_suppress_point_zero, human_autoscale,
        human_base_1024, human_SI, human_B): New enum values.
        (human_readable): Rename from human_readable_inexact; put the
        options before the sizes.  All uses changed.  The old human_readable
        function has been removed; use inttostr.h instead.
        (human_options): Renamed from human_block_size, with new signature
        that allows block sizes up to UINTMAX_MAX.  All callers changed.

**********************************************************************
m4/ChangeLog    11 Dec 2002 07:21:20 -0000      1.440
**********************************************************************
2002-12-11  Jim Meyering  <[EMAIL PROTECTED]>

        * jm-glibc-io.m4: Maintain this file manually rather than generating it.
        Generating it caused too much trouble.  From gnulib.

2002-11-19  Jim Meyering  <[EMAIL PROTECTED]>

        * jm-macros.m4: Require Autoconf-2.56.

2002-09-30  Akim Demaille  <[EMAIL PROTECTED]>

        * prereq.m4: Use AC_REQUIRE everywhere it is possible.
        (jm_PREREQ_CANON_HOST): Remove duplicates.

2002-11-10  Jim Meyering  <[EMAIL PROTECTED]>

        * jm-macros.m4 (jm_MACROS): Add AC_REPLACE_FUNCS(raise).

2002-10-30  Paul Eggert  <[EMAIL PROTECTED]>

        * getgroups.m4 (jm_FUNC_GETGROUPS):
        Fix typo: cv_func_getgroups_works -> ac_cv_func_getgroups_works.

2002-10-07  Paul Eggert  <[EMAIL PROTECTED]>

        * prereq.m4 (jm_PREREQ_HUMAN): Check for locale.h, localeconv,
        AC_HEADER_STDBOOL.  No need to check for limits.h since it's in
        freestanding C89.  No need to check for stdlib.h or string.h since
        autoconf does this now.

**********************************************************************
po/ChangeLog    21 Nov 2002 19:17:26 -0000      1.9
**********************************************************************
2002-11-21  Jim Meyering  <[EMAIL PROTECTED]>

        * LINGUAS: Add ms (Malay).

2002-11-14  Jim Meyering  <[EMAIL PROTECTED]>

        * POTFILES.in: Remove lib/long-options.c and lib/same.c.
        Although each defines `_', neither actually used it.

2002-11-09  Jim Meyering  <[EMAIL PROTECTED]>

        * Makevars (EXTRA_LOCALE_CATEGORIES): Add LC_TIME.
        Patch by Tim Waugh for Red Hat bug #73669.

Attachment: msg02027/pgp00000.pgp
Description: PGP signature

_______________________________________________
Bug-fileutils mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-fileutils

Reply via email to