packages (PHP_5_2): php/php.spec - xml bug stopper

glen glen at pld-linux.org
Wed Apr 14 10:24:01 CEST 2010


Author: glen                         Date: Wed Apr 14 08:24:01 2010 GMT
Module: packages                      Tag: PHP_5_2
---- Log message:
- xml bug stopper

---- Files affected:
packages/php:
   php.spec (1.805.2.58 -> 1.805.2.59) 

---- Diffs:

================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.805.2.58 packages/php/php.spec:1.805.2.59
--- packages/php/php.spec:1.805.2.58	Tue Apr 13 08:26:05 2010
+++ packages/php/php.spec	Wed Apr 14 10:23:56 2010
@@ -2110,6 +2110,9 @@
 %{__make} sapi/cli/php -f Makefile.cli
 [ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1
 
+# check for stupid xml parse breakage where &lt; and &gt; just get lost in parse result
+./sapi/cli/php -n -dextension_dir=modules -dextension=xml.so -r '$p = xml_parser_create(); xml_parse_into_struct($p, "<x>&lt;</x>", $vals, $index); exit(empty($vals[0]["value"]));'
+
 # Generate stub .ini files for each extension
 rm -rf conf.d
 install -d conf.d
@@ -3097,6 +3100,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.805.2.59  2010/04/14 08:23:56  glen
+- xml bug stopper
+
 Revision 1.805.2.58  2010/04/13 06:26:05  arekm
 - rel 10; accept minus sign in dns names when validating url
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.805.2.58&r2=1.805.2.59&f=u



More information about the pld-cvs-commit mailing list