[Pkg-mc-commits] r107 - branch/new-utf8/debian/patches
winnie at alioth.debian.org
winnie at alioth.debian.org
Wed Feb 27 18:20:43 UTC 2008
Author: winnie
Date: 2008-02-27 18:20:42 +0000 (Wed, 27 Feb 2008)
New Revision: 107
Modified:
branch/new-utf8/debian/patches/33_escaping.patch
Log:
Add two more symbols which should be escaped
Modified: branch/new-utf8/debian/patches/33_escaping.patch
===================================================================
--- branch/new-utf8/debian/patches/33_escaping.patch 2008-02-27 18:16:40 UTC (rev 106)
+++ branch/new-utf8/debian/patches/33_escaping.patch 2008-02-27 18:20:42 UTC (rev 107)
@@ -112,7 +112,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 {
@@ -140,7 +140,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