On Sat, Oct 03, 2020 at 09:21:21AM -0600, Todd C. Miller wrote:
> This is adapted from FreeBSD revs 130236 and 130237 which have the
> following log message:
> 
>     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.
> 
> I've verified that both historic AT&T ls and GNU ls behave this
> way.
OK kn

Reply via email to