]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
maint: update stale comment about ls color sequences
authorJarosław Gruca <jgruca1981@gmail.com>
Wed, 4 Mar 2015 11:44:58 +0000 (11:44 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 4 Mar 2015 11:47:59 +0000 (11:47 +0000)
* src/ls.c (color_indicator[C_END]): Comment with the correct
sequence, which was used since commit v6.10-61-g483297d
Fixes http://bugs.gnu.org/19992

src/ls.c

index 4698520745002656e73539bdd25fb47025a904e5..19522360aaf65bb708269802f5a36bfe25a485a2 100644 (file)
--- a/src/ls.c
+++ b/src/ls.c
@@ -580,7 +580,7 @@ static struct bin_str color_indicator[] =
   {
     { LEN_STR_PAIR ("\033[") },                /* lc: Left of color sequence */
     { LEN_STR_PAIR ("m") },            /* rc: Right of color sequence */
-    { 0, NULL },                       /* ec: End color (replaces lc+no+rc) */
+    { 0, NULL },                       /* ec: End color (replaces lc+rs+rc) */
     { LEN_STR_PAIR ("0") },            /* rs: Reset to ordinary colors */
     { 0, NULL },                       /* no: Normal */
     { 0, NULL },                       /* fi: File: default */