* dcrt0.cc (dll_crt0_1): Call initial_setlocale before fetching
current user information.
This commit is contained in:
		| @@ -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> | 2014-02-15  Christopher Faylor  <me.cygwin2014@cgf.cx> | ||||||
|  |  | ||||||
| 	* DevNotes: Add entry cgf-000024. | 	* DevNotes: Add entry cgf-000024. | ||||||
|   | |||||||
| @@ -929,14 +929,14 @@ dll_crt0_1 (void *) | |||||||
|   /* Allocate cygheap->fdtab */ |   /* Allocate cygheap->fdtab */ | ||||||
|   dtable_init (); |   dtable_init (); | ||||||
|  |  | ||||||
|  |   /* Set internal locale to the environment settings. */ | ||||||
|  |   initial_setlocale (); | ||||||
|  |  | ||||||
|   uinfo_init ();	/* initialize user info */ |   uinfo_init ();	/* initialize user info */ | ||||||
|  |  | ||||||
|   /* Connect to tty. */ |   /* Connect to tty. */ | ||||||
|   tty::init_session (); |   tty::init_session (); | ||||||
|  |  | ||||||
|   /* Set internal locale to the environment settings. */ |  | ||||||
|   initial_setlocale (); |  | ||||||
|  |  | ||||||
|   if (!__argc) |   if (!__argc) | ||||||
|     { |     { | ||||||
|       PWCHAR wline = GetCommandLineW (); |       PWCHAR wline = GetCommandLineW (); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user