diff options
author | Paul Eggert <eggert@CS.UCLA.EDU> | 2010-07-02 23:41:08 -0700 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2010-07-03 10:28:08 +0200 |
commit | efe53cc72b599979ea292754ecfe8abf7c839d22 (patch) | |
tree | 4041993405c58203ccad79280dd9aed419e06ec2 /NEWS | |
parent | d27d6d371f3f7ede14b6bde79ddd45307d30fa47 (diff) | |
download | coreutils-efe53cc72b599979ea292754ecfe8abf7c839d22.tar.xz |
du: don't miscount duplicate directories or link-count-1 files
* NEWS: Mention this.
* src/du.c (hash_all): New static var.
(process_file): Use it.
(main): Set it.
* tests/du/hard-link: Add a couple of test cases to help make
sure this bug stays squashed.
* tests/du/files0-from: Adjust existing tests to reflect
change in semantics with duplicate arguments.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -38,6 +38,11 @@ GNU coreutils NEWS -*- outline -*- Also errors are no longer suppressed for unsupported file types, and relative sizes are restricted to supported file types. +** Bug fixes + + du no longer multiply counts a file that is a directory or whose + link count is 1, even if the file is reached multiple times by + following symlinks or via multiple arguments. * Noteworthy changes in release 8.5 (2010-04-23) [stable] |