diff options
author | Dmitry Stogov <dmitry@zend.com> | 2019-03-12 17:35:50 +0300 |
---|---|---|
committer | Dmitry Stogov <dmitry@zend.com> | 2019-03-12 17:35:50 +0300 |
commit | 04b67bac32e5fbc0942a1e15405fa1ca7f0438fe (patch) | |
tree | 2c302e1a5f3389a813955f2cecd75e1b635e485a /sapi/phpdbg/phpdbg.c | |
parent | 7139c381f133eff38e1fcebfa29f35119c8648f4 (diff) | |
download | php-git-04b67bac32e5fbc0942a1e15405fa1ca7f0438fe.tar.gz |
Avoid reinitailization of ZTS cache pointer. Initialize it once in TSRM.c
Diffstat (limited to 'sapi/phpdbg/phpdbg.c')
-rw-r--r-- | sapi/phpdbg/phpdbg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sapi/phpdbg/phpdbg.c b/sapi/phpdbg/phpdbg.c index 4834f8b5cf..11e1fcf574 100644 --- a/sapi/phpdbg/phpdbg.c +++ b/sapi/phpdbg/phpdbg.c @@ -1418,7 +1418,9 @@ phpdbg_main: #ifdef ZTS tsrm_startup(1, 1, 0, NULL); (void)ts_resource(0); +# ifdef PHP_WIN32 ZEND_TSRMLS_CACHE_UPDATE(); +# endif #endif zend_signal_startup(); |