summaryrefslogtreecommitdiffstats
path: root/eio-php83.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-09-11 06:33:04 +0200
committerRemi Collet <remi@php.net>2023-09-11 06:33:04 +0200
commitf2320ac9f1f856ea837c167b4d5bfe01c0c57272 (patch)
tree3463b567c37149dbef7fe630d26d9a9aae86e263 /eio-php83.patch
parentf6310198d46dc98ebb4943280d361f1b3ac6b5c9 (diff)
update to 3.1.0
Diffstat (limited to 'eio-php83.patch')
-rw-r--r--eio-php83.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/eio-php83.patch b/eio-php83.patch
deleted file mode 100644
index 522897c..0000000
--- a/eio-php83.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git a/php8/php_eio.c b/php8/php_eio.c
-index e79d10f..c87ca82 100644
---- a/php8/php_eio.c
-+++ b/php8/php_eio.c
-@@ -479,6 +479,10 @@ static void php_eio_custom_execute(eio_req *req)
- ZVAL_NULL(&zarg);
- }
-
-+#ifdef ZEND_CHECK_STACK_LIMIT
-+ zend_call_stack_init();
-+#endif
-+
- zend_call_method(Z_ISUNDEF(pf->obj) ? NULL : Z_OBJ_P(&pf->obj), pf->ce, &pf->func_ptr,
- ZSTR_VAL(pf->func_ptr->common.function_name),
- ZSTR_LEN(pf->func_ptr->common.function_name),
-@@ -863,8 +867,11 @@ static inline void php_eio_init()
- pid_t cur_pid = getpid();
-
- if (php_eio_pid <= 0 || (php_eio_pid > 0 && cur_pid != php_eio_pid)) {
-- /* Uninitialized or forked a process(which needs it's own eio pipe) */
-+#ifdef ZEND_CHECK_STACK_LIMIT
-+ zend_call_stack_init();
-+#endif
-
-+ /* Uninitialized or forked a process(which needs it's own eio pipe) */
- if (php_eio_pipe_new()) {
- php_error_docref(NULL, E_ERROR,
- "Failed creating internal pipe: %s", strerror(errno));