davidc Sat Jan 19 19:47:41 2008 UTC Modified files: /php-src/ext/standard string.c Log: - Wrong icu call, now using u_strToLower correctly http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.663&r2=1.664&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.663 php-src/ext/standard/string.c:1.664 --- php-src/ext/standard/string.c:1.663 Sat Jan 19 19:23:25 2008 +++ php-src/ext/standard/string.c Sat Jan 19 19:47:41 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.663 2008/01/19 19:23:25 davidc Exp $ */ +/* $Id: string.c,v 1.664 2008/01/19 19:47:41 davidc Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -3866,7 +3866,7 @@ UErrorCode status = U_ZERO_ERROR; U16_FWD_1(ustr, pos, ustr_len); - tmp_len = u_strToUpper(tmp, sizeof(tmp)/sizeof(UChar), ustr, pos, UG(default_locale), &status); + tmp_len = u_strToLower(tmp, sizeof(tmp)/sizeof(UChar), ustr, pos, UG(default_locale), &status); Z_USTRVAL_P(return_value) = eumalloc(tmp_len + ustr_len - pos+1);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php