com php-src: Merge branch 'PHP-7.2' into PHP-7.3: NEWS ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_ module.c

From: Date: Thu, 13 Jun 2019 10:52:32 +0000
Subject: com php-src: Merge branch 'PHP-7.2' into PHP-7.3: NEWS ext/opcache/ZendAccelerator.c ext/opcache/zend_accelerator_ module.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106760@lists.php.net to get a copy of this message
Commit: bada2049ca4404ffb12ad5a009de23f638c2bfda Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 13 Jun 2019 12:52:22 +0200 Parents: ee137a703372e92583e9dfb6e2f3a9d66ebde556 f1a81380554070d7f4b0c6dcd1202364ebf3d252 Branches: PHP-7.3 PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bada2049ca4404ffb12ad5a009de23f638c2bfda Log: Merge branch 'PHP-7.2' into PHP-7.3 Changed paths: MM NEWS MM ext/opcache/ZendAccelerator.c MM ext/opcache/zend_accelerator_module.c Diff: diff --cc NEWS index 447f6eb,e072754..2fe64f4 --- a/NEWS +++ b/NEWS @@@ -1,9 -1,12 +1,12 @@@ PHP NEWS ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| -?? ??? 2019, PHP 7.2.21 +?? ??? ????, PHP 7.3.8 + - Opcache: + . Fixed bug #78106 (Path resolution fails if opcache disabled during request). + (Nikita) -27 Jun 2019, PHP 7.2.20 +27 Jun 2019, PHP 7.3.7 - Core: . Fixed bug #76980 (Interface gets skipped if autoloader throws an exception). diff --cc ext/opcache/ZendAccelerator.c index 291cb82,0d28e9d..d3d72ff --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@@ -2358,9 -2212,8 +2358,8 @@@ static void accel_activate(void if (ZCG(root_hash) != buf.st_ino) { zend_string *key = zend_string_init("opcache.enable", sizeof("opcache.enable")-1, 0); zend_alter_ini_entry_chars(key, "0", 1, ZEND_INI_SYSTEM, ZEND_INI_STAGE_RUNTIME); - zend_string_release(key); + zend_string_release_ex(key, 0); zend_accel_error(ACCEL_LOG_WARNING, "Can't cache files in chroot() directory with too big inode"); - ZCG(accelerator_enabled) = 0; return; } }

« previous php.cvs (#106760) next »