packages (PHP_5_2): php/php.spec - resolve ambiguity of exit()/die() aliase...
glen
glen at pld-linux.org
Wed Apr 14 11:14:52 CEST 2010
Author: glen Date: Wed Apr 14 09:14:52 2010 GMT
Module: packages Tag: PHP_5_2
---- Log message:
- resolve ambiguity of exit()/die() aliases, we want exit code not exit message
---- Files affected:
packages/php:
php.spec (1.805.2.59 -> 1.805.2.60)
---- Diffs:
================================================================
Index: packages/php/php.spec
diff -u packages/php/php.spec:1.805.2.59 packages/php/php.spec:1.805.2.60
--- packages/php/php.spec:1.805.2.59 Wed Apr 14 10:23:56 2010
+++ packages/php/php.spec Wed Apr 14 11:14:46 2010
@@ -2111,7 +2111,7 @@
[ "$(echo '<?=php_sapi_name();' | ./sapi/cli/php -n)" = cli ] || exit 1
# check for stupid xml parse breakage where < and > 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><</x>", $vals, $index); exit(empty($vals[0]["value"]));'
+./sapi/cli/php -n -dextension_dir=modules -dextension=xml.so -r '$p = xml_parser_create(); xml_parse_into_struct($p, "<x><</x>", $vals, $index); exit((int )empty($vals[0]["value"]));'
# Generate stub .ini files for each extension
rm -rf conf.d
@@ -3100,6 +3100,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.805.2.60 2010/04/14 09:14:46 glen
+- resolve ambiguity of exit()/die() aliases, we want exit code not exit message
+
Revision 1.805.2.59 2010/04/14 08:23:56 glen
- xml bug stopper
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php/php.spec?r1=1.805.2.59&r2=1.805.2.60&f=u
More information about the pld-cvs-commit
mailing list