Skip to content

Commit

Permalink
Bug #71596 Segmentation fault on ZTS with date function (setlocale)
Browse files Browse the repository at this point in the history
  • Loading branch information
weltling committed Feb 18, 2016
1 parent a329dc7 commit 632fc51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1622,6 +1622,9 @@ int php_request_startup(TSRMLS_D)
#endif /* HAVE_DTRACE */

#ifdef PHP_WIN32
# if defined(ZTS)
_configthreadlocale(_ENABLE_PER_THREAD_LOCALE);
# endif
PG(com_initialized) = 0;
#endif

Expand Down

0 comments on commit 632fc51

Please sign in to comment.