bug-coreutils
[Top][All Lists]
Advanced

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

coreutils-5.0.91 released


From: Jim Meyering
Subject: coreutils-5.0.91 released
Date: Mon, 08 Sep 2003 19:36:14 +0200

Here's an entry that didn't make it into NEWS:

  tail's long-undocumented (since 1999) --allow-missing option still
  works but now elicits a warning:

    $ tail --f=name --allow-missing
    tail: the --allow-missing option is deprecated; use --retry instead

If you know the answer to the question posed below, in the first
`Bug fixes' note (see *** ATTENTION ***), please let me know, in case
I can use that information to fix the same_name function for good.

Thanks to Paul Eggert for all of his help and work merging between
gnulib and coreutils.

Jim

[*] As of this writing, the alpha.gnu.org URLs are not valid.

---------------
Here are the compressed sources:
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.0.91.tar.gz   (6.3MB)  [*]
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.0.91.tar.bz2  (4.0MB)  [*]
  http://fetish.sf.net/coreutils-5.0.91.tar.gz   (6.3MB)
  http://fetish.sf.net/coreutils-5.0.91.tar.bz2  (4.0MB)

And here are xdelta-style diffs:
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.0.90-5.0.91.xdelta (712KB) [*]
  http://fetish.sf.net/coreutils-5.0.90-5.0.91.xdelta   (712KB)

Here are GPG detached signatures:
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.0.91.tar.gz.asc        [*]
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.0.91.tar.bz2.asc       [*]
  http://fetish.sf.net/coreutils-5.0.91.tar.gz.asc
  http://fetish.sf.net/coreutils-5.0.91.tar.bz2.asc

Here are the MD5 and SHA1 signatures:

17c6c5aa87c0d0ff33534125826b36ca  coreutils-5.0.91.tar.gz
e62c18cde8b254c2512e47dd0c47c332  coreutils-5.0.91.tar.bz2
5b49a38c6dcbec06b3754f189bcbdf34  coreutils-5.0.90-5.0.91.xdelta
398f364ae8af8c6f49dfc529b89c57ae1b20e536  coreutils-5.0.91.tar.gz
36bd10babdcabb6de361ef74415a3c8dcc7f4812  coreutils-5.0.91.tar.bz2
3ff8bc95acdc4b504b92d55ef3254e0c91f990ae  coreutils-5.0.90-5.0.91.xdelta
NEWS

* Major changes in release 5.0.91:

** New features

  date accepts a new option --rfc-2822, an alias for --rfc-822.

  split accepts a new option -d or --numeric-suffixes.

  cp, install, mv, and touch now preserve microsecond resolution on
  file timestamps, on platforms that have the 'utimes' system call.
  Unfortunately there is no system call yet to preserve file
  timestamps to their full nanosecond resolution; microsecond
  resolution is the best we can do right now.

  sort now supports the zero byte (NUL) as a field separator; use -t '\0'.
  The -t '' option, which formerly had no effect, is now an error.

  sort option order no longer matters for the options -S, -d, -i, -o, and -t.
  Stronger options override weaker, and incompatible options are diagnosed.

  `sha1sum --check' now accepts the BSD format for SHA1 message digests
  in addition to the BSD format for MD5 ones.

  who -l now means `who --login', not `who --lookup', per POSIX.
  who's -l option has been eliciting an unconditional warning about
  this impending change since sh-utils-2.0.12 (April 2002).

** Bug fixes

  Mistakenly renaming a file onto itself, e.g., via `mv B b' when `B' is
  the same directory entry as `b' no longer destroys the directory entry
  referenced by both `b' and `B'.  Note that this would happen only on
  file systems like VFAT where two different names may refer to the same
  directory entry, usually due to lower->upper case mapping of file names.
  Now, the above can happen only on file systems that perform name mapping and
  that support hard links (stat.st_nlink > 1).  This mitigates the problem
  in two ways: few file systems appear to be affected (hpfs and ntfs are),
  when the bug is triggered, mv no longer removes the last hard link to a file.
  *** ATTENTION ***: if you know how to distinguish the following two cases
  without writing to the file system in question, please let me know:
  1) B and b refer to the same directory entry on a file system like NTFS
       (B may well have a link count larger than 1)
  2) B and b are hard links to the same file

  stat no longer overruns a buffer for format strings ending in `%'

  fold -s -wN would infloop for N < 8 with TABs in the input.
  E.g., this would not terminate: printf 'a\t' | fold -w2 -s

  `split -a0', although of questionable utility, is accepted once again.

  `df DIR' used to hang under some conditions on OSF/1 5.1.  Now it doesn't.

  seq's --width (-w) option now works properly even when the endpoint
  requiring the larger width is negative and smaller than the other endpoint.

  seq's default step is 1, even if LAST < FIRST.

  paste no longer mistakenly outputs 0xFF bytes for a nonempty input file
  without a trailing newline.

  `tail -n0 -f FILE' and `tail -c0 -f FILE' no longer perform what amounted
  to a busy wait, rather than sleeping between iterations.



ChangeLog entries:

**********************************************************************
ChangeLog
**********************************************************************
2003-09-08  Jim Meyering  <address@hidden>

        * Version 5.0.91.

        * man/Makefile.am (programs): Use ../src, not $(srcdir)/../src.
        (check-programs-vs-x): Fail if $(programs) is empty.

        * src/remove.c: Add a comment.

2003-09-07  Jim Meyering  <address@hidden>

        * src/remove.c (D_INO, ENABLE_CYCLE_CHECK) [D_INO_IN_DIRENT]:
        Don't define.  These symbols are no longer used.

        * tests/misc/tty-eof: Write ^D as \cD.
        Complete the change of 2003-08-02.

        * Makefile.maint (po-check): Use cvsu, so that a temporary source
        file in lib/ or src/ doesn't induce an unwarranted failure.
        Add a kludge to filter out the sole generated source file that
        also has translatable messages: src/false.c.

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

        * src/tail.c (enum): Add ALLOW_MISSING_OPTION.
        (parse_options): Give a diagnostic for (but still accept) the
        deprecated --allow-missing option.

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

        Don't ignore -S if input is a pipe.  Bug report by Michael McFarland in
        <http://mail.gnu.org/archive/html/bug-coreutils/2003-09/msg00008.html>.

        * src/sort.c (sort_buffer_size): Omit SIZE_BOUND arg.  Compute the
        size_bound ourselves. if an input file is a pipe and the user
        specified a size, use that size instead of trying to guess the
        pipe size.  This has the beneficial side effect of avoiding the
        overhead of default_sort_size in that case.  All callers changed.
        (sort): Remove static var size; now done by sort_buffer_size.

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

        * Use automake-1.7.6b and autoconf-2.57b.  Regenerate dependent files.

        * tests/tail-2/tail-n0f: Wait .5 seconds for backgrounded process
        to start, rather than just .1.  Upon failure, print unexpected state.

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

        * src/head.c (elide_tail_lines_pipe): Don't assign 0 or
        SAFE_READ_ERROR to tmp->nbytes.
        * src/tail.c (pipe_lines, pipe_bytes): Likewise.

        * src/head.c (struct linebuffer): Change nbytes and nlines
        from unsigned int to size_t.  unsigned int is safe (after the
        2003-09-03 patch) but size_t is cleaner.
        * src/tail.c (struct linebuffer, struct charbuffer): Likewise.
        (pipe_bytes): Likewise for local variable 'i', which was 'int'.

        Standardize on BUFSIZ as opposed to other macro names and values.
        * src/head.c (BUFSIZE): Remove.  All uses changed to BUFSIZ.
        * src/tail.c (BUFSIZ) [!defined BUFSIZ]: Remove.
        stdio.h has always defined it,
        and other code already assumes it's defined.
        * src/tr.c (BUFSIZ) [!defined BUFSIZ]: Likewise.
        (IO_BUF_SIZE): Remove; replace all uses with sizeof io_buf.
        (io_buf): IO_BUF_SIZE -> BUFSIZ.

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

        * src/seq.c (step): Default to 1.
        (print_numbers): Allow the output to be empty.
        (main): The default step is 1, even if LAST < FIRST;
        as per documentation.
        * tests/seq/basic (onearg-2): Output should be empty.

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

        * Makefile.cfg (wget_files): Temporarily disable, until master
        versions are restored to ftp.gnu.org.

        * configure.ac (AM_INIT_AUTOMAKE): Specify automake-1.7.6.

        Make seq's --width (-w) option work properly even when the
        endpoint requiring the larger width is negative and smaller than
        the other endpoint.
        * src/seq.c (get_width_format): Include `-' in the set of bytes
        allowed in a `simple' number (no decimal point, no exponent).
        Reported by Patrick Mauritz.

2003-09-02  Paul Eggert  <address@hidden>

        * NEWS: sort -t '\0' now uses a NUL tab.
        sort option order no longer matters, unless POSIX requires it.
        * src/sort.c (usage): Say "blanks" instead of "whitespace",
        Similar fixes for many comments.
        (TAB_DEFAULT): New constant, so that we can support NUL as
        the field separator.
        (tab): Now int, not char.  Initialize to TAB_DEFAULT.
        (specify_sort_size): If multiple sizes are specified, use the largest.
        (begfield, limfield): Support NUL tab char.
        (set_ordering): Do not let -i override -d.
        (main): Report an error if incompatible -o or -t options are given.
        Report an error for "-t ''".  Allow "-t '\0'" to specify a NUL tab.

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

        * tests/sort/Test.pm [o2, nul-tab]: New tests for the above.

2003-09-03  Andreas Schwab  <address@hidden>

        Bug report and patch here:
        <http://mail.gnu.org/archive/html/bug-coreutils/2003-09/msg00009.html>
        * src/tail.c (pipe_lines): Don't truncate return value from safe_read.
        * src/head.c (elide_tail_lines_pipe): Likewise.

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

        * src/du.c (AUTHORS): Remove Larry McVoy's name, since the relatively
        small amount of code from him was first moved to lib/human.c, and was
        subsequently rewritten entirely.
        * src/df.c (AUTHORS): Likewise.

2003-08-22  Lawrence Teo  <address@hidden>

        * src/md5sum.c (split_3): Accept the BSD format for generic
        message digest modes.  Currently works with BSD's MD5 and SHA1
        formats since these are the two algorithms presently used in
        coreutils.  Updated comments to reflect this change.
        (bsd_split_3): Updated comments.

        * tests/md5sum/basic-1: New test to make sure that
        `md5sum --check' doesn't accept the BSD SHA1 format (adapted
        from `check-bsd' test in tests/sha1sum/basic-1).

        * tests/sha1sum/basic-1 (check-bsd2, check-bsd3): New tests for
        --check exit status and BSD SHA1 format (adapted from tests
        in tests/md5sum/basic-1).

2003-08-30  Jim Meyering  <address@hidden>

        * src/ln.c (do_link): Use SAME_INODE rather than open-coding it.

        When source and destination arguments refer to the same file, reside
        on a partition (e.g. VFAT) on which distinct names may refer to the
        same directory entry (often due to variations in case), and when the
        link count for the file is 1, mv no longer unlinks the file.  Instead,
        it gives the expected diagnostic that the source and destination are
        the same.  WARNING: this is an incomplete fix.  If the file happens
        to have a link count of 2 or greater, such an erroneous mv command
        will still unlink it.
        Although that is not possible on vfat or umsdos, it is possible on
        other file system types, e.g., ntfs, and hpfs.
        * src/copy.c (same_file_ok): Invoke same_name (which might still
        return false for names that refer to the same directory entry)
        only if the link count is 2 or more.
        * tests/mv/vfat: Show how to demonstrate the above problem.
        This test is not run.
        * tests/mv/Makefile.am (EXTRA_DIST): Add vfat.

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

        * src/who.c: Change meaning of -l from --lookup to --login, per POSIX.
        who's -l option has been eliciting an unconditional warning about
        this impending change since sh-utils-2.0.12 (April 2002).

        * src/paste.c (paste_parallel): Don't output `EOF' (aka -1) as a `char'.
        This would happen for nonempty files not ending with a newline.
        Reported by Dan Jacobson.
        * tests/misc/paste-no-nl: New file.  Test for above-fixed bug.
        * tests/misc/Makefile.am (TESTS): Add paste-no-nl.

        * src/stat.c (print_it): Avoid buffer overrun that would
        occur when the user-specified format string ends with `%'.
        Patch by Tommi Kyntola.
        * tests/misc/stat-fmt: New file.  Test for above-fixed bug.
        * tests/misc/Makefile.am (TESTS): Add stat-fmt.

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

        Apply changes from bison.
        * GNUmakefile (SHELL): Define to `sh', if necessary.
        Add copyright.
        * Makefile.maint (WGETFLAGS): Define to `-C off'.
        Update all uses of $(WGET).

2003-08-22  Akim Demaille  <address@hidden>

        * Makefile.cfg (local-checks-to-skip): New.
        * Makefile.maint (local-check): Rename as...
        (local-checks-available): this.
        (local-check): New.

2003-08-26  Akim Demaille  <address@hidden>

        * announce-gen (print_changelog_deltas): Neutralize "<#" as
        "<\#" to avoid magic from Gnus when posting parts of this script.

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

        * src/stat.c (main): Warn about use of deprecated `-l' option.

2003-08-22  Jim Meyering  <address@hidden>

        * src/stat.c (do_stat): For link count at end of line, use %h format,
        instead of %-5h.  The latter would make stat emit trailing spaces.
        Reported by Dan Jacobson.

2003-08-20  Jim Meyering  <address@hidden>

        * Makefile.am (EXTRA_DIST): Add .x-sc_space_tab .x-sc_sun_os_names

2003-08-19  Jim Meyering  <address@hidden>

        * src/system.h: Include stdlib.h unconditionally,
        as we're now assuming that part of hosted C89.

2003-08-18  Jim Meyering  <address@hidden>

        * src/sys2.h (textdomain, bindtextdomain) [! ENABLE_NLS]: Define away,
        to avoid warnings from gcc.

2003-08-17  Jim Meyering  <address@hidden>

        Avoid unnecessary and sometimes time-consuming hostname lookups.
        * src/who.c (print_user): Use strchr, not strrchr.
        * src/pinky.c (print_entry): Likewise.
        Patch by Michael Stone.
        This fixes a typo I introduced in who-users.c on 1996-02-23.

        * Makefile.maint (makefile-check): Add 0-9 to the range of characters
        disallowed between address@hidden@'.

2003-08-16  Paul Eggert  <address@hidden>

        * configure.ac (fu_cv_sys_truncating_statfs): Remove; now
        done by gnulib .m4 files.
        (jm_DUMMY_1): Require gl_READUTMP, not jm_PREREQ_READUTMP.
        * src/sys2.h (strtoull): Remove unused declaration.

2003-08-16  Jim Meyering  <address@hidden>

        * man/Makefile.am (.x.1): Ensure that generated PROGRAM.1 files
        are read-only.

        * src/tail.c (tail_lines): Fix a potential (but very hard to exercise)
        race condition bug.  The bug would be triggered when tailing a file
        with file pointer not at beginning of file, and where the file was
        truncated to have a length of less than the initial offset at just
        the right moment (between the two lseek calls in this function).

        An invalid initial value for *read_pos would result in
        `tail -n0 -f FILE' and `tail -c0 -f FILE' doing what amounted to a
        busy-wait rather than sleeping between iterations.  The bug manifests
        itself only when tailing regular files that are initially nonempty.
        * src/tail.c (tail_bytes): Set *read_pos to new file offset after
        each xlseek call.
        (tail_lines): Likewise, after lseek calls.
        Reported by Nick Estes.  See http://bugs.debian.org/205251 for details.
        * tests/tail-2/tail-n0f: New file.  Test for above fix.
        * tests/tail-2/Makefile.am (TESTS): Add tail-n0f.

2003-08-15  Jim Meyering  <address@hidden>

        * Makefile.maint (sc_space_tab): Use exclusion list in separate file.
        (sc_sun_os_names): Likewise.
        * .x-sc_space_tab, .x-sc_sun_os_names: New files.

        * man/help2man: Remove some SPACEs before TAB.

2003-08-14  Paul Eggert  <address@hidden>

        * Makefile.maint (LC_ALL): Set to C.
        * man/Makefile.am (ASSORT): New var.
        (check-x-vs-1, programs): Use it.
        * src/Makefile.am (ASSORT, check-README, ../AUTHORS): Likewise.
        * tests/Makefile.am (ASSORT, all_programs): Likewise.

2003-08-11  Jim Meyering  <address@hidden>

        fold -s -wN would infloop for N < 8 with TABs in the input.
        E.g., this would not terminate: printf 'a\tb' | fold -w2 -s
        * src/fold.c (fold_file): Move contents of `else'-block
        out of conditional so it's used also for --spaces (-s).
        * tests/misc/fold: Test for the above fix.
        * tests/misc/Makefile.am (TESTS): Add fold.

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

        * src/nice.c [!NICE_PRIORITY]: Include <sys/resource.h> after
        system.h so the types from time.h and sys/time.h are available.
        It appears that this is necessary for OpenBSD, NetBSD, and
        Darwin 6.5 (MacOS 10.2.5).  Reported by Nelson Beebe.

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

        * NEWS: Add support for setting file timestamps to microsecond
        resolution, on hosts that support this.
        * src/copy.c, src/cp.c, src/install.c, src/touch.c: Include utimens.h.
        * src/copy.c (copy_internal):
        Set file timestamps with utimens, not utime.
        * src/cp.c (re_protect): Likewise.
        * src/install.c (change_timestamps): Likewise.
        * src/touch.c (newtime, touch, main): Likewise.

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

        * Makefile.maint (sc_sun_os_names): New rule based on a regexp
        from Paul Eggert.
        (syntax-check-rules): Add it.

        * src/tail.c (main): Tweak Solaris OS version number in comment.
        * src/wc.c (wc): Likewise
        * tests/tail-2/fflush: Likewise.

        * src/tail.c: Add new undocumented option, --presume-input-pipe.
        (pipe_lines): Use memchr to skip lines, rather than an explicit loop.

2003-08-08  Paul Eggert  <address@hidden>

        Use new gnulib 'extensions' module.
        * configure.ac: Invoke gl_USE_SYSTEM_EXTENSIONS instead of
        AC_GNU_SOURCE.

2003-08-08  Paul Eggert  <address@hidden>

        * tests/du/basic: Ensure that a/b/F has at least 65 bytes too.

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

        * tests/misc/split-fail: Reflect that `split -a 0' is now accepted.
        For tests of obsolete behavior, don't presume that unsetting
        _POSIX2_VERSION is equivalent to _POSIX2_VERSION=199209.

2003-08-07  Paul Eggert  <address@hidden>

        * doc/coreutils.texi (split invocation):
        Add -d or --numeric-suffixes option to 'split'.
        From a suggestion by Jesse Kornblum.
        * src/split.c (suffix_alphabet): New var.
        (longopts, usage, next_file_name, main): Support -d.
        (next_file_name, main): Allow -a0, as POSIX requires.
        (next_file_name): Don't assume ASCII-like encoding;
        'a' through 'z' are not contiguous in EBCDIC.

2003-08-05  Paul Eggert  <address@hidden>

        Merge getline from gnulib.
        * lib/getline.h, lib/getline.c, m4/getline.m4: Merge from gnulib.
        * lib/getndelim2.h, lib/getndelim2.c, m4/getndelim2.m4, m4/ssize_t.m4:
        New files, from gnulib.
        * lib/getdelim2.c, lib/getdelim2.h: Remove.
        * lib/Makefile.am (libfetish_a_SOURCES): Change getdelim2.c and
        getdelim2.h to getndelim2.c and getndelim2.h.
        * m4/jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
        checking for getdelim.
        (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
        than rolling our own.
        * src/cut.c: Include getndelim2.h rather than getdelim2.h.
        (cut_fields): Invoke getndelim2 rather than getdelim2.

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

        * src/sort.c (main): Use unsigned int instead of int for `nsigs'
        and for the indices to iterate through nsigs.

2003-08-02  Paul Eggert  <address@hidden>

        * src/sort.c: Minor code cleanups, mostly to use more accurate
        types and to remove unnecessary casts.
        (min, max): Remove.  All uses changed to MIN and MAX.
        (hard_lc_collate, hard_LC_TIME, struct buffer.eof, struct
        keyfield.skipsblanks, struct keyfield.skipeblanks, struct
        keyfield.numeric, struct keyfield.general_numeric, struct
        keyfield.month, struct keyfield.reverse, reverse, unique,
        have_read_stdin): Now bool, not int.  All uses changed.
        (eolchar): Now char, not int.
        (struct keyfield.ignore): Now bool const *, not int *.
        (struct keyfield.translate): Now char const *, not char *.
        (struct month.name): Likewise.
        (blanks, nonprinting, nondictionary): Now bool[], not int[].
        (cleanup, inittables, keycompare, check, mergefps, first_same_file,
        check, sort, main): Use const * pointers when possible.
        (month_cmp): Rewrite to avoid casts.
        (inittables): Initialize tables unconditionally, to avoid branches.
        (fillbuf): Return bool, not int.  All uses changed.
        (fillbuf, keycompare, new_key, main):
        Use SIZE_MAX rather than (size_t) -1.
        (trailing_blanks): Renamed from trim_trailing_blanks.
        Return the number of blanks to trim.  All uses changed.
        (getmonth): Use trailing_blanks rather than open code.
        (keycompare): Do not cast char * to unsigned char *; not needed.
        CMP_WITH_IGNORE converts args to UCHAR, so no need to convert it
        ourselves.
        (compare, main): Use | rather than || to avoid jumps.
        Replace "diff = NONZERO (alen)" with "diff = 1", since alen must
        be nonzero there.
        (check, first_same_file, sort, main):
        Use bool instead of int local vars when possible.
        (check): Merge the old 'checkfp' and 'check' into a single function,
        that returns a boolean (true if the file was ordered).
        All uses changed.
        (main): Use int instead of unsigned for iterating through nsigs.
        Rename local var "posix_pedantic" to "posixly_correct".

2003-08-02  Jim Meyering  <address@hidden>

        * src/nice.c [!NICE_PRIORITY]: Include <time.h> before <sys/resource.h>
        to avoid compilation error on Ultrix. Reported by Christian Krackowizer.

        * src/cut.c (cut_fields): Don't read again after encountering an
        initial EOF.  E.g., `cut -f2' would do so.
        * tests/misc/tty-eof: Add a test for the above fix.

        * src/sort.c (sortlines): Add description and references.
        From Paul Eggert.

        * tests/Makefile.am (TESTS_ENVIRONMENT): Set PATH so that
        the tests in help-version will use the just-built binaries.
        Reported by Christian Krackowizer.

2003-07-31  Paul Eggert  <address@hidden>

        * NEWS: Add --rfc-2822 option to GNU date.
        * doc/coreutils.texi (Time directives, Options for date, Examples
        of date): Likewise.
        * src/date.c (long_options, usage, main): Likewise.
        * doc/getdate.texi (General date syntax): Likewise.
        * doc/coreutils.texi (Options for date): Fix a typo in format:
        it's now %d not %_d.  Add URLs.

2003-08-01  Jim Meyering  <address@hidden>

        * tests/shred/remove: Ensure that $? is 0 for the final `exit 0'.
        Otherwise, with at least the /bin/sh from HPUX 10.20,
        the trap code would end up converting that to exit 1 and thus an
        unexpected test failure.  Reported by Christian Krackowizer.

2003-07-31  Paul Eggert  <address@hidden>

        * src/ptx.c: Do not include bumpalloc.h.
        (WORD_TABLE): New member alloc.
        (ALLOC_NEW_WORD): Remove.
        (occurs_alloc): New var.
        (digest_word_file, find_occurs_in_text): Check for arithmetic
        overflow when computing table size.  Use xrealloc rather than
        bumpalloc primitives.

        This happens when connecting to sparc-solaris5.7 via ssh from within
        Define to rpl_lstat, so that even on systems like Solaris 5.8,
        /dev/audio on at least Solaris 5.7 and 5.8 systems.

**********************************************************************
lib/ChangeLog
**********************************************************************
2003-09-03  Paul Eggert  <address@hidden>

        * human.c (human_readable): Fix bug that rounded 10501 to 10k.
        Bug reported by Lute Kamstra in
        <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00003.html>.

        * getdate.y (relative_time_table): Use tDAY_UNIT for "tomorrow",
        "yesterday", "today", and "now" rather than tMINUTE_UNIT.  Of
        course with correspondingly smaller numbers for tomorrow and
        yesterday.  From Tadayoshi Funaba.  Originally installed into
        sh-utils on 1999-08-07, but the patch was mistakenly reverted by
        the next change to that shared file (but this time in fileutils)
        on 1999-08-29.

2003-08-18  Paul Eggert <address@hidden>

        * same.c: Include <stdlib.h> and <string.h> unconditionally,
        as we're now assuming that part of hosted C89.
        (free) [!HAVE_DECL_FREE]: Remove decl; no longer needed.
        (same_name): Invoke pathconf on destination, not source, as
        that's a bit clearer even if they are the same dir.

2003-08-18  Jim Meyering  <address@hidden>

        * getopt.h: Remove space before TAB.

2003-08-17  Paul Eggert  <address@hidden>

        * same.c: Include <stdbool.h>, <limits.h>.
        (_POSIX_NAME_MAX): Define if not defined.
        (MIN): New macro.
        (same_name): If file names are silently truncated, report
        that the file names are the same if they are the same after
        the silent truncation.

2003-08-16  Paul Eggert  <address@hidden>

        Merge from gnulib.
        * Makefile.am (libfetish_a_SOURCES): Remove getndelim2.c,
        getndelim2.h, xstrtoimax.c.  Add localcharset.h.
        (CLEANFILES, SUFFIXES): Initialize to empty.
        (EXTRA_DIST): Add getndelim2.c, getndelim2.h.
        (install-exec-local): Use $(GLIBC21), not @address@hidden
        Do not mkdir libdir if not glibc21.
        (charset.alias): @host@ -> $(host).
        (SUFFIXES, .sin.sed, CLEANFILES): Reorder rules
        to match gnulib module suggestions.
        * localcharset.h, readlink.c: New files, from gnulib.
        * asnprintf.c, asnprintf.c, asprintf.c, backupfile.h,
        canon-host.c, config.charset, dirname.h, euidaccess.c, exclude.c,
        fsusage.h, full-write.c, getloadavg.c, getndelim2.h, gettext.h,
        group-member.h, hard-locale.h, hash.c, hash.h, hash-pjw.c,
        localcharset.c, long-options.h, makepath.h, malloc.c, mbswidth.c,
        mbswidth.h, md5.h, memcasecmp.c, memcasecmp.h, memcoll.h,
        mkstemp.c, modechange.h, mountlist.h, path-concat.h, pathmax.h,
        physmem.h, posixtm.h, printf-args.c, printf-args.h,
        printf-parse.c, printf-parse.h, putenv.c, quote.h, readutmp.h,
        ref-add.sin, ref-del.sin, safe-read.c, savedir.h, setenv.c,
        setenv.h, stdbool_.h, strnlen.c, strpbrk.c, strtoimax.c,
        strverscmp.h, tempname.c, unicodeio.c, unicodeio.h,
        unistd-safer.h, unlocked-io.h, vasnprintf.c, vasnprintf.h,
        vasprintf.c, vasprintf.h, version-etc.h, xgethostname.c,
        xmemcoll.c, xstrtoimax.c, xstrtoumax.c: Sync with gnulib.

2003-08-15  Paul Eggert  <address@hidden>

        * physmem.c: Include "physmem.h" before system includes.

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

        * utimens.c (utimens): Revert most of last change.
        Test HAVE_WORKING_UTIMES instead of HAVE_UTIMES.

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

        * utimens.c (utimens): Test HAVE_UTIME, not HAVE_UTIMES.
        Prefer utime, since it works and utimes doesn't on some systems.
        FIXME: Revert the above change once we have a working utimes
        replacement function.

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

        * Makefile.am (libeftish_a_SOURCES): Add utimens.c, utimens.h.
        * utimens.c, utimens.h: New files.

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

        * unicodeio.c (unicode_to_mb): Change to `Solaris 5.7' in comment.
        * putenv.c: Likewise.

        * fatal.c, fatal.h: Remove unused files.

        * Makefile.am: Use the e.g., `$(FNMATCH_H)' notation for AC_SUBST'd
        variable names, rather than @address@hidden
        Likewise for $(ALLOCA_H).
        (fnmatch.h): Use `$@' in the commands, in place of the three copies
        of the literal target, `fnmatch.h'.
        (alloca.h): Likewise.

2003-08-08  Paul Eggert  <address@hidden>

        * Makefile.am (libfetish_a_SOURCES): Remove fnmatch_.h.
        (lib_OBJECTS): New macro, for convenience when cutting and
        pasting Makefile.am templates from gnulib.
        (EXTRA_DIST): Remove fnmatch_loop.c.
        (BUILT_SOURCES): Append $(FNMATCH_H).
        * Makefile.am: Import the following changes from gnulib templates
        for alloca and fnmatch):
        (all-local $(lib_OBJECTS)): New dependencies.
        (alloca.h): Use alloca.h-t for temporary.
        (EXTRA_DIST): Append fnmatch_.h, fnmatch_loop.c.
        (fnmatch.h): New rule.
        (MOSTLYCLEANFILES): Add fnmatch.h, fnmatch.h-t.
        (DISTCLEANFILES): Remove fnmatch.h

2003-08-08  Jim Meyering  <address@hidden>

        * mountlist.c (read_filesystem_list) [MOUNTED_GETFSSTAT]:
        Use MNT_NOWAIT, rather than MNT_WAIT.  Otherwise, `df DIR' could
        hang on OSF/1 5.1 for DIR on both local and remote file systems.
        Reported by (and fix confirmed by) Nelson H. F. Beebe.

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

        * regex.h (RE_SYNTAX_POSIX_AWK): Remove SPACE in SPACE-TAB sequence.

2003-08-05  Paul Eggert  <address@hidden>

        Merge getline from gnulib.
        * getline.h, getline.c: Merge from gnulib.
        * getndelim2.h, getndelim2.c: New files, from gnulib.
        * getdelim2.c, getdelim2.h: Remove.
        * Makefile.am (libfetish_a_SOURCES): Change getdelim2.c and
        getdelim2.h to getndelim2.c and getndelim2.h.

2003-08-04  Paul Eggert  <address@hidden>

        * regex.c, regex.h: Sync with gnulib.

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

        * stdbool_.h (_Bool): Use a #define, not a typedef.

2003-07-31  Paul Eggert  <address@hidden>

        * bumpalloc.h: Remove.
        * Makefile.am (libfetish_a_SOURCES): Remove bumpalloc.h.

**********************************************************************
m4/ChangeLog
**********************************************************************
2003-08-27  Jim Meyering  <address@hidden>

        * mkstemp.m4: Require that the system mkstemp be able to create
        70 temporary files, not just 30.  Tru64 V4.0F's mkstemp function
        would fail after 32.  Reported by Danny Levinson.  Details here:
        http://mail.gnu.org/archive/html/bug-coreutils/2003-08/msg00124.html

2003-08-19  Jim Meyering  <address@hidden>

        * lib-ld.m4: Revert yesterday's change, per Bruno's request here:
        http://mail.gnu.org/archive/html/bug-gnulib/2003-08/msg00155.html

2003-08-18  Paul Eggert <address@hidden>

        * same.m4 (gl_SAME): Do not check for stdlib.h or string.h or free.
        Check for pathconf.

2003-08-18  Jim Meyering  <address@hidden>

        * getloadavg.m4: Use [\t ], not [ \t] (where \t is a literal TAB).
        * lib-ld.m4: Likewise.
        * po.m4: Likewise.

2003-08-18  Paul Eggert  <address@hidden>
        and Jim Meyering  <address@hidden>

        It turns out that we need AM_NLS and AM_PO_SUBDIRS after all;
        otherwise po/POTFILES and po/Makefile aren't built by 'configure'.
        I'm not sure why I didn't catch this earlier; most likely some
        leftover build files.  Sorry about that.
        * gettextext.m4 (AM_NLS, AM_PO_SUBDIRS): Remove definitions.
        * nls.m4, po.m4: New files, taken from gnulib / gettext.

2003-08-16  Paul Eggert  <address@hidden>

        Sync with gnulib.

        * gettextext.m4: New file.

        * atexit.m4, backupfile.m4, canon-host.m4, clock_time.m4,
        closeout.m4, dirname.m4, dup2.m4, euidaccess.m4, exclude.m4,
        exitfail.m4, file-type.m4, fileblocks.m4, filemode.m4, getdate.m4,
        gethostname.m4, getloadavg.m4, getopt.m4, getpagesize.m4,
        getpass.m4, getusershell.m4, hard-locale.m4, hash.m4, malloc.m4,
        memchr.m4, memcpy.m4, memmove.m4, memrchr.m4, memset.m4,
        modechange.m4, mountlist.m4, obstack.m4, path-concat.m4,
        pathmax.m4, physmem.m4, posixtm.m4, posixver.m4, quote.m4,
        quotearg.m4, readlink.m4, readutmp.m4, realloc.m4, rmdir.m4,
        rpmatch.m4, safe-read.m4, safe-write.m4, same.m4, save-cwd.m4,
        savedir.m4, settime.m4, sha.m4, sig2str.m4, stdio-safer.m4,
        stpcpy.m4, strcase.m4, strcspn.m4, strdup.m4, strndup.m4,
        strnlen.m4, strpbrk.m4, strstr.m4, strtod.m4, strtoimax.m4,
        strtol.m4, strtoll.m4, strtoul.m4, strtoull.m4, strtoumax.m4,
        strverscmp.m4, ulonglong.m4, unicodeio.m4, unistd-safer.m4,
        userspec.m4, xalloc.m4, xgetcwd.m4, xreadlink.m4, xstrtod.m4,
        xstrtol.m4, yesno.m4: New files, from gnulib.

        * acl.m4, check-decl.m4, chown.m4, c-stack.m4, d-ino.m4,
        d-type.m4, fileblocks.m4, fsusage.m4, ftruncate.m4, getcwd.m4,
        getgroups.m4, getline.m4, getndelim2.m4, gettext.m4,
        gettimeofday.m4, group-member.m4, host-os.m4, iconv.m4,
        intmax_t.m4, inttypes-pri.m4, jm-macros.m4, lchown.m4, lib-ld.m4,
        lib-link.m4, lib-prefix.m4, longdouble.m4, longlong.m4,
        ls-mntd-fs.m4, lstat.m4, mbrtowc.m4, mbswidth.m4, memcmp.m4,
        mkdir-slash.m4, mkstemp.m4, nanosleep.m4, onceonly.m4, prereq.m4,
        progtest.m4, putenv.m4, readdir.m4, rename.m4, stat.m4, tzset.m4,
        utimbuf.m4, utime.m4, vasnprintf.m4, xstrtoimax.m4, xstrtoumax.m4:
        Sync with gnulib.

2003-08-15  Jim Meyering  <address@hidden>

        * utimes.m4 (gl_FUNC_UTIMES): Use `conftest.utimes' as the test
        file name, not `x'.  The former will be removed automatically.

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

        * README: Remove file.
        * Makefile.am.in: Simplify.
        (Makefile.am): Remove README.

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

        * utimes.m4 (gl_FUNC_UTIMES): New file.
        * utimens.m4: Require gl_FUNC_UTIMES.
        Don't check for utime or utimes.

        * utimes.m4: Removed.
        * utimes-null.m4: Renamed from utimes.m4.

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

        * prereq.m4 (jm_PREREQ): Require gl_UTIMENS.
        * utimens.m4: New file.

2003-08-08  Paul Eggert  <address@hidden>

        * vasnprintf.m4 (gl_PREREQ_VASNPRINTF):
        Solaris 2.5.1 needs -lw to get the wcslen function.

2003-08-08  Paul Eggert  <address@hidden>

        Use new gnulib 'extensions' module.
        * extensions.m4, unlocked-io.m4: New files, from gnulib.
        * gnu-source.m4, jm-glibc-io.m4: Remove.
        * timespec.m4: Merge from gnulib.

2003-08-08  Paul Eggert  <address@hidden>

        * jm-macros.m4 (jm_MACROS): Replace jm_INCLUDED_REGEX([lib/regex.c])
        with gl_REGEX.
        Replace jm_FUNC_MKTIME with gl_FUNC_MKTIME.
        Remove redundant AC_FUNC_FNMATCH_GNU, jm_FUNC_MKTIME.
        Remove AC_FUNC_VPRINTF.
        Add gl_ERROR.

2003-08-05  Paul Eggert  <address@hidden>

        * jm-macros.m4 (jm_MACROS): Use gl_GETNDELIM2 rather than
        checking for getdelim.
        (jm_CHECK_ALL_TYPES): Use gt_TYPE_SSIZE_T for ssize_t rather
        than rolling our own.
        Merge getline from gnulib.
        * getline.m4: Merge from gnulib.
        * getndelim2.m4, ssize_t.m4: New files, from gnulib.

2003-08-04  Paul Eggert  <address@hidden>

        * regex.m4: Merge with gnulib.
        (gl_REGEX): New macro.
        (jm_INCLUDED_REGEX): Don't assume Latin-1 encoding of source code.
        * restrict.m4: Merge with gnulib.
        (gl_C_RESTRICT): Renamed from ACX_C_RESTRICT.  All uses changed.
        Rename cache vars to gl_cv_*.  Incorporate latest Autoconf CVS tricks.

2003-08-05  Paul Eggert  <address@hidden>

        * gnu-source.m4: New file, taken from gnulib, with support
        added for __EXTENSIONS__ a la Solaris.
        * jm-macros.m4 (jm_CHECK_ALL_TYPES): Call gl_TIMESPEC rather
        than jm_CHECK_TYPE_STRUCT_TIMESPEC.
        * st_mtim.m4: Sync with gnulib (white space change only).
        * timespec.m4: Sync with gnulib, except also require
        AC_GNU_SOURCE.

2003-08-05  Paul Eggert  <address@hidden>

        * prereq.m4 (jm_PREREQ_PHYSMEM, jm_PREREQ_STAT): Ignore headers
        that are present but cannot be compiled.  This avoids spurious warnings
        on Solaris 9 sparc with Forte Developer 7 C 5.4.

2003-08-04  Paul Eggert  <address@hidden>

        Merge fnmatch module from gnulib.
        * fnmatch.m4: New file, from gnulib.
        * jm-macros.m4 (jm_MACROS): Require gl_FUNC_FNMATCH_GNU
        instead of AC_FUNC_ERROR_AT_LINE.

2003-08-04  Paul Eggert  <address@hidden>

        * error.m4: Sync from gnulib.

        * prereq.m4 (jm_PREREQ_POSIXVER): New macro.

**********************************************************************
config/ChangeLog
**********************************************************************
2003-08-16  Paul Eggert  <address@hidden>

        * config.rpath, texinfo.tex: Sync with gnulib.

**********************************************************************
doc/ChangeLog
**********************************************************************
2003-09-02  Paul Eggert  <address@hidden>

        * coreutils.texi (sort invocation): -d now overrides -i.
        "whitespace" -> "blanks"; "whitespace" isn't correct.
        -t '\0' now specifies a NUL tab.

2003-08-17  Jim Meyering  <address@hidden>

        * coreutils.texi (who invocation): Add an entry for -l, --login.
        Remove `-l' from the entry for --lookup.
        (who invocation): Begin adding missing option documentation.

2003-08-07  Paul Eggert  <address@hidden>

        * coreutils.texi (split invocation):
        Add -d or --numeric-suffixes option to 'split'.

2003-07-31  Paul Eggert  <address@hidden>

        * getdate.texi (General date syntax): Add --rfc-2822 option to GNU date.
        * coreutils.texi (Options for date): Fix a typo in format:
        it's now %d not %_d.  Add URLs.

2003-07-31  Paul Eggert  <address@hidden>

        * getdate.texi (Relative items in date strings): Warn about
        fuzz in relative units.

        * coreutils.texi (uname invocation): Explain the POSIX
        * coreutils.texi (printf invocation): It's \NNN in the format,
        * coreutils.texi (Which files are listed, General output

**********************************************************************
po/ChangeLog
**********************************************************************
2003-08-27  Jim Meyering  <address@hidden>

        * Makefile.in.in: Update from gettext-0.12.2.

2003-08-19  Jim Meyering  <address@hidden>

        * Makevars (MSGID_BUGS_ADDRESS): Define.

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

        * LINGUAS: Add Irish (ga).

Attachment: pgpNtokrCsd2x.pgp
Description: PGP signature


reply via email to

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