From 243ea6894a4dd4ae685e4691ab547afb2bd0a62c Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 2 Sep 2020 12:10:32 +0200 Subject: more upstream patches --- apcu-upstream.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'apcu-upstream.patch') diff --git a/apcu-upstream.patch b/apcu-upstream.patch index 9170b6a..78c4c65 100644 --- a/apcu-upstream.patch +++ b/apcu-upstream.patch @@ -251,3 +251,23 @@ index 2aede0c..75035a3 100644 $handle = proc_open(addslashes($cmd), $descriptorspec, $pipes, $doc_root, NULL, array("bypass_shell" => true, "suppress_errors" => true)); } else { $cmd = "exec {$php_executable} -n $php_args -t {$doc_root} -S $host:$port"; +From 7a1989e306d78f4bb9276abbad9cf0db35c9d06e Mon Sep 17 00:00:00 2001 +From: Remi Collet +Date: Wed, 2 Sep 2020 12:07:57 +0200 +Subject: [PATCH] fix #399 relax test for PHP 8 + +--- + tests/not_enough_shm.phpt | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +diff --git a/tests/not_enough_shm.phpt b/tests/not_enough_shm.phpt +index 0b5ea1b..acb3c31 100644 +--- a/tests/not_enough_shm.phpt ++++ b/tests/not_enough_shm.phpt +@@ -8,5 +8,4 @@ apc.entries_hint=1000000 + --FILE-- + Irrelevant + --EXPECTF-- +-%A +-Fatal error: Unable to allocate %d bytes of shared memory for cache structures. Either apc.shm_size is too small or apc.entries_hint too large in Unknown on line 0 ++%A: Unable to allocate %d bytes of shared memory for cache structures. Either apc.shm_size is too small or apc.entries_hint too large in Unknown on line 0 -- cgit