HardenedBSD/bin/ls
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
..
cmp.c
extern.h
ls.1 Punctuation. 2004-05-16 21:34:49 +00:00
ls.c If we are asked to print the total number of blocks, do so even if we 2004-06-08 09:30:10 +00:00
ls.h
Makefile Use humanize_number(3). 2004-05-25 14:53:47 +00:00
print.c Remove from the printfns the assumption that dp->list != NULL. Even 2004-06-08 09:27:42 +00:00
util.c