com php-src: Fixed ZTS build: Zend/zend_compile.c
| From: | Dmitry Stogov | Date: | Mon, 14 Jul 2014 11:46:09 +0000 |
| Subject: | com php-src: Fixed ZTS build: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-79459@lists.php.net to get a copy of this message | ||
Commit: bcc677789c1832916af77994059873a30d145a72
Author: Dmitry Stogov <dmitry@zend.com> Mon, 14 Jul 2014 15:46:09 +0400
Parents: af7cb1690781cb05cb25b2a30ee4e6d446d0e660
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bcc677789c1832916af77994059873a30d145a72
Log:
Fixed ZTS build
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index dadace0..a4a9e8a 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -2821,7 +2821,7 @@ static int zend_do_convert_defined(zend_op *init_opline, znode *result
TSRMLS_DC
lc_name = STR_ALLOC(Z_STRLEN(CONSTANT(opline->op1.constant)), 0);
zend_str_tolower_copy(lc_name->val, Z_STRVAL(CONSTANT(opline->op1.constant)),
Z_STRLEN(CONSTANT(opline->op1.constant)));
ZVAL_NEW_STR(&c, lc_name);
- zend_add_literal(CG(active_op_array), &c);
+ zend_add_literal(CG(active_op_array), &c TSRMLS_CC);
opline->result.var = get_temporary_variable(CG(active_op_array));
opline->result_type = IS_TMP_VAR;
GET_NODE(result, opline->result);