freebsd-skq/bin
Christian S.J. Peron df464e4361 Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our
current implementation of df(1) is does not properly format the output under
certain conditions. Right now -kP and -Pk are not the same thing. Further,
when we set the BLOCKSIZE environment variable, we use "1k" instead of "1024",
making the header display incorrectly.

To quote the specification:

"When both the -k and -P options are specified, the following header line
 shall be written (in the POSIX locale):

"Filesystem 1024-blocks Used Available Capacity Mounted on\n"

- If -P has been specified, check to make sure that -k has not already been
  specified, if so, simply break instead of clobbering the previous blocksize
- Use 1024 instead of 1k to make the header POSIX compliant

Reported by:	Andriy Gapon
Discussed with:	bde, ru
MFC after:	1 week
2006-09-20 20:55:02 +00:00
..
cat
chflags
chio
chmod
cp - Fix options order. 2006-08-25 09:58:13 +00:00
csh
date Use strlcpy in place of strncpy + setting the last character NUL. To 2006-08-20 06:31:24 +00:00
dd
df Based on The Open Group Base Specifications Issue 6 IEEE Std 1003.1, our 2006-09-20 20:55:02 +00:00
domainname
echo
ed
expr
getfacl Markup fixes. 2006-09-17 17:40:07 +00:00
hostname
kenv
kill
ln
ls Markup fixes. 2006-09-17 17:40:07 +00:00
mkdir
mv
pax Markup fixes. 2006-09-17 17:40:07 +00:00
ps Markup fixes. 2006-09-17 17:40:07 +00:00
pwd
rcp
realpath
rm
rmail
rmdir
setfacl Markup fixes. 2006-09-17 17:40:07 +00:00
sh Markup fixes. 2006-09-17 17:40:07 +00:00
sleep
stty
sync
test
uuidgen
Makefile
Makefile.inc