]> git.ipfire.org Git - thirdparty/coreutils.git/commit
ls: ignore case when coloring file extensions
authorKaxandra Labat <kaxandra.labat@gmail.com>
Sun, 17 Jun 2018 03:45:33 +0000 (20:45 -0700)
committerPádraig Brady <P@draigBrady.com>
Thu, 21 Jun 2018 04:02:30 +0000 (21:02 -0700)
commit24053fbd8f9bd3639e5afd88d97d7b4bd35f61f5
tree8bf18706f8330f7217e504a560fcc0dbb733ff21
parentc744c65f50e03846e037361d613a5d2b2e334b61
ls: ignore case when coloring file extensions

* src/ls.c (get_color_indicator): s/STREQ_LEN/c_strncasecmp/
* src/dircolors.hin: Remove a now redundant entry.
* tests/ls/color-ext.sh: Add a new test.
* tests/local.mk: Reference the new test.
* NEWS: Mention the change in behavior.
NEWS
src/dircolors.hin
src/ls.c
tests/local.mk
tests/ls/color-ext.sh [new file with mode: 0755]