summaryrefslogtreecommitdiffstats
path: root/7bed3124e797dcfcb9e2e6c2b30c3e289ac5eff4.patch
diff options
context:
space:
mode:
Diffstat (limited to '7bed3124e797dcfcb9e2e6c2b30c3e289ac5eff4.patch')
-rw-r--r--7bed3124e797dcfcb9e2e6c2b30c3e289ac5eff4.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/7bed3124e797dcfcb9e2e6c2b30c3e289ac5eff4.patch b/7bed3124e797dcfcb9e2e6c2b30c3e289ac5eff4.patch
deleted file mode 100644
index 7445fa5..0000000
--- a/7bed3124e797dcfcb9e2e6c2b30c3e289ac5eff4.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 7bed3124e797dcfcb9e2e6c2b30c3e289ac5eff4 Mon Sep 17 00:00:00 2001
-From: Andy Postnikov <apostnikov@gmail.com>
-Date: Sat, 11 Jul 2020 22:51:04 +0300
-Subject: [PATCH] Replace usage call_user_function_ex() with
- call_user_function()
-
----
- src/php7/igbinary.c | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/src/php7/igbinary.c b/src/php7/igbinary.c
-index c76b12a..775f585 100644
---- a/src/php7/igbinary.c
-+++ b/src/php7/igbinary.c
-@@ -542,7 +542,7 @@ static int igbinary_finish_deferred_calls(struct igbinary_unserialize_data *igsd
- zval retval; /* return value of __wakeup */
- zval rval;
- ZVAL_OBJ(&rval, obj);
-- if (UNEXPECTED(call_user_function_ex(CG(function_table), &rval, &wakeup_name, &retval, 0, 0, 1, NULL) == FAILURE || Z_ISUNDEF(retval))) {
-+ if (UNEXPECTED(call_user_function(CG(function_table), &rval, &wakeup_name, &retval, 0, 0) == FAILURE || Z_ISUNDEF(retval))) {
- delayed_call_failed = 1;
- GC_ADD_FLAGS(obj, IS_OBJ_DESTRUCTOR_CALLED);
- }
-@@ -1727,7 +1727,7 @@ inline static int igbinary_serialize_object(struct igbinary_serialize_data *igsd
-
- ZVAL_UNDEF(&h);
- /* calling z->__sleep */
-- r = call_user_function_ex(CG(function_table), z, &f, &h, 0, 0, 1, NULL);
-+ r = call_user_function(CG(function_table), z, &f, &h, 0, 0);
-
- zval_dtor(&f);
-
-@@ -2693,7 +2693,7 @@ inline static int igbinary_unserialize_object(struct igbinary_unserialize_data *
- /* FIXME: Release arg[0] */
- /* FIXME: Release class_name */
- ZVAL_STR_COPY(&args[0], class_name);
-- if (call_user_function_ex(CG(function_table), NULL, &user_func, &retval, 1, args, 0, NULL) != SUCCESS) {
-+ if (call_user_function(CG(function_table), NULL, &user_func, &retval, 1, args) != SUCCESS) {
- php_error_docref(NULL, E_WARNING, "defined (%s) but not found", ZSTR_VAL(class_name));
- incomplete_class = 1;
- ce = PHP_IC_ENTRY;