Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37905822
en ru br
ALT Linux repos
S:6.20.00-alt4
5.0: 6.16.00-alt1
4.1: 6.16.00-alt0.M41.1
4.0: 6.14.00-alt2
3.0: 6.14.00-alt1

Group :: Shells
RPM: tcsh

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: tcsh-6.14.00-unknown_lscolors.patch
Download


Don't die on unknown LS_COLORS values
--- tcsh-6.14.00.orig/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;
 	}
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin