diff options
author | Christoph M. Becker <cmbecker69@gmx.de> | 2019-04-26 09:09:22 +0200 |
---|---|---|
committer | Christoph M. Becker <cmbecker69@gmx.de> | 2019-04-26 09:09:22 +0200 |
commit | be74a00464dab7c287045939c01839878e70b5f4 (patch) | |
tree | f8a3965ddca5897eb68c8759d64236729261462e /appveyor | |
parent | 09345d70fd9cde9e8ada6026a044438837ca5c0f (diff) | |
download | php-git-be74a00464dab7c287045939c01839878e70b5f4.tar.gz |
Fix VirtualProtect() related Phar issues
We must not (try to) modify shared values, but rather have to use our
own copies, if unixified filenames are required on Windows. To avoid
excessive string duplication, we add checks whether the filenames are
already unixified (i.e. do not contain backslashes). To improve the
performance if we need to copy strings, we use do_alloca() and friends.
Besides generally being somewhat messy, the handling of unixified
filenames is still suboptimal performance-wise, but we leave this for a
future cleanup, and focus on fixing the issue at hand for now.
We also enable opcache.protect_memory for the AppVeyor CI.
Diffstat (limited to 'appveyor')
-rw-r--r-- | appveyor/test_task.bat | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/appveyor/test_task.bat b/appveyor/test_task.bat index 6bf99ad23e..6588ce193c 100644 --- a/appveyor/test_task.bat +++ b/appveyor/test_task.bat @@ -58,7 +58,7 @@ rem set OPENSSL_CONF= rem set SSLEAY_CONF= rem prepare for Opcache -if "%OPCACHE%" equ "1" set OPCACHE_OPTS=-d opcache.enabled=1 -d opcache.enable_cli=1 +if "%OPCACHE%" equ "1" set OPCACHE_OPTS=-d opcache.enabled=1 -d opcache.enable_cli=1 -d opcache.protect_memory=1 rem prepare for enchant mkdir c:\enchant_plugins |