du: print size (probably incomplete) of each inaccessible directory
authorJim Meyering <jim@meyering.net>
Tue, 31 Jul 2007 08:46:31 +0000 (10:46 +0200)
committerJim Meyering <jim@meyering.net>
Tue, 31 Jul 2007 10:10:11 +0000 (12:10 +0200)
commitfd9a6e860b7f196728a975599947a09a316be260
tree31d53da2df9076c53cb89d75cc77b37b022d7f40
parent3b03442c5423562749982e159111782db6812b14
du: print size (probably incomplete) of each inaccessible directory

 * src/du.c (process_file): Print what we know of the size of a
 directory even when it is inaccessible.  What we print is just the
 size of the directory itself, not counting any of its contents.
 * tests/du/inacc-dir: Test for this.
 * NEWS: Mention this change.

Signed-off-by: Jim Meyering <jim@meyering.net>
ChangeLog
NEWS
src/du.c
tests/du/inacc-dir