summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorKamil Dudka <kdudka@redhat.com>2008-08-01 19:33:45 +0200
committerJim Meyering <meyering@redhat.com>2008-08-01 22:13:25 +0200
commit84f6abfe00b4ab533145623638b417a2221f9c75 (patch)
tree8fe27700e521e70a538ba114ccc86f984c8cb3c8 /NEWS
parent00c6aacf318a6ef0db4895b08d572d924eab90d0 (diff)
downloadcoreutils-84f6abfe00b4ab533145623638b417a2221f9c75.tar.xz
ls: --color now highlights files with capabilities, too
* src/ls.c: [HAVE_CAP] Include <sys/capability.h>. (has_capability): New function for capability detection. (print_color_indicator): Colorize file with capability. * m4/jm-macro.m4: New configure option: --disable-libcap. Check for libcap usability. * src/Makefile.am (dir_LDADD, ls_LDADD, ...): Append $(LIB_CAP). * src/dircolors.c: Update color lists. * src/dircolors.hin: Mention new CAPABILITY color attribute. * tests/ls/capability: Test for ls - colorize file with capability. * tests/Makefile.am (root_tests): Add ls/capability. * NEWS: Mention the change.
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index bcbabb1a2..dfe893c75 100644
--- a/NEWS
+++ b/NEWS
@@ -34,6 +34,8 @@ GNU coreutils NEWS -*- outline -*-
represents the maximum number of inputs that will be merged at once.
When processing more than NMERGE inputs, sort uses temporary files.
+ ls now colorizes files with capabilities if libcap is available
+
** Bug fixes
chcon --verbose now prints a newline after each message