tony2001 Wed Jan 16 08:35:59 2008 UTC Modified files: (Branch: PHP_5_2) /php-src NEWS /php-src/ext/standard string.c Log: MFH: fix #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251) patch by phprus at gmail dot com http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1054&r2=1.2027.2.547.2.1055&diff_format=u Index: php-src/NEWS diff -u php-src/NEWS:1.2027.2.547.2.1054 php-src/NEWS:1.2027.2.547.2.1055 --- php-src/NEWS:1.2027.2.547.2.1054 Mon Jan 14 09:46:54 2008 +++ php-src/NEWS Wed Jan 16 08:35:58 2008 @@ -10,6 +10,8 @@ - Fixed faulty fix for bug #40189 (endless loop in zlib.inflate stream filter) (Greg) +- Fixed bug #43863 (str_word_count() breaks on cyrillic "ya" in locale cp1251). + (phprus at gmail dot com, Tony) - Fixed bug #43793 (zlib filter is unable to auto-detect gzip/zlib file headers). (Greg) - Fixed bug #43703 (Signature compatibility check broken). (Dmitry) http://cvs.php.net/viewvc.cgi/php-src/ext/standard/string.c?r1=1.445.2.14.2.72&r2=1.445.2.14.2.73&diff_format=u Index: php-src/ext/standard/string.c diff -u php-src/ext/standard/string.c:1.445.2.14.2.72 php-src/ext/standard/string.c:1.445.2.14.2.73 --- php-src/ext/standard/string.c:1.445.2.14.2.72 Mon Dec 31 07:20:13 2007 +++ php-src/ext/standard/string.c Wed Jan 16 08:35:59 2008 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: string.c,v 1.445.2.14.2.72 2007/12/31 07:20:13 sebastian Exp $ */ +/* $Id: string.c,v 1.445.2.14.2.73 2008/01/16 08:35:59 tony2001 Exp $ */ /* Synced with php 3.0 revision 1.193 1999-06-16 [ssb] */ @@ -5133,7 +5133,7 @@ while (p < e) { s = p; - while (p < e && (isalpha(*p) || (char_list && ch[(unsigned char)*p]) || *p == '\'' || *p == '-')) { + while (p < e && (isalpha((unsigned char)*p) || (char_list && ch[(unsigned char)*p]) || *p == '\'' || *p == '-')) { p++; } if (p > s) {
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php