mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
* dcrt0.cc (child_info_spawn::handle_spawn): Don't initialize the console
handler here. * dtable.cc (dtable::stdio_init): Initialize console handler here.
This commit is contained in:
parent
dccd2abec6
commit
3eb92a58f8
@ -1,3 +1,9 @@
|
||||
2006-03-23 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* dcrt0.cc (child_info_spawn::handle_spawn): Don't initialize the
|
||||
console handler here.
|
||||
* dtable.cc (dtable::stdio_init): Initialize console handler here.
|
||||
|
||||
2006-03-23 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* sigproc.cc (sigalloc): Don't set SA_RESTART here.
|
||||
|
@ -693,7 +693,6 @@ child_info_spawn::handle_spawn ()
|
||||
old_title = strcpy (title_buf, moreinfo->old_title);
|
||||
cfree (moreinfo->old_title);
|
||||
}
|
||||
init_console_handler (myself->ctty >= 0);
|
||||
}
|
||||
|
||||
void __stdcall
|
||||
|
@ -134,7 +134,10 @@ dtable::stdio_init ()
|
||||
in case they're missed. */
|
||||
|
||||
if (myself->cygstarted || ISSTATE (myself, PID_CYGPARENT))
|
||||
return;
|
||||
{
|
||||
init_console_handler (myself->ctty >= 0);
|
||||
return;
|
||||
}
|
||||
|
||||
HANDLE in = GetStdHandle (STD_INPUT_HANDLE);
|
||||
HANDLE out = GetStdHandle (STD_OUTPUT_HANDLE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user