freebsd-nq/bin
David Schultz 70bad4f75b If we are asked to print the total number of blocks, do so even if we
have no entries to print (either due to an empty directory or an
error).  This makes the -l and -s options more consistent, like
Solaris and (Debian) Linux.  To make this happen, tweak two
optimizations on the second call to display():

- Don't skip display() altogether, even if list == NULL.
- Don't skip the call to the printfn in display() if we
  need to print the total.

PR:	45723
2004-06-08 09:30:10 +00:00
..
cat Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
chflags Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
chio
chmod Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
cp Plug file descriptor leak in implementation of -n option. 2004-06-05 02:32:21 +00:00
csh Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
date DESCRIPTION was not updated for the new SYNOPSIS. 2004-05-16 21:33:48 +00:00
dd Bump document date for the latest functional change. 2004-05-16 21:34:15 +00:00
df Convert fsbtoblk() from a macro to a function. The redundant 2004-06-04 09:30:51 +00:00
domainname Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
echo Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
ed Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
expr Get this area compiling with the highest WARNS= that it works with. 2003-06-13 07:04:02 +00:00
getfacl Fixed spelling of the document date. 2004-05-16 21:34:31 +00:00
hostname Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
kenv Various quibbles: 2004-04-28 01:27:36 +00:00
kill Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
ln Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
ls If we are asked to print the total number of blocks, do so even if we 2004-06-08 09:30:10 +00:00
mkdir Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
mv Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
pax Use WARNS?=3 for these in the arm case for now, due to toolchain issues. 2004-05-14 13:31:21 +00:00
ps Try to change the isdigitch() macro to something that Bruce won't roll 2004-06-01 23:27:11 +00:00
pwd Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
rcp Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
realpath Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
rm Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
rmail Remove WFORMAT, style.Makefile(5). 2004-03-22 03:17:36 +00:00
rmdir Added -v to usage(). 2004-05-16 20:41:11 +00:00
setfacl Add additional documentation to setfacl(1) regarding the behavior of 2003-08-07 14:52:17 +00:00
sh Include <stdio.h> for a sprintf() prototype. 2004-05-24 10:11:31 +00:00
sleep Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
stty Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
sync Remove clause 3 from the UCB licenses. 2004-04-06 20:06:54 +00:00
test Remove a duplicated description of the test for the null string. 2004-06-07 12:47:31 +00:00
uuidgen The uuidgen(1) program is WARNS=6 clean, so flag it as such. 2003-12-07 21:34:56 +00:00
Makefile - Build things in pure dictionary order (see sort(1)). 2004-01-16 15:23:19 +00:00
Makefile.inc Force a staticly linked /bin and /sbin for ia64. The necessary changes 2003-11-19 16:59:00 +00:00