Merge from 5.2:

Improve tolower()-related functions on Windows and VC2005 by caching locale and using
tolower_l function.
This commit is contained in:
Stanislav Malyshev 2006-12-05 02:55:27 +00:00
parent bc07f14f7a
commit 40b496d63f
5 changed files with 38 additions and 6 deletions

View file

@ -1620,6 +1620,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
#if HAVE_SETLOCALE
setlocale(LC_CTYPE, "");
zend_update_current_locale();
#endif
#if HAVE_TZSET