aboutsummaryrefslogtreecommitdiffstats
path: root/main/php/zend_execute_API.c.patch
diff options
context:
space:
mode:
authorAndrew Manison <amanison@byrd-vm.localdomain>2010-04-04 11:57:02 -0400
committerAndrew Manison <amanison@byrd-vm.localdomain>2010-04-04 11:57:02 -0400
commit8b35a9ab83a841ab17ead4606f647a3158c274fe (patch)
treec429f54931eb13ba1be1da3542614d6d63fa671b /main/php/zend_execute_API.c.patch
parenta050ffed38a8a17b4b1e7dcb6237800e7881a137 (diff)
parent67eb88bc5458c93a481c692baa0968cf567fc3f2 (diff)
downloadaports-8b35a9ab83a841ab17ead4606f647a3158c274fe.tar.bz2
aports-8b35a9ab83a841ab17ead4606f647a3158c274fe.tar.xz
Merge remote branch 'alpine/master'
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 0000000000..0976a7b391
--- /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]);