dmitry Fri Mar 3 08:50:25 2006 UTC Modified files: /php-src/ext/standard string.c Log: ZTS fix http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/string.c?r1=1.522&r2=1.523&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.522 php-src/ext/standard/string.c:1.523 --- php-src/ext/standard/string.c:1.522 Thu Mar 2 23:12:33 2006 +++ php-src/ext/standard/string.c Fri Mar 3 08:50:25 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.522 2006/03/02 23:12:33 andrei Exp $ */ +/* $Id: string.c,v 1.523 2006/03/03 08:50:25 dmitry Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -3255,7 +3255,7 @@ /* {{{ php_u_ucfirst() Makes an Unicode string's first character uppercase */ -static void php_u_ucfirst(zval *ustr, zval *return_value) +static void php_u_ucfirst(zval *ustr, zval *return_value TSRMLS_DC) { UChar tmp[3] = { 0,}; /* UChar32 will be converted to upto 2 UChar units ? */ int tmp_len = 0; @@ -3297,7 +3297,7 @@ if (Z_TYPE_PP(str) == IS_UNICODE) { Z_TYPE_P(return_value) = IS_UNICODE; - php_u_ucfirst(*str, return_value); + php_u_ucfirst(*str, return_value TSRMLS_CC); } else { ZVAL_STRINGL(return_value, Z_STRVAL_PP(str), Z_STRLEN_PP(str), 1); *Z_STRVAL_P(return_value) = toupper((unsigned char) *Z_STRVAL_P(return_value)); @@ -3307,7 +3307,7 @@ /* {{{ php_u_ucwords() U Uppercase the first character of every word in an Unicode string */ -static void php_u_ucwords(zval *ustr, zval *retval) +static void php_u_ucwords(zval *ustr, zval *retval TSRMLS_DC) { UChar32 cp = 0; UChar *tmp; @@ -3381,7 +3381,7 @@ if (Z_TYPE_PP(str) == IS_UNICODE) { Z_TYPE_P(return_value) = IS_UNICODE; - php_u_ucwords(*str, return_value); + php_u_ucwords(*str, return_value TSRMLS_CC); } else { ZVAL_STRINGL(return_value, Z_STRVAL_PP(str), Z_STRLEN_PP(str), 1);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php