* fhandler_console.cc (set_console_state_for_spawn): Fix to recognize ttys >=
0.
This commit is contained in:
parent
750874d33d
commit
9287bcd534
@ -1,3 +1,8 @@
|
||||
2006-01-12 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* fhandler_console.cc (set_console_state_for_spawn): Fix to recognize
|
||||
ttys >= 0.
|
||||
|
||||
2006-01-12 Christopher Faylor <cgf@timesys.com>
|
||||
|
||||
* fhandler.h (set_console_state_for_spawn): Whackamole the argument
|
||||
|
@ -147,7 +147,7 @@ void __stdcall
|
||||
set_console_state_for_spawn (bool iscyg)
|
||||
{
|
||||
if (fhandler_console::need_invisible () || iscyg
|
||||
|| (myself->ctty > 0 && myself->ctty != TTY_CONSOLE))
|
||||
|| (myself->ctty >= 0 && myself->ctty != TTY_CONSOLE))
|
||||
return;
|
||||
|
||||
HANDLE h = CreateFile ("CONIN$", GENERIC_READ, FILE_SHARE_WRITE,
|
||||
|
Loading…
Reference in New Issue
Block a user