* dcrt0.cc (dll_crt0_1): Move internal locale setting prior to potential
globify to prevent creation of unglobbed filenames in the wrong character set.
This commit is contained in:
parent
6684d8814f
commit
1afba8e5f2
@ -1,3 +1,9 @@
|
|||||||
|
2010-01-01 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
|
* dcrt0.cc (dll_crt0_1): Move internal locale setting prior to
|
||||||
|
potential globify to prevent creation of unglobbed filenames in the
|
||||||
|
wrong character set.
|
||||||
|
|
||||||
2009-12-28 Corinna Vinschen <corinna@vinschen.de>
|
2009-12-28 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* fhandler.h (fhandler_socket::wait_for_events): Drop parameter default
|
* fhandler.h (fhandler_socket::wait_for_events): Drop parameter default
|
||||||
|
@ -853,6 +853,9 @@ dll_crt0_1 (void *)
|
|||||||
/* 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 ();
|
||||||
@ -937,8 +940,6 @@ dll_crt0_1 (void *)
|
|||||||
do this for noncygwin case since the signal thread is blocked due to
|
do this for noncygwin case since the signal thread is blocked due to
|
||||||
LoadLibrary serialization. */
|
LoadLibrary serialization. */
|
||||||
ld_preload ();
|
ld_preload ();
|
||||||
/* Set internal locale to the environment settings. */
|
|
||||||
initial_setlocale ();
|
|
||||||
if (user_data->main)
|
if (user_data->main)
|
||||||
cygwin_exit (user_data->main (__argc, __argv, *user_data->envptr));
|
cygwin_exit (user_data->main (__argc, __argv, *user_data->envptr));
|
||||||
__asm__ (" \n\
|
__asm__ (" \n\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user