* dcrt0.cc (dll_crt0_1): Call initial_setlocale before fetching
current user information.
This commit is contained in:
@@ -929,14 +929,14 @@ dll_crt0_1 (void *)
|
||||
/* Allocate cygheap->fdtab */
|
||||
dtable_init ();
|
||||
|
||||
/* Set internal locale to the environment settings. */
|
||||
initial_setlocale ();
|
||||
|
||||
uinfo_init (); /* initialize user info */
|
||||
|
||||
/* Connect to tty. */
|
||||
tty::init_session ();
|
||||
|
||||
/* Set internal locale to the environment settings. */
|
||||
initial_setlocale ();
|
||||
|
||||
if (!__argc)
|
||||
{
|
||||
PWCHAR wline = GetCommandLineW ();
|
||||
|
Reference in New Issue
Block a user