[Pkg-mc-commits] r125 - trunk/debian/patches

winnie at alioth.debian.org winnie at alioth.debian.org
Thu Mar 6 08:43:48 UTC 2008


Author: winnie
Date: 2008-03-06 08:43:47 +0000 (Thu, 06 Mar 2008)
New Revision: 125

Modified:
   trunk/debian/patches/61_escaping.patch
Log:
Add some more things to escape


Modified: trunk/debian/patches/61_escaping.patch
===================================================================
--- trunk/debian/patches/61_escaping.patch	2008-03-06 08:31:50 UTC (rev 124)
+++ trunk/debian/patches/61_escaping.patch	2008-03-06 08:43:47 UTC (rev 125)
@@ -20,7 +20,7 @@
 +			j = j + 20;
 +			local = g_realloc(local,j);
 +		}
-+		if ( (strchr(" \t*|;<>~#()-+?",in[i])) && ( strchr("\\",in[i-1])) ) {
++		if ( (strchr(" \t*|;<>~#()?[]{}&",in[i])) && ( strchr("\\",in[i-1])) ) {
 +			k++;
 +			local[i-k] = in[i];
 +		} else {
@@ -48,7 +48,7 @@
 +			j = j + 20;
 +			local = g_realloc(local,j);
 +		}
-+		if ( (strchr(" \t*|;<>~#()-+?",in[i])) && (! strchr("\\",in[i-1])) ) {
++		if ( (strchr(" \t*|;<>~#()?[]{}&",in[i])) && (! strchr("\\",in[i-1])) ) {
 +			local[i+k] = 92; // Ascii for "\"
 +			k = k+1;
 +			local[i+k] = in[i];




More information about the Pkg-mc-commits mailing list