mirror of
https://github.com/php/php-src.git
synced 2026-04-03 14:12:38 +02:00
Merge branch 'PHP-7.0'
* PHP-7.0: Bug #71596 Segmentation fault on ZTS with date function (setlocale)
This commit is contained in:
@@ -1566,6 +1566,9 @@ int php_request_startup(void)
|
||||
#endif /* HAVE_DTRACE */
|
||||
|
||||
#ifdef PHP_WIN32
|
||||
# if defined(ZTS)
|
||||
_configthreadlocale(_ENABLE_PER_THREAD_LOCALE);
|
||||
# endif
|
||||
PG(com_initialized) = 0;
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user