com php-src: Fixed ZTS cache usage: sapi/phpdbg/phpdbg_utils .h
| From: | Dmitry Stogov | Date: | Tue, 12 Mar 2019 12:13:52 +0000 |
| Subject: | com php-src: Fixed ZTS cache usage: sapi/phpdbg/phpdbg_utils .h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105105@lists.php.net to get a copy of this message | ||
Commit: 25d4af9413b478393b9bc92fdb585495d56d8e25
Author: Dmitry Stogov <dmitry@zend.com> Tue, 12 Mar 2019 15:13:52 +0300
Parents: b0d76ed4adce1099d6dd101e6757af6c1d0f6646
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=25d4af9413b478393b9bc92fdb585495d56d8e25
Log:
Fixed ZTS cache usage
Changed paths:
M sapi/phpdbg/phpdbg_utils.h
Diff:
diff --git a/sapi/phpdbg/phpdbg_utils.h b/sapi/phpdbg/phpdbg_utils.h
index 84b1f5c..c212056 100644
--- a/sapi/phpdbg/phpdbg_utils.h
+++ b/sapi/phpdbg/phpdbg_utils.h
@@ -111,7 +111,7 @@ static zend_always_inline zend_execute_data *phpdbg_user_execute_data(zend_execu
#define PHPDBG_OUTPUT_BACKUP_DEFINES() \
zend_output_globals *output_globals_ptr; \
zend_output_globals original_output_globals; \
- output_globals_ptr = TSRMG_BULK(output_globals_id, zend_output_globals *);
+ output_globals_ptr = TSRMG_BULK_STATIC(output_globals_id, zend_output_globals *);
#else
#define PHPDBG_OUTPUT_BACKUP_DEFINES() \
zend_output_globals *output_globals_ptr; \