summaryrefslogtreecommitdiff
path: root/libxml2/libxml2-testapi.patch
blob: 381a30faedcd898009221b3b0225e58efdbe7e72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- misc/libxml2-2.7.6/testapi.c	2009-09-24 23:32:00.000000000 +0800
+++ misc/build/libxml2-2.7.6/testapi.c	2012-05-29 14:17:00.868020600 +0800
@@ -291,7 +291,7 @@
 static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) {
     if (no == 0) return('a');
     if (no == 1) return(' ');
-    if (no == 2) return((xmlChar) '');
+    if (no == 2) return((xmlChar) '\xF8'); /* i93433: replaced '' encoded in ISO-8859-1 with '\xf8' */
     return(0);
 }
 
@@ -399,7 +399,7 @@
 static xmlChar *gen_const_xmlChar_ptr(int no, int nr ATTRIBUTE_UNUSED) {
     if (no == 0) return((xmlChar *) "foo");
     if (no == 1) return((xmlChar *) "<foo/>");
-    if (no == 2) return((xmlChar *) "nne");
+    if (no == 2) return((xmlChar *) "n\xF8ne"); /* i93433: replaced '' encoded in ISO-8859-1 with '\xf8' */
     if (no == 3) return((xmlChar *) " 2ab ");
     return(NULL);
 }