rrichards Fri Jul 25 12:40:23 2008 UTC
Modified files:
/php-src/ext/intl/locale locale_methods.c
Log:
fix zts build
http://cvs.php.net/viewvc.cgi/php-src/ext/intl/locale/locale_methods.c?r1=1.4&r2=1.5&diff_format=u
Index: php-src/ext/intl/locale/locale_methods.c
diff -u php-src/ext/intl/locale/locale_methods.c:1.4
php-src/ext/intl/locale/locale_methods.c:1.5
--- php-src/ext/intl/locale/locale_methods.c:1.4 Wed Jul 23 20:22:28 2008
+++ php-src/ext/intl/locale/locale_methods.c Fri Jul 25 12:40:23 2008
@@ -815,7 +815,7 @@
* returns 1 if successful , -1 if not found ,
* 0 if array element is not a string , -2 if buffer-overflow
*/
-static int append_multiple_key_values(smart_str* loc_name, HashTable*
hash_arr, char* key_name)
+static int append_multiple_key_values(smart_str* loc_name, HashTable*
hash_arr, char* key_name TSRMLS_DC)
{
zval** ele_value = NULL;
int i = 0;
@@ -977,7 +977,7 @@
}
//Extlang
- result = append_multiple_key_values(loc_name, hash_arr ,
LOC_EXTLANG_TAG);
+ result = append_multiple_key_values(loc_name, hash_arr ,
LOC_EXTLANG_TAG TSRMLS_CC);
if( !handleAppendResult( result, loc_name TSRMLS_CC)){
RETURN_FALSE;
}
@@ -995,13 +995,13 @@
}
//Variant
- result = append_multiple_key_values( loc_name, hash_arr ,
LOC_VARIANT_TAG);
+ result = append_multiple_key_values( loc_name, hash_arr ,
LOC_VARIANT_TAG TSRMLS_CC);
if( !handleAppendResult( result, loc_name TSRMLS_CC)){
RETURN_FALSE;
}
//Private
- result = append_multiple_key_values( loc_name, hash_arr ,
LOC_PRIVATE_TAG);
+ result = append_multiple_key_values( loc_name, hash_arr ,
LOC_PRIVATE_TAG TSRMLS_CC);
if( !handleAppendResult( result, loc_name TSRMLS_CC)){
RETURN_FALSE;
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php