summaryrefslogtreecommitdiffstats
path: root/main/php/zend_execute_API.c.patch
diff options
context:
space:
mode:
authorMichael Mason <ms13sp@gmail.com>2010-03-17 17:43:41 +0000
committerMichael Mason <ms13sp@gmail.com>2010-03-17 17:43:41 +0000
commit4b23d4dfa33b09440ffbdfccbd46571649ccecaa (patch)
tree02c3b507f3e038c1e191fa97d59562b468e64b65 /main/php/zend_execute_API.c.patch
parente59a787cc0775b8f7f97d492674a257baef45f6d (diff)
parent192b8fad759488bbe2fea1b43acda638eb6ebe85 (diff)
downloadaports-4b23d4dfa33b09440ffbdfccbd46571649ccecaa.tar.bz2
aports-4b23d4dfa33b09440ffbdfccbd46571649ccecaa.tar.xz
Merge branch 'master' of git://git.alpinelinux.org/aports
Diffstat (limited to 'main/php/zend_execute_API.c.patch')
-rw-r--r--main/php/zend_execute_API.c.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/php/zend_execute_API.c.patch b/main/php/zend_execute_API.c.patch
new file mode 100644
index 000000000..0976a7b39
--- /dev/null
+++ b/main/php/zend_execute_API.c.patch
@@ -0,0 +1,10 @@
+--- PHP_5_3/Zend/zend_execute_API.c 2009/12/18 18:41:53 292294
++++ PHP_5_3/Zend/zend_execute_API.c 2009/12/18 19:12:11 292295
+@@ -838,6 +838,7 @@
+ zval *param;
+
+ if (EX(function_state).function->type == ZEND_INTERNAL_FUNCTION
++ && (EX(function_state).function->common.fn_flags & ZEND_ACC_CALL_VIA_HANDLER) == 0
+ && !ARG_SHOULD_BE_SENT_BY_REF(EX(function_state).function, i + 1)
+ && PZVAL_IS_REF(*fci->params[i])) {
+ SEPARATE_ZVAL(fci->params[i]);