View | Details | Raw Unified | Return to issue 93433
Collapse All | Expand All

(-)libxml2/libxml2-2.6.31.patch (+55 lines)
Lines 282-284 Link Here
282
  #define LIBXML_DEBUG_RUNTIME
282
  #define LIBXML_DEBUG_RUNTIME
283
  #endif
283
  #endif
284
  
284
  
285
*** misc/libxml2-2.6.31/runtest.c	Wed Jan  3 22:07:52 2007
286
--- misc/build/libxml2-2.6.31/runtest.c	Thu Feb 19 22:52:33 2009
287
***************
288
*** 2710,2716 ****
289
      "file:///path/to/a%20b.html",
290
      "/path/to/a b.html",
291
      "/path/to/a%20b.html",
292
!     "urip://example.com/résumé.html",
293
      "urip://example.com/test?a=1&b=2%263&c=4#foo",
294
      NULL
295
  };
296
--- 2710,2716 ----
297
      "file:///path/to/a%20b.html",
298
      "/path/to/a b.html",
299
      "/path/to/a%20b.html",
300
!     "urip://example.com/r" "\xe9" "sum" "\xe9" ".html",  /* i93433: replaced 'e' encoded in ISO-8859-1 as in 'resume' with \xe9 */
301
      "urip://example.com/test?a=1&b=2%263&c=4#foo",
302
      NULL
303
  };
304
*** misc/libxml2-2.6.31/testapi.c	Mon May 28 23:08:52 2007
305
--- misc/build/libxml2-2.6.31/testapi.c	Thu Feb 19 22:45:32 2009
306
***************
307
*** 291,297 ****
308
  static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) {
309
      if (no == 0) return('a');
310
      if (no == 1) return(' ');
311
!     if (no == 2) return((xmlChar) 'ø');
312
      return(0);
313
  }
314
  
315
--- 291,297 ----
316
  static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) {
317
      if (no == 0) return('a');
318
      if (no == 1) return(' ');
319
!     if (no == 2) return((xmlChar) '\xf8');  /* i93433: replaced 'ø' encoded in ISO-8859-1 with '\xf8' */
320
      return(0);
321
  }
322
  
323
***************
324
*** 399,405 ****
325
  static xmlChar *gen_const_xmlChar_ptr(int no, int nr ATTRIBUTE_UNUSED) {
326
      if (no == 0) return((xmlChar *) "foo");
327
      if (no == 1) return((xmlChar *) "<foo/>");
328
!     if (no == 2) return((xmlChar *) "nøne");
329
      if (no == 3) return((xmlChar *) " 2ab ");
330
      return(NULL);
331
  }
332
--- 399,405 ----
333
  static xmlChar *gen_const_xmlChar_ptr(int no, int nr ATTRIBUTE_UNUSED) {
334
      if (no == 0) return((xmlChar *) "foo");
335
      if (no == 1) return((xmlChar *) "<foo/>");
336
!     if (no == 2) return((xmlChar *) "n" "\xf8" "ne");  /* i93433: replaced 'ø' encoded in ISO-8859-1 with '\xf8' */
337
      if (no == 3) return((xmlChar *) " 2ab ");
338
      return(NULL);
339
  }

Return to issue 93433