bug-coreutils
[Top][All Lists]
Advanced

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

coreutils-4.5.9 released


From: Jim Meyering
Subject: coreutils-4.5.9 released
Date: Wed, 05 Mar 2003 20:32:52 +0100

This is a bug-fix-only release.
There were enough other problems that I decided not to include
the du.c conversion from ftw to fts in this release.

Note that although I've left in the ChangeLog entries for fts.c
and fts_.h, I didn't include those files.  There are still a few
portability problems.

I have a couple of small projects for 4.5.10:
  - make shred enable --exact for non-regular files, as suggested
      today by Ben Elliston on the bug-fileutils list
  - make `cp --no-preserve=A' not attempt to preserve attribute(s) A
      as reported by Andreas Schwab

Then, depending on feedback and on the number of new problem reports,
I hope to make 4.5.11 an _official_ release.
So please let me know if you succeed in building/testing this on any
unusual operating systems -- and/or file systems.  Be sure to run
`make -k check' if you do build it.

Thanks,
Jim


  ftp://alpha.gnu.org/gnu/coreutils/coreutils-4.5.9.tar.gz   (5.8MB)
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-4.5.9.tar.bz2  (3.8MB)
  http://fetish.sf.net/coreutils-4.5.9.tar.gz   (5.8MB)
  http://fetish.sf.net/coreutils-4.5.9.tar.bz2  (3.8MB)

And here are xdelta-style diffs:
  ftp://alpha.gnu.org/gnu/coreutils/coreutils-4.5.8-4.5.9.xdelta   (324KB)
  http://fetish.sf.net/coreutils-4.5.8-4.5.9.xdelta   (324KB)

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

Here are the MD5 and SHA1 signatures:

6688bc9b5134d234af773a424fb64132  coreutils-4.5.9.tar.gz
3dfa6dedf941caff97a7b69ac13cb664  coreutils-4.5.9.tar.bz2
5f0e8ffac404489338dddc3b827a9059  coreutils-4.5.8-4.5.9.xdelta
aad16874cd69f2031a28143f5ec5b8afa7a253cf  coreutils-4.5.9.tar.gz
140c10cefaed2f3ecb777d1ce10e88b3b0772680  coreutils-4.5.9.tar.bz2
199f65c5dbdef8714c1c8620f03cde5c853ae131  coreutils-4.5.8-4.5.9.xdelta
NEWS

[4.5.9]
* du no longer truncates file sizes or sums to fit in 32-bit size_t
* work around Linux kernel bug in getcwd (fixed in 2.4.21-pre4), so that pwd
  now fails if the name of the working directory is so long that getcwd
  truncates it.  Before it would print the truncated name and exit successfully.
* `df /some/mount-point' no longer hangs on a GNU libc system when another
  hard-mounted NFS file system (preceding /some/mount-point in /proc/mounts)
  is inaccessible.
* rm -rf now gives an accurate diagnostic when failing to remove a file
  under certain unusual conditions
* mv and `cp --preserve=links' now preserve multiple hard links even under
  certain unusual conditions where they used to fail

ChangeLog entries:
**********************************************************************
ChangeLog
**********************************************************************
2003-03-05  Jim Meyering  <address@hidden>

        * Version 4.5.9.

        * src/printf.c (print_esc): Remove pointless comparison of unsigned
        integer with zero, to avoid a warning from Intel's ecc.
        Reported by Nelson Beebe.

        * src/du.c (process_file): Sizes must all be of type uintmax_t.
        Otherwise, for files or totals that are too big, numbers would
        be truncated.  Patch mostly by Michael Stone.
        Reported by Ingo Saitz as Debian bug #183210.

        * tests/du/8gb: New test for the above-fixed bug.
        * tests/du/Makefile.am (TESTS): Add 8gb.

        * src/du.c (MAX_N_DESCRIPTORS): Use 3 * UTILS_OPEN_MAX / 4
        rather than UTILS_OPEN_MAX - 10.

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

        * README: Refer new feature discussion to address@hidden,
        rather than bug-gnu-utils, now that the former is better known.
        Suggestion from Göran Uddeborg.

        * src/stat.c (usage): Capitalize consistently.
        Reported by Göran Uddeborg.

        * Makefile.maint (rel-files): Include $(signatures), so that
        those files are also copied into $(release_archive_dir).

        * src/df.c (find_mount_point): Call error here, now that restore_cwd
        no longer does it.
        * src/remove.c (AD_pop_and_chdir): Likewise.

        * tests/Makefile.am (check-root): Add fail-2eperm.

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

        * src/remove.c (remove_cwd_entries): Include the full filename of
        the offending file, not just the basename.

        * tests/misc/tty-eof: Set $ME properly.

        * Makefile.maint (THIS_VERSION_REGEXP, PREV_VERSION_REGEXP):
        Remove now-unused variables.
        (tag-prev-version, prev-cvs-tag): Likewise.

        * src/remove.c (remove_cwd_entries) [!ROOT_CAN_UNLINK_DIRS]: Give an
        accurate diagnostic when failing to remove a file owned by some other
        user.  Reported by Ivo Timmermans via Michael Stone.
        This fixes Debian bug# 178471.

        * tests/rm/Makefile.am (TESTS): Add fail-2eperm.
        * tests/rm/fail-2eperm: New test, for the above-fixed bug.
        Based on a report from Ivo Timmermans.

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

        * src/copy.c (copy_internal) [un_backup]: When recovering from a
        failure to create a hard link, do not remove the entry associating
        the source dev/ino with the destination file name.
        * tests/mv/Makefile.am (TESTS): Add hard-3.
        * tests/mv/hard-3: New test, for the above-fixed bug.
        Inspired by a report from Iida Yosiaki.

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

        * src/df.c (print_header): Don't embed spaces in a separate `Type'
        header string.  Instead, put `Filesystem' and `Type' headers in the
        same string, so translators can use horizontal space as needed.
        Reported by Jean Charles Delepine.

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

        * src/copy.c (copy_internal): When link fails because of an
        existing destination file, unlink that file and try again.
        Reported by Iida Yosiaki.

        * tests/mv/Makefile.am (TESTS): Add hard-2.
        * tests/mv/hard-2: New test for the above-fixed bug.
        Based on a test case from Iida Yosiaki.

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

        * tests/du/basic: Don't test du's -b option here.  Directory byte
        counts are smaller (512 rather than 4096) on at least OSF/1 5.1
        and IBM AIX 4.2.  Reported by Nelson Beebe.

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

        * Makefile.maint (announcement): Now that ChangeLog entries
        are output by announce-gen, don't do it here.
        * announce-gen (print_changelog_deltas): New function.
        (main): Use it.

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

        * announce-gen: New option: --release-type=TYPE
        * Makefile.maint (beta, major): New targets.  Remove `release'.
        Put them all together on a line.
        Pass the release type (via RELEASE_TYPE envvar) to the MAKE
        invocation of `announcement'.
        (announcement): Invoke announce-gen with --release-type=$RELEASE_TYPE.

        * announce-gen: New option: --news=NEWS_FILE.
        Extract NEWS entries here, not via rules in Makefile.maint.
        * Makefile.maint (announcement): Now that NEWS entries are
        extracted by announce-gen, don't do it here.
        (news-r1, news-r2): Remove now-unused definitions.

**********************************************************************
lib/ChangeLog
**********************************************************************
2003-03-05  Jim Meyering  <address@hidden>

        * physmem.c (ARRAY_SIZE): Define it.

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

        * makepath.c (CLEANUP_CWD): Call error here, now that restore_cwd
        no longer does it.

        * save-cwd.h (restore_cwd): Update prototype.
        * save-cwd.c (restore_cwd): Remove two parameters.
        Simplify.  Don't call error upon failure.  Let callers do that.
        (save_cwd): Mention that Irix 5.3 has the same problem as SunOS4
        when auditing is enabled.  But don't bother updating the #if.

        * xgetcwd.c (xgetcwd): Improve comment.

        * getcwd.c: New file.

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

        * ftw.c (ftw_startup): Return -1 if alloca fails.

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

        * fts.c (fts_children): If opening `.' fails, set the fts_child
        member to NULL before returning.  From NetBSD.

        * fts.c (fts_children): If fchdir fails, close file descriptor
        before returning.  From NetBSD.

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

        * physmem.c (physmem_total, physmem_available): Add comments.
        From Kaveh Ghazi.

        * physmem.c: Merge in portability changes from gcc/libiberty
        to support AIX, Tru64, and Windows.  See the ChangeLog there
        for credits and details.  Thanks to Kaveh Ghazi for helping
        to keep these files in sync.

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

        * fts_.h [__USE_FILE_OFFSET64]: Remove #error directive.

        (fts_open): Initialize local, tmp, to pacify gcc.

        * fts_.h [struct FTS] (fts_dir_signatures): New, opaque member.
        * fts.c: Include <search.h>.
        (struct known_object): Define.
        (object_compare, add_object, find_object): New functions, like
        those in ftw.c.
        (fts_open): Initialize new member.
        (fts_close): Free memory allocated for new member.
        (fts_stat): Detect a cycle in O(logN) time per directory processed.

        * fts.c [HAVE_CONFIG_H]: Include <config.h>.
        Conditionalize inclusion of <sys/param.h>.
        Conditionalize inclusion of <include/sys/stat.h> vs <sys/stat.h>.
        Include autoconf-recommended block of dirent/NAMELEN-related
        definitions and includes.  Use NAMLEN throughout, rather than
        _D_EXACT_NAMLEN.
        [_LIBC] (close, closedir, fchdir, open, opendir): Define.
        [_LIBC] (readdir, tdestroy, tfind, tsearch): Define.
        Remove `__' prefix from all uses of the above.  This will help
        to merge *BSD changes.
        [!_LIBC] (internal_function): Define.
        [! _LIBC && ! LSTAT_FOLLOWS_SLASHED_SYMLINK]: Define lstat.
        (__set_errno): Define if not already defined.

        * fts.c: (fts_open): If fts_alloc returns NULL, don't dereference it.
        (fts_read): If fts_safe_changedir fails because it is not
        able to chdir into a subdirectory, then inform the caller.

        * fts.c, fts_.h: New files, directly from glibc.

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

        * fts_.h (struct _ftsent) [fts_level]: Change type from short to int,
        so it can handle a root-relative file name longer than 32K bytes.
        [fts_pathlen, fts_namelen]: Rearrange members to decrease size of
        this struct from 84 to 80 bytes.

**********************************************************************
m4/ChangeLog
**********************************************************************
2003-03-04  Jim Meyering  <address@hidden>

        * getcwd-path-max.m4 (GL_FUNC_GETCWD_PATH_MAX): New macro.
        * jm-macros.m4: Require GL_FUNC_GETCWD_PATH_MAX.

        `df /some/mount-point' no longer hangs when an unrelated hard-mount
        is unavailable
        * fsusage.m4 [__GLIBC__]: GNU libc's statvfs stats each mount point in
        /proc/mounts until it finds one with matching device number.  This is
        unnecessary when the FILE argument *is* a mount point.  No stat call
        is necessary in that case.  So, disable the statvfs-testing code on
        systems with GNU libc.  Reported by Andrei Gaponenko via Tim Waugh
        as RedHat bug# 84846.

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

        * prereq.m4 (jm_PREREQ_PHYSMEM): Also check for `table' function.
        Reported by Kaveh Ghazi.

        * prereq.m4 (gl_SYS__SYSTEM_CONFIGURATION): New function.
        (jm_PREREQ_PHYSMEM): Check for new headers and functions.
        Use gl_SYS__SYSTEM_CONFIGURATION.
        With suggestions from Kaveh Ghazi.

**********************************************************************
doc/ChangeLog
**********************************************************************
2003-03-02  Jim Meyering  <address@hidden>

        * coreutils.texi (Exit status): New section.
        Suggestion from Michael Stone.

Attachment: pgpfEzpTvZXlI.pgp
Description: PGP signature


reply via email to

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