summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.pre-1-105
-rw-r--r--ChangeLog.pre-1-65
-rw-r--r--ChangeLog.pre-1-85
-rw-r--r--pango/querymodules.c5
5 files changed, 24 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index a70810a2..6eff0f05 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-09-15 Tor Lillqvist <tml@iki.fi>
+
+ * pango/querymodules.c (string_needs_escape, escape_string):
+ Escape also backslashes. (#152607, Kazuki Iwamoto)
+
Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.6.0 ===
diff --git a/ChangeLog.pre-1-10 b/ChangeLog.pre-1-10
index a70810a2..6eff0f05 100644
--- a/ChangeLog.pre-1-10
+++ b/ChangeLog.pre-1-10
@@ -1,3 +1,8 @@
+2004-09-15 Tor Lillqvist <tml@iki.fi>
+
+ * pango/querymodules.c (string_needs_escape, escape_string):
+ Escape also backslashes. (#152607, Kazuki Iwamoto)
+
Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.6.0 ===
diff --git a/ChangeLog.pre-1-6 b/ChangeLog.pre-1-6
index a70810a2..6eff0f05 100644
--- a/ChangeLog.pre-1-6
+++ b/ChangeLog.pre-1-6
@@ -1,3 +1,8 @@
+2004-09-15 Tor Lillqvist <tml@iki.fi>
+
+ * pango/querymodules.c (string_needs_escape, escape_string):
+ Escape also backslashes. (#152607, Kazuki Iwamoto)
+
Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.6.0 ===
diff --git a/ChangeLog.pre-1-8 b/ChangeLog.pre-1-8
index a70810a2..6eff0f05 100644
--- a/ChangeLog.pre-1-8
+++ b/ChangeLog.pre-1-8
@@ -1,3 +1,8 @@
+2004-09-15 Tor Lillqvist <tml@iki.fi>
+
+ * pango/querymodules.c (string_needs_escape, escape_string):
+ Escape also backslashes. (#152607, Kazuki Iwamoto)
+
Mon Sep 13 17:38:58 2004 Owen Taylor <otaylor@redhat.com>
* === Released 1.6.0 ===
diff --git a/pango/querymodules.c b/pango/querymodules.c
index 8ea48b7a..557ae7ac 100644
--- a/pango/querymodules.c
+++ b/pango/querymodules.c
@@ -52,7 +52,7 @@ string_needs_escape (const char *str)
if (!c)
return FALSE;
- else if (c == '\"' || g_ascii_isspace (c))
+ else if (c == '\"' || c == '\\' || g_ascii_isspace (c))
return TRUE;
}
}
@@ -76,6 +76,9 @@ escape_string (const char *str)
case '\"':
g_string_append (result, "\\\"");
break;
+ case '\\':
+ g_string_append (result, "\\\\");
+ break;
default:
g_string_append_c (result, c);
}