cvs: php-src /main main.c
| From: | Stanislav Malyshev | Date: | Tue, 05 Dec 2006 02:55:27 +0000 |
| Subject: | cvs: php-src /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-41898@lists.php.net to get a copy of this message | ||
stas Tue Dec 5 02:55:27 2006 UTC
Modified files:
/php-src/main main.c
Log:
Merge from 5.2:
Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
http://cvs.php.net/viewvc.cgi/php-src/main/main.c?r1=1.710&r2=1.711&diff_format=u
Index: php-src/main/main.c
diff -u php-src/main/main.c:1.710 php-src/main/main.c:1.711
--- php-src/main/main.c:1.710 Mon Dec 4 15:58:35 2006
+++ php-src/main/main.c Tue Dec 5 02:55:27 2006
@@ -18,7 +18,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: main.c,v 1.710 2006/12/04 15:58:35 tony2001 Exp $ */
+/* $Id: main.c,v 1.711 2006/12/05 02:55:27 stas Exp $ */
/* {{{ includes
*/
@@ -1620,6 +1620,7 @@
#if HAVE_SETLOCALE
setlocale(LC_CTYPE, "");
+ zend_update_current_locale();
#endif
#if HAVE_TZSET