From 967e0c11eaecf01a8596b8b48e8ef8edc85318fd Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sat, 26 Aug 2006 06:46:17 +0000 Subject: "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: . * tests/ls/color-dtype-dir: New file. Test for the above fix. * tests/ls/Makefile.am (TESTS): Add color-dtype-dir. --- tests/ls/Makefile.am | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/ls/Makefile.am') diff --git a/tests/ls/Makefile.am b/tests/ls/Makefile.am index add9988c1..9be242345 100644 --- a/tests/ls/Makefile.am +++ b/tests/ls/Makefile.am @@ -21,6 +21,7 @@ AUTOMAKE_OPTIONS = 1.2 gnits TESTS = \ + color-dtype-dir \ stat-failed \ stat-dtype \ inode dangle file-type recursive dired infloop \ -- cgit v1.2.3-70-g09d2