* src/ls.c (print_color_indicator): Test for S_IFREG first, rather
authorJim Meyering <jim@meyering.net>
Wed, 26 Jul 2006 14:06:57 +0000 (14:06 +0000)
committerJim Meyering <jim@meyering.net>
Wed, 26 Jul 2006 14:06:57 +0000 (14:06 +0000)
commitd2c6ae7fbc6c26e45fe33882c673897602afc0d2
tree230eb291643bcf85a84df446d54d8d48ce15b9b9
parent2465b478fd0952f68aaede95f6b2a0e1d0149f74
* src/ls.c (print_color_indicator): Test for S_IFREG first, rather
than having the code test for all of the other types first.
Hoist the set-uid/gid-testing code "up" into this new block.
Classify any other type of file (e.g., S_TYPEISSHM, etc.) as
C_ORPHAN, not as C_FILE.

* doc/coreutils.texi (What information is listed): Mention that missing
pieces of information are marked with "?".  From Paul Eggert.
ChangeLog
doc/ChangeLog
doc/coreutils.texi
src/ls.c