com php-src: Merge branch 'PHP-7.0' into PHP-7.1: ext/opcache/ZendAccelerator.c ext/opcache/zend_persist_calc .c
| From: | Anatol Belski | Date: | Wed, 18 Oct 2017 14:24:23 +0000 |
| Subject: | com php-src: Merge branch 'PHP-7.0' into PHP-7.1: ext/opcache/ZendAccelerator.c ext/opcache/zend_persist_calc .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-99786@lists.php.net to get a copy of this message | ||
Commit: 53d8775015bbccc50e54c382851f64026c73a2d9
Author: Anatol Belski <ab@php.net> Wed, 18 Oct 2017 16:24:23 +0200
Parents: b9b06c4bdf3535270061efeaf61890300afab4e6 d82805f097564558d94e3062e87b17d6ccae893f
Branches: PHP-7.1 PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=53d8775015bbccc50e54c382851f64026c73a2d9
Log:
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0:
Backport 7ff13badda58b966ff8fbcc61add48bb5b14117b into 7.0+
Changed paths:
MM ext/opcache/ZendAccelerator.c
MM ext/opcache/zend_persist_calc.c
Diff:
diff --cc ext/opcache/zend_persist_calc.c
index d4f1e56,fda2aeb..e6726b8
--- a/ext/opcache/zend_persist_calc.c
+++ b/ext/opcache/zend_persist_calc.c
@@@ -408,11 -398,8 +413,8 @@@ uint zend_accel_script_persist_calc(zen
ADD_DUP_SIZE(new_persistent_script, sizeof(zend_persistent_script));
if (key) {
ADD_DUP_SIZE(key, key_length + 1);
- } else {
- /* script is not going to be saved in SHM */
- new_persistent_script->corrupted = 1;
}
- ADD_STRING(new_persistent_script->full_path);
+ ADD_STRING(new_persistent_script->script.filename);
#ifdef __SSE2__
/* Align size to 64-byte boundary */