diff options
author | Jim Meyering <jim@meyering.net> | 2004-12-02 07:47:14 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2004-12-02 07:47:14 +0000 |
commit | d6fed8d35eb4a5d55c79dbe8539a2d123b8b8d62 (patch) | |
tree | 33bba4d1b7570d1915c0813c18690cce50d7e172 /lib | |
parent | a7c9d8dae80b5801f3553a89e16ad53a924cc5a1 (diff) | |
download | coreutils-d6fed8d35eb4a5d55c79dbe8539a2d123b8b8d62.tar.xz |
With using --color and with LS_COLORS saying not to color
executables, don't stat every file.
(is_colored): New function.
(gobble_file): Use it.
(main): Use it here, in place of too-strict tests against NULL:
if either ORPHAN or MISSING was set to 0 from LS_COLORS, the
old test would fail.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions