mirror of
https://github.com/php/php-src.git
synced 2025-08-19 08:49:28 +02:00
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:
parent
bc07f14f7a
commit
40b496d63f
5 changed files with 38 additions and 6 deletions
|
@ -4164,6 +4164,7 @@ PHP_RSHUTDOWN_FUNCTION(basic)
|
|||
if (BG(locale_string) != NULL) {
|
||||
setlocale(LC_ALL, "C");
|
||||
setlocale(LC_CTYPE, "");
|
||||
zend_update_current_locale();
|
||||
}
|
||||
STR_FREE(BG(locale_string));
|
||||
BG(locale_string) = NULL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue