com php-src: limit virtual_cwd_activate() duplicated call to ZTS only: Zend/zend.c
| From: | Anatol Belski | Date: | Sat, 02 Nov 2013 12:32:31 +0000 |
| Subject: | com php-src: limit virtual_cwd_activate() duplicated call to ZTS only: Zend/zend.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-73863@lists.php.net to get a copy of this message | ||
Commit: 699f07ba446c931af9480aba29a601df25c9490d
Author: Anatol Belski <ab@php.net> Sat, 2 Nov 2013 13:32:31 +0100
Parents: 9df78bf9fd18d82c6c5b4ce288d6d920a3a20676
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=699f07ba446c931af9480aba29a601df25c9490d
Log:
limit virtual_cwd_activate() duplicated call to ZTS only
Changed paths:
M Zend/zend.c
Diff:
diff --git a/Zend/zend.c b/Zend/zend.c
index b98d264..a5ed953 100644
--- a/Zend/zend.c
+++ b/Zend/zend.c
@@ -921,7 +921,9 @@ ZEND_API char *get_zend_version(void) /* {{{ */
void zend_activate(TSRMLS_D) /* {{{ */
{
+#ifdef ZTS
virtual_cwd_activate(TSRMLS_C);
+#endif
gc_reset(TSRMLS_C);
init_compiler(TSRMLS_C);
init_executor(TSRMLS_C);