andrei Wed Mar 29 05:56:06 2006 UTC Modified files: /php-src/ext/standard string.c Log: Bug! http://cvs.php.net/viewcvs.cgi/php-src/ext/standard/string.c?r1=1.536&r2=1.537&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.536 php-src/ext/standard/string.c:1.537 --- php-src/ext/standard/string.c:1.536 Mon Mar 27 23:05:38 2006 +++ php-src/ext/standard/string.c Wed Mar 29 05:56:06 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.536 2006/03/27 23:05:38 andrei Exp $ */ +/* $Id: string.c,v 1.537 2006/03/29 05:56:06 andrei Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -702,6 +702,10 @@ UChar ch,wh; int32_t start = 0, end = len; + /* + * UTODO + * fix trim("a") results in "" + */ if ( what ) { what = eustrndup(what, what_len); php_expand_u_trim_range(&what, &what_len TSRMLS_CC);
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php