scottmac                Mon Jan 12 13:42:15 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src    NEWS 
    /php-src/ext/xml    compat.c 
  Log:
  MFH This entry doesn't exist upstream any more, it also caused all error 
messages to be one off.
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1389&r2=1.2027.2.547.2.1390&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1389 php-src/NEWS:1.2027.2.547.2.1390
--- php-src/NEWS:1.2027.2.547.2.1389    Sun Jan 11 12:03:43 2009
+++ php-src/NEWS        Mon Jan 12 13:42:15 2009
@@ -14,6 +14,8 @@
   correctly with a non truecolour image. Reported by Hamid Ebadi,
   APA Laboratory (Fixes CVE-2008-5498). (Scott)
 - Fixed a segfault when malformed string is passed to json_decode(). (Scott)
+- Fixed bug in xml_error_string() which resulted in messages being
+  off by one. (Scott)
 
 - Fixed bug #47042 (PHP cgi sapi is removing SCRIPT_FILENAME for non apache).
   (Sriram Natarajan)
http://cvs.php.net/viewvc.cgi/php-src/ext/xml/compat.c?r1=1.44.2.4.2.5&r2=1.44.2.4.2.6&diff_format=u
Index: php-src/ext/xml/compat.c
diff -u php-src/ext/xml/compat.c:1.44.2.4.2.5 
php-src/ext/xml/compat.c:1.44.2.4.2.6
--- php-src/ext/xml/compat.c:1.44.2.4.2.5       Sun Jan 11 12:01:55 2009
+++ php-src/ext/xml/compat.c    Mon Jan 12 13:42:15 2009
@@ -620,7 +620,6 @@
 
 static const XML_Char *const error_mapping[] = {
        "No error",
-       "Internal error",
        "No memory",
        "Invalid document start",
        "Empty document",



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to