diff options
author | Jim Meyering <meyering@redhat.com> | 2009-11-04 22:01:52 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2009-11-05 08:32:31 +0100 |
commit | 8ba5d1a70cc88fce33fabf488f382140d4c5c101 (patch) | |
tree | a75c802193ea86f1a7b245981644c51a2bfd8dc0 /NEWS | |
parent | 38cb824673a53062ab0d2ee843cdf58affc17e04 (diff) | |
download | coreutils-8ba5d1a70cc88fce33fabf488f382140d4c5c101.tar.xz |
du now diagnoses cycles, rather than ignoring them
* src/du.c (symlink_deref_bits): New global, decl moved from ...
(main): ...here.
(process_file): When fts detects a directory cycle that can't
be due to symlinks, report it and arrange to exit nonzero.
* NEWS (Bug fixes): Mention it.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -8,6 +8,9 @@ GNU coreutils NEWS -*- outline -*- Even then, chcon may still be useful. [bug introduced in coreutils-8.0] + du now diagnoses an ostensible directory cycle and arranges to exit nonzero. + Before, it would silently ignore the offending directory and all "contents." + env -u A=B now fails, rather than silently adding A to the environment. Likewise, printenv A=B silently ignores the invalid name. [the bugs date back to the initial implementation] |