diff options
author | Jim Meyering <meyering@redhat.com> | 2011-01-08 17:44:55 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2011-01-10 07:49:55 +0100 |
commit | 1c5987d2effdfae93362fcc4575c8ca4057740fc (patch) | |
tree | 370a04cf2fbf018b89cf1e02d81ed2bcf37e6759 /NEWS | |
parent | d5d283dbc9ae8d727470975bc8fdd3371468cbdf (diff) | |
download | coreutils-1c5987d2effdfae93362fcc4575c8ca4057740fc.tar.xz |
du: don't abort when a subdir is renamed during traversal
* NEWS (Bug fixes): Mention it.
* src/du.c (prev_level): Move declaration "up" to file-scope global.
(du_files): Reset prev_level to 0 upon abnormal fts_read termination.
Reported by Johathan Nieder in http://bugs.debian.org/609049
Also, improve a diagnostic.
* tests/du/move-dir-while-traversing: Test for the above.
* tests/Makefile.am (TESTS): Add it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2,6 +2,14 @@ GNU coreutils NEWS -*- outline -*- * Noteworthy changes in release ?.? (????-??-??) [?] +** Bug fixes + + du would abort with a failed assertion when two conditions are met: + part of the hierarchy being traversed is moved to a higher level in the + directory tree, and there is at least one more command line directory + argument following the one containing the moved sub-tree. + [bug introduced in coreutils-5.1.0] + * Noteworthy changes in release 8.9 (2011-01-04) [stable] |