components/libxml2/patches/20.EBCDIC.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Mon, 11 Mar 2013 10:38:09 -0700
branchs11-update
changeset 2520 ceec631e74d1
parent 918 35e4a56e4a26
permissions -rw-r--r--
Close of build 10.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
918
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     1
--- libxml2-2.7.6/encoding.c
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     2
+++ libxml2-2.7.6/encoding.c
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     3
@@ -1460,6 +1460,8 @@
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     4
             if (handler != NULL) return(handler);
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     5
             handler = xmlFindCharEncodingHandler("EBCDIC-US");
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     6
             if (handler != NULL) return(handler);
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     7
+            handler = xmlFindCharEncodingHandler("IBM-037");
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     8
+            if (handler != NULL) return(handler);
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
     9
 	    break;
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    10
         case XML_CHAR_ENCODING_UCS4BE:
35e4a56e4a26 7184322 libxml2 should pass its internal test suite
Petr Sumbera <petr.sumbera@oracle.com>
parents:
diff changeset
    11
             handler = xmlFindCharEncodingHandler("ISO-10646-UCS-4");