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 /travis/compile.sh | |
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 'travis/compile.sh')
0 files changed, 0 insertions, 0 deletions