freebsd-skq/bin/df
Bruce Evans 0e7d023f34 Fixed exit code in previous commit. "var++" to set a flag to nonzero
is a style bug at best.  When the variable isn't a flag, it potentially
overflows after a large number of settings.  Here the number of settings
is limited by ARG_MAX, but the variable is the exit code so it became
bogus after the second setting and effectively overflowed to 0 after
approx. 128 settings.

Fixed some style bugs involving comments in and near previous commit.

Clarification of previous commit message: df -t didn't give undefined
behaviour, and the behaviour used to conform perfectly with the man
page, since the buggy behaviour is documented in the BUGS section.  -t
just worked when no files or file systems were specified, and was just
ignored if a file or file system was specified.
2003-06-03 11:54:42 +00:00
..
df.1 df(1) and ls(1) print units in 'four or fewer' not 'three or less'. 2003-05-06 21:54:46 +00:00
df.c Fixed exit code in previous commit. "var++" to set a flag to nonzero 2003-06-03 11:54:42 +00:00
Makefile Remove the private code for reading UFS superblocks, this does not belong 2002-05-12 19:24:09 +00:00