com php-src: ZTS fix introduced by Felipe must also go into 5.3: ext/intl/msgformat/msgformat_class.c
| From: | Anatoliy Belsky | Date: | Thu, 23 Aug 2012 11:32:06 +0000 |
| Subject: | com php-src: ZTS fix introduced by Felipe must also go into 5.3: ext/intl/msgformat/msgformat_class.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69942@lists.php.net to get a copy of this message | ||
Commit: eca4fc69918c856966298435bd1133e55a3c8e58
Author: Anatoliy Belsky <ab@php.net> Thu, 23 Aug 2012 13:32:06 +0200
Parents: 6a8db0c0815b0458a8db3b213487198cc5288875
Branches: PHP-5.3 PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eca4fc69918c856966298435bd1133e55a3c8e58
Log:
ZTS fix introduced by Felipe must also go into 5.3
Changed paths:
M ext/intl/msgformat/msgformat_class.c
Diff:
diff --git a/ext/intl/msgformat/msgformat_class.c b/ext/intl/msgformat/msgformat_class.c
index 9cccef2..36d06d2 100644
--- a/ext/intl/msgformat/msgformat_class.c
+++ b/ext/intl/msgformat/msgformat_class.c
@@ -96,10 +96,10 @@ zend_object_value MessageFormatter_object_clone(zval *object TSRMLS_DC)
if (U_FAILURE(INTL_DATA_ERROR_CODE(mfo))) {
intl_errors_set(INTL_DATA_ERROR_P(mfo), INTL_DATA_ERROR_CODE(mfo),
"Failed to clone MessageFormatter object", 0 TSRMLS_CC);
- zend_throw_exception_ex(NULL, 0, "Failed to clone MessageFormatter object");
+ zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Failed to clone MessageFormatter object");
}
} else {
- zend_throw_exception_ex(NULL, 0, "Cannot clone unconstructed MessageFormatter");
+ zend_throw_exception_ex(NULL, 0 TSRMLS_CC, "Cannot clone unconstructed
MessageFormatter");
}
return new_obj_val;
}