bug-coreutils
[Top][All Lists]
Advanced

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

coreutils-5.1.2 released


From: Jim Meyering
Subject: coreutils-5.1.2 released
Date: Sun, 25 Jan 2004 01:21:29 +0100

This is a bug-fix-only release.
I hope to make a `stable' release pretty soon, so if you know
of any outstanding bugs, please report (or re-report) them ASAP.

Here are the compressed sources:
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.1.2.tar.gz   (6.2MB)
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.1.2.tar.bz2  (4.1MB)
  http://fetish.sf.net/coreutils-5.1.2.tar.gz   (6.2MB)
  http://fetish.sf.net/coreutils-5.1.2.tar.bz2  (4.1MB)

And here are xdelta-style diffs:
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-5.1.1-5.1.2.xdelta   (256KB)
  http://fetish.sf.net/coreutils-5.1.1-5.1.2.xdelta   (256KB)

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

Here are the MD5 and SHA1 signatures:

742002ec256aa47e67614425f9914bba  coreutils-5.1.2.tar.gz
91a983a0f45d290f1a9ec00f51c58e4c  coreutils-5.1.2.tar.bz2
a2d8e59ce28b9ed9102ea4a76afd580c  coreutils-5.1.1-5.1.2.xdelta
0c9fd272547b441ba3b823495bbf88861a281d0f  coreutils-5.1.2.tar.gz
bab590c6daebbd27e0aa25a22213a332fc9bb3f5  coreutils-5.1.2.tar.bz2
f9223b17c4774c54040c6eb10ba83c31731cd91f  coreutils-5.1.1-5.1.2.xdelta
NEWS

* Major changes in release 5.1.2 (2004-01-25):

** Bug fixes

  rmdir -p exits with status 1 on error; formerly it sometimes exited
  with status 0 when given more than one argument.

  nohup now always exits with status 127 when it finds an error,
  as POSIX requires; formerly it sometimes exited with status 1.

  Several programs (including cut, date, dd, env, hostname, nl, pr,
  stty, and tr) now always exit with status 1 when they find an error;
  formerly they sometimes exited with status 2.

  factor no longer reports a usage error if stdin has the wrong format.

  paste no longer infloops on ppc systems (bug introduced in 5.1.1)



ChangeLog entries:

**********************************************************************
ChangeLog
**********************************************************************
2004-01-25  Jim Meyering  <address@hidden>

        * Version 5.1.2.

        * Makefile.maint (signatures): Comment out definition.

2004-01-23  Jim Meyering  <address@hidden>

        * Makefile.maint (header_regexp): Add exitfail.

        * man/Makefile.am (EXTRA_DIST): Add help2man.
        Reported by Nelson H. F. Beebe.

        * man/Makefile.am (.x.1): Prefix help2man invocation with `$(PERL) --'
        so it works on systems with Perl installed somewhere other than in
        /usr/bin.

        * src/paste.c (paste_parallel): Declare local, chr, to be of type
        `int', not `char', since it must hold EOF.  This bug would make
        paste infloop on some systems.  Test failures reported by
        Nelson H. F. Beebe and Christian Krackowizer.

2004-01-22  Jim Meyering  <address@hidden>

        * tests/rmdir/fail-perm: New file.  Test for just-fixed rmdir bug.
        * tests/rmdir/Makefile.am (TESTS): Add fail-perm.

        * man/help2man: Fix it so using --info-page='coreutils PROG' works.
        * man/Makefile.am (.x.1): Invoke our own (tweaked) copy of help2man.
        Use --info-page='coreutils PROG' option.
        Now, readlink.1 refers the user to `info coreutils readlink'
        rather than to `info readlink'.  Reported by Matt Swift.

2004-01-21  Paul Eggert  <address@hidden>

        Exit status cleanup.

        * src/basename.c (usage): Use EXIT_SUCCESS, not 0, for clarity.
        * src/cat.c, src/chgrp.c, src/chmod.c, src/chown.c, src/chroot.c,
        * src/cksum.c, src/comm.c, src/cp.c, src/csplit.c, src/cut.c,
        * src/date.c, src/dd.c, src/df.c, src/dircolors.c, src/dirname.c,
        * src/du.c, src/echo.c, src/env.c, src/expand.c, src/expr.c,
        * src/factor.c, src/fmt.c, src/fold.c, src/head.c, src/hostid.c,
        * src/hostname.c, src/id.c, src/install.c, src/join.c, src/kill.c,
        * src/link.c, src/ln.c, src/logname.c, src/ls.c, src/md5sum.c,
        * src/mkdir.c, src/mkfifo.c, src/mknod.c, src/mv.c, src/nice.c,
        * src/nl.c, src/nohup.c, src/od.c, src/paste.c, src/pathchk.c,
        * src/pinky.c, src/pr.c, src/printenv.c, src/printf.c, src/pwd.c,
        * src/rm.c, src/rmdir.c, src/seq.c, src/setuidgid.c, src/shred.c,
        * src/sleep.c, src/sort.c, src/split.c, src/stat.c, src/stty.c,
        * src/su.c, src/sum.c, src/sync.c, src/tac.c, src/tail.c, src/tee.c,
        * src/test.c, src/touch.c, src/tr.c, src/tsort.c, src/tty.c,
        * src/uname.c, src/unexpand.c, src/uniq.c, src/unlink.c, src/uptime.c,
        * src/users.c, src/wc.c, src/who.c, src/whoami.c, src/yes.c: Likewise.

        * src/cat.c (usage): Don't bother normalizing exit status
        since the arg is already the correct exit status now.
        * src/cksum.c, src/comm.c, src/csplit.c, src/cut.c,
        * src/dircolors.c, src/expand.c, src/fmt.c, src/fold.c, src/head.c,
        * src/join.c, src/md5sum.c, src/nl.c, src/od.c, src/paste.c,
        * src/pr.c, src/split.c, src/sum.c, src/tac.c, src/tail.c, src/tr.c,
        * src/tsort.c, unexpand.c, src/src/uniq.c, src/src/wc.c: Likewise.

        * src/chown.c (main): Removed unused local 'fail'.

        * src/chroot.c (CHROOT_FOUND_BUT_CANNOT_INVOKE, CHROOT_FAILURE):
        Remove.

        * src/chroot.c (main): Initialize exit_failure to EXIT_FAIL.
        * src/env.c, src/nice.c, src/su.c: Likewise.
        * src/nohup.c (main): Likewise, to NOHUP_FAILURE.
        * src/setuidgid.c (main): Likewise, to SETUIDGID_FAILURE.
        * src/expr.c (main): Use initialize_exit_failure rather than
        setting exit_failure directly; this optimizes away redundant
        assignments.
        * src/printenv.c, src/sort.c, src/test.c, src/tty.c: Likewise.

        * src/chroot.c (main): Exit with status 1 rather than 127
        if chroot itself fails, as per documentation.

        * src/chroot.c (main): Use EXIT_ENOENT and EXIT_CANNOT_INVOKE
        rather than roll-your-own symbols or integers.
        * src/env.c (main): Likewise.
        * src/nohup.c (main): Likewise.
        * src/su.c (run_shell): Likewise.

        * src/cp.c (exit_status): Remove static var....
        (main): Making it local here instead.  Use =, not |=, to set it.

        * src/cut.c (FATAL_ERROR, main): Exit with status EXIT_FAILURE,
        not 2, on errors.
        * src/date.c (batch_convert, main): Likewise.
        * src/dd.c (dd_copy): Likewise.
        * src/pr.c (first_last_page, main, getoptarg): Likewise.
        * src/tr.c (main): Likewise.
        * src/date.c (main): Don't assume EXIT_FAILURE == 1, as
        POSIX doesn't require it.
        * src/dd.c (write_output, skip, dd_copy): Likewise.
        * src/df.c (main): Likewise.
        * src/id.c (main): Likewise.
        * src/install.c (main): Likewise.
        * src/ln.c (main): Likewise.
        * src/ls.c (main): Likewise.
        * src/mv.c (main): Likewise.
        * src/shred.c (main): Likewise.

        * src/env.c (main): Exit with status 1, not 2, on errors detected
        by env proper.
        * src/hostname.c (main): Likewise.
        * src/nl.c (main): Likewise.
        * src/stty.c (main): Likewise.

        * src/expr.c (EXPR_FAILURE): Renamed from EXPR_ERROR, for
        consistency with the other programs' naming conventions.
        All uses changed.

        * src/factor.c (main): Do not report a usage error simply
        because stdin has bad numbers.

        * src/id.c (problems): Now a boolean int, not a counter,
        so that we don't have to worry about int overflow.  All uses changed.
        * src/touch.c (err): Likewise.

        * src/md5sum.c (main): Use int, not size_t, to store boolean int.

        * src/mkfifo.c (main): Exit with status 1, not 4, if not implemented.
        * src/mknod.c: Likewise.

        * src/nice.c (main): Exit with status EXIT_FAIL, not EXIT_FAILURE,
        on error; this is in case EXIT_FAILURE is unusual.
        * src/su.c (main): Likewise.

        * src/nohup.c (NOHUP_FOUND_BUT_CANNOT_INVOKE): Remove; all uses
        changed to EXIT_CANNOT_INVOKE.

        * src/printenv.c (PRINTENV_FAILURE): New constant.
        (main): Exit with status PRINTENV_FAILURE, not EXIT_FAILURE, on
        command-line syntax problems.

        * src/rmdir.c (remove_parents): Don't set 'fail' to a negative number.
        (main): Avoid integer overflow when seeing whether errors occurred.

        * src/seq.c (print_numbers): Now returns void, not (zero) int.
        All callers changed.
        (main): Remove unused local variable 'errs'.  Always exit successfully
        if we reach the end.

        * src/setuidgid.c (SETUIDGID_FAILURE): Renamed from FAIL_STATUS,
        for consistency with other programs here.  All uses changed.
        (main): Use 'error' to exit rather than invoking 'exit' here.

        * src/sort.c: Don't include <assert.h>.
        (SORT_OUT_OF_ORDER,  SORT_FAILURE): Now enums, not macros.
        (usage): Don't use 'assert'.
        (main): Remove redundant assignment to exit_failure.

        * src/system.h (EXIT_FAIL, EXIT_CANNOT_INVOKE, EXIT_ENOENT):
        New enum values.
        (initialize_exit_failure): New inline function.
        Include exitfail.h here, since we refer to exit_failure.
        All callers changed to not include exitfail.h.

        * src/tty.c (TTY_FAILURE, TTY_WRITE_ERROR): New enum values;
        substitute them for the corresponding integer constants.

        * tests/help-version (expected_failure_status_date): Remove, as
        'date' is now normal.
        (expected_failure_status_nohup): New var.

2004-01-21  Jim Meyering  <address@hidden>

        * tests/touch/relative: Remove `command' syntax.
        Thanks to Nelson H. F. Beebe and Paul Eggert.

        * tests/touch/relative: Test only year/month/day, not hours/min/sec,
        so as to avoid problems with systems using TAI clocks.
        Although it's no longer necessary, set TZ=UTC0 also for the
        initial touch command.  Reported by Paul Jarc here:
        http://article.gmane.org/gmane.comp.gnu.core-utils.bugs/1504

2004-01-20  Diego Biurrun  <address@hidden>

        * src/dircolors.hin: Add .mov to the list of media files.

2004-01-19  Paul Eggert  <address@hidden>

        * tests/touch/relative: Use TZ=UTC0, not TZ=utc (which isn't
        portable).  Problem reported by Christian Krackowizer.  Also, use
        +0000 rather than +0 to specify a time zone, as the documentation
        requires four digits.

2004-01-19  Jim Meyering  <address@hidden>

        * tests/mv/hard-4: Run envvar-check in case SIMPLE_BACKUP_SUFFIX is set.
        * tests/mv/backup-is-src: Likewise.
        Problem reported by Peter Horst

        * announce-gen (print_changelog_deltas): Use .sig suffix, not .asc.

**********************************************************************
lib/ChangeLog
**********************************************************************
2004-01-21  Paul Eggert  <address@hidden>

        * argmatch.c (ARGMATCH_DIE) [! defined ARGMATCH_DIE]:
        Include "exitfail.h", and use exit_failure rather than EXIT_FAILURE.
        * argmatch.h: Comment fix to match the above.
        * long-options.c (parse_long_options): Use prototype
        for usage function arg.  Pass it EXIT_SUCCESS rather than 0,
        for clarity.
        * obstack.c (obstack_exit_failure) [!defined _LIBC]:
        Now a macro referring to exit_failure, instead of a separate
        variable.  Include "exitfail.h" to get it.
        * xstrtol.h: Include "exitfail.h".
        (STRTOL_FATAL_ERROR): Exit with status exit_failure, not 2.

2004-01-21  Jim Meyering  <address@hidden>

        * mktime.c (__mktime_internal) [!_LIBC]: Define to mktime_internal
        so as not to conflict with a different-sized __mktime_internal
        function in GNU libc.

**********************************************************************
doc/ChangeLog
**********************************************************************
2004-01-19  Paul Eggert  <address@hidden>

        * coreutils.texi (Exit status): Document that ordinary failure
        might not exit with status 1 on unusual platforms.
        Mention chroot, env, nice, and su as having unusual exit
        status patterns.  Don't bother to mention true and false
        since their exit status patterns are actually normal.
        (sort invocation, su invocation): Mention its unusual exit
        status pattern.
        (chroot invocation): Simplify description of exit status 1.
        Remove duplicate description of status 127.
        (env invocation): Use consistent tenses; simplifiy description
        of status 1.
        (nice invocation): Likewise.

Attachment: pgpJrX1rDsMNG.pgp
Description: PGP signature


reply via email to

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