* dcrt0.cc (dll_crt0_1): Call initial_setlocale before fetching

current user information.
This commit is contained in:
Corinna Vinschen 2014-02-16 15:42:40 +00:00
parent df2764ef93
commit c18cbc8e6d
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2014-02-16 Corinna Vinschen <corinna@vinschen.de>
* dcrt0.cc (dll_crt0_1): Call initial_setlocale before fetching
current user information.
2014-02-15 Christopher Faylor <me.cygwin2014@cgf.cx>
* DevNotes: Add entry cgf-000024.

View File

@ -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 ();