commit | d827fcace2c605c0114859d77cb9b2b47f37e693 | [log] [tgz] |
---|---|---|
author | Michael Forney <mforney@mforney.org> | Sat May 14 18:56:53 2016 -0700 |
committer | sin <sin@2f30.org> | Sat Jul 09 10:09:50 2016 +0100 |
tree | d5e5c9af4a7dc5879b47b72c367a8c5984531f01 | |
parent | ea03da0bdaa305cb4b32e6b6a5ff0e28b3b2fd19 [diff] |
ls: Simplify some logic - After first iteration, set first to 0 instead of !first. - If Hflag || Lflag, then mkent used stat instead of lstat, so the entity cannot be a symlink. - Print path prefix along with directory name. - In the 'if (Rflag)' block, just use 1 instead of Rflag.