Commit 29ae351c authored by Lucas Nussbaum's avatar Lucas Nussbaum

Re-add 12_unknown_lscolors.patch. Closes segfault when removed. Closes: #592089.

parent 7b2cd8c7
tcsh (6.17.02-3) unstable; urgency=low
* Re-add 12_unknown_lscolors.patch. Closes segfault when removed.
Closes: #592089.
-- Lucas Nussbaum <lucas@lucas-nussbaum.net> Sat, 07 Aug 2010 10:08:06 -0400
tcsh (6.17.02-2) unstable; urgency=low
* Set $COLUMNS and $LINES in csh.{cshrc,login}. Closes: #580498. LP: #546032
......
Author: Franz Pletz <fpletz@franz-pletz.org>
Description: Don't die on unknown LS_COLORS values
Removing the patch causes a segfault when dircolors is set by coreutils' dircolors.
Debian-Bug: #592089
--- a/tw.color.c
+++ b/tw.color.c
@@ -239,13 +239,10 @@ parseLS_COLORS(const Char *value)
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;
}
......@@ -6,3 +6,4 @@ disable-test-notty.patch
disable-test-nice.patch
fix-make-catalogs.patch
disable-lexical.at-31.patch
12_unknown_lscolors.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment