com php-src: - Fixed ZTS build: ext/intl/msgformat/msgformat_ class.c
| From: | Felipe Pena | Date: | Wed, 22 Aug 2012 22:39:57 +0000 |
| Subject: | com php-src: - Fixed ZTS build: ext/intl/msgformat/msgformat_ class.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-69932@lists.php.net to get a copy of this message | ||
Commit: b98fc4379f1279a06fa01a90e79f2145d9498be0
Author: Felipe Pena <felipensp@gmail.com> Wed, 22 Aug 2012 19:39:57 -0300
Parents: cd1f45b3be2e630aab32f58770124d38661b518e
Branches: PHP-5.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=b98fc4379f1279a06fa01a90e79f2145d9498be0
Log:
- Fixed ZTS build
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 ead0e5f..da1e1e5 100644
--- a/ext/intl/msgformat/msgformat_class.c
+++ b/ext/intl/msgformat/msgformat_class.c
@@ -97,10 +97,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;
}