Skip to content

Commit

Permalink
(php_module_startup) is now doing setlocale(LC_ALL, "") instead of ju…
Browse files Browse the repository at this point in the history
…st setlocale(LC_CTYPE, ""). suggested by Jon Forsberg <[email protected]>

# this change simply seems "right" as setlocale(LC_ALL, "") also happens in RSHUTDOWN(basic)
  • Loading branch information
Thies C. Arntzen committed Apr 28, 2000
1 parent 563c97c commit b938779
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -854,7 +854,7 @@ int php_module_startup(sapi_module_struct *sf)
PG(connection_status) = PHP_CONNECTION_NORMAL;

#if HAVE_SETLOCALE
setlocale(LC_CTYPE, "");
setlocale(LC_ALL, "");
#endif

#ifdef PHP_WIN32
Expand Down

0 comments on commit b938779

Please sign in to comment.