summaryrefslogtreecommitdiffstats
path: root/php-bug80682.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-02-16 15:02:02 +0100
committerRemi Collet <remi@remirepo.net>2021-02-16 15:02:02 +0100
commit27d5e305ac407fa566dee20ad0328c8a72052c92 (patch)
treea78b65b06b09829fa0123536be4fe58b761af7ff /php-bug80682.patch
parent2751ea97f89f06312671425d833ff1a529eb92fb (diff)
update to 7.4.16RC1
Diffstat (limited to 'php-bug80682.patch')
-rw-r--r--php-bug80682.patch30
1 files changed, 0 insertions, 30 deletions
diff --git a/php-bug80682.patch b/php-bug80682.patch
deleted file mode 100644
index 38f908b..0000000
--- a/php-bug80682.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From 067f7e4150d8f9bddf6b198c9c7826565ee549b0 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@php.net>
-Date: Thu, 28 Jan 2021 16:24:39 +0100
-Subject: [PATCH] Fix #80682 opcache doesn't honour pcre.jit option
-
----
- ext/opcache/zend_accelerator_blacklist.c | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/ext/opcache/zend_accelerator_blacklist.c b/ext/opcache/zend_accelerator_blacklist.c
-index 889fcabd7988..5c6bd76821a5 100644
---- a/ext/opcache/zend_accelerator_blacklist.c
-+++ b/ext/opcache/zend_accelerator_blacklist.c
-@@ -185,10 +185,12 @@ static void zend_accel_blacklist_update_regexp(zend_blacklist *blacklist)
- return;
- }
- #ifdef HAVE_PCRE_JIT_SUPPORT
-- if (0 > pcre2_jit_compile(it->re, PCRE2_JIT_COMPLETE)) {
-- /* Don't return here, even JIT could fail to compile, the pattern is still usable. */
-- pcre2_get_error_message(errnumber, pcre_error, sizeof(pcre_error));
-- zend_accel_error(ACCEL_LOG_WARNING, "Blacklist JIT compilation failed, %s\n", pcre_error);
-+ if (PCRE_G(jit)) {
-+ if (0 > pcre2_jit_compile(it->re, PCRE2_JIT_COMPLETE)) {
-+ /* Don't return here, even JIT could fail to compile, the pattern is still usable. */
-+ pcre2_get_error_message(errnumber, pcre_error, sizeof(pcre_error));
-+ zend_accel_error(ACCEL_LOG_WARNING, "Blacklist JIT compilation failed, %s\n", pcre_error);
-+ }
- }
- #endif
- /* prepare for the next iteration */