summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorPaul Eggert <eggert@CS.UCLA.EDU>2010-07-02 23:41:08 -0700
committerJim Meyering <meyering@redhat.com>2010-07-03 10:28:08 +0200
commitefe53cc72b599979ea292754ecfe8abf7c839d22 (patch)
tree4041993405c58203ccad79280dd9aed419e06ec2 /NEWS
parentd27d6d371f3f7ede14b6bde79ddd45307d30fa47 (diff)
downloadcoreutils-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--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 3a249254f..b02a2233c 100644
--- a/NEWS
+++ b/NEWS
@@ -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]