git: sys/boot/common: Simpler fix for "ls -l", which also works on cd9660 fs.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Mon Feb 22 13:13:10 PST 2016


commit a79c616a3bc5d4aa395e6dc4e86182fbec87c49f
Author: Imre Vadász <imre at vdsz.com>
Date:   Mon Feb 22 22:03:15 2016 +0100

    sys/boot/common: Simpler fix for "ls -l", which also works on cd9660 fs.
    
    * Blindly using "." as path instead of "" when no explicit path is given
      for ls, doesn't work on the cd9660 filesystem at the moment.
    
    * Just omitting the "/" at the beginning of the buffer, when building the
      path for calling rel_stat() seems better.

Summary of changes:
 sys/boot/common/ls.c | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a79c616a3bc5d4aa395e6dc4e86182fbec87c49f


-- 
DragonFly BSD source repository



More information about the Commits mailing list