diff options
Diffstat (limited to 'app-shells/tcsh/files/tcsh-6.14.00-debian-dircolors.patch')
-rw-r--r-- | app-shells/tcsh/files/tcsh-6.14.00-debian-dircolors.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/app-shells/tcsh/files/tcsh-6.14.00-debian-dircolors.patch b/app-shells/tcsh/files/tcsh-6.14.00-debian-dircolors.patch new file mode 100644 index 000000000000..194d478c403f --- /dev/null +++ b/app-shells/tcsh/files/tcsh-6.14.00-debian-dircolors.patch @@ -0,0 +1,19 @@ +--- tcsh-6.14.00/tw.color.c ++++ tcsh-6.14.00/tw.color.c +@@ -235,13 +235,10 @@ + if ((Char)variables[i].variable[0] == (v[0] & CHAR) && + (Char)variables[i].variable[1] == (v[1] & CHAR)) + break; +- if (i < nvariables) { +- v += 3; ++ v += 3; ++ if (i < nvariables) + getstring(&c, &v, &variables[i].color, ':'); +- continue; +- } +- else +- stderror(ERR_BADCOLORVAR, v[0], v[1]); ++ continue; + } + break; + } |