cvs commit: src/bin/ls print.c

Jeroen Ruigrok/asmodai asmodai at in-nomine.org
Mon Sep 19 03:13:05 PDT 2005


-On [20050919 12:10], Jeroen Ruigrok/asmodai (asmodai at xxxxxxxxxxxxxxxxxxxxxxx) wrote:
>  Synchronise with v1.73:
>  
>  Remove from the printfns the assumption that dp->list != NULL.  Even
>  if there are no entries, these functions may be called to print the
>  total number of blocks (0) for consistency's sake.

If you saw coredumps using ls -l in an empty directory, this fixes it.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai / kita no mono
Free Tibet! http://www.savetibet.org/ | http://www.andf.info/
http://www.tendra.org/   | http://www.in-nomine.org/
Hope sees the invisible, feels the intangible and achieves the impossible...





More information about the Commits mailing list