* NEWS: Mention that df exits with nonzero status if it generates
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Aug 2006 23:41:24 +0000 (23:41 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 15 Aug 2006 23:41:24 +0000 (23:41 +0000)
commit9e2b97bf352ad1a04ee6c28e2cd2668b63bfec84
tree308cea2257cc1665e4fc5e2d33f93a7a78cd1c1d
parent5ce0b45a43fc2de8862a439b6e6281fdd55e27ed
* NEWS: Mention that df exits with nonzero status if it generates
no output.  This change was in 6.0 but inadvertently unmentioned.
* doc/coreutils.texi (df invocation): df exits nonzero if it outpus
nothing.
* src/df.c (file_systems_processed): Renamed from n_valid_args, and now
a boolean.
(show_dev): Don't set it until we actually output something.
Print the header if this is the first output.
(main): Don't print a header, as that is now show_dev's job.
* tests/misc/Makefile.am (TESTS): Add df.
* tests/misc/df: New file.
ChangeLog
NEWS
doc/ChangeLog
doc/coreutils.texi
src/df.c
tests/misc/Makefile.am
tests/misc/df [new file with mode: 0755]