* 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:
Christopher Faylor
2006-03-20 01:11:30 +00:00
parent c9b5e25474
commit cba9ecfffd
3 changed files with 11 additions and 7 deletions

View File

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