diff options
author | Jim Meyering <jim@meyering.net> | 2006-08-26 06:46:17 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2006-08-26 06:46:17 +0000 |
commit | 967e0c11eaecf01a8596b8b48e8ef8edc85318fd (patch) | |
tree | a2a82cd27535db0155b670dda7c96133d0d2fe6e /lib | |
parent | 0d41cd8f2927d896f373fb6076c2508c9284a978 (diff) | |
download | coreutils-967e0c11eaecf01a8596b8b48e8ef8edc85318fd.tar.xz |
"ls --color" would highlight other-writable and sticky directories
no differently than regular directories on a file system with
dirent.d_type support.
* NEWS: Say the above.
* src/ls.c (gobble_file): With --color, also stat the file when
we know it is a directory.
Derived from an anonymous one-line fix and bug report:
<https://savannah.gnu.org/bugs/?15043>.
* tests/ls/color-dtype-dir: New file. Test for the above fix.
* tests/ls/Makefile.am (TESTS): Add color-dtype-dir.
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions