du now diagnoses cycles, rather than ignoring them
authorJim Meyering <meyering@redhat.com>
Wed, 4 Nov 2009 21:01:52 +0000 (22:01 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 5 Nov 2009 07:32:31 +0000 (08:32 +0100)
commit8ba5d1a70cc88fce33fabf488f382140d4c5c101
treea75c802193ea86f1a7b245981644c51a2bfd8dc0
parent38cb824673a53062ab0d2ee843cdf58affc17e04
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.
NEWS
src/du.c