* dcrt0.cc (dll_crt0_0): Don't bother with setting init_console_handler here
since it will be set later when we discover if we have a ctty or not. * exceptions.cc (init_console_handler): Properly remove NULL handler.
This commit is contained in:
@@ -707,10 +707,7 @@ dll_crt0_0 ()
|
||||
|
||||
child_proc_info = get_cygwin_startup_info ();
|
||||
if (!child_proc_info)
|
||||
{
|
||||
memory_init ();
|
||||
init_console_handler (!!GetConsoleCP ());
|
||||
}
|
||||
memory_init ();
|
||||
else
|
||||
{
|
||||
cygwin_user_h = child_proc_info->user_h;
|
||||
|
Reference in New Issue
Block a user