* fhandler.h (set_console_state_for_spawn): Eliminate argument from

declaration.
* fhandler.cc (set_console_state_for_spawn): Eliminate argument from
definition.  Always check for invisible console.
(fhandler_console::need_invisible): Don't do anything if the windows station is
already not visible.
* spawn.cc (spawn_guts): Accommodate change of argument to
set_console_state_for_spawn.
This commit is contained in:
Christopher Faylor
2006-01-07 17:57:26 +00:00
parent a37aaf88a8
commit 85c804ec4b
4 changed files with 48 additions and 20 deletions

View File

@ -617,7 +617,7 @@ spawn_guts (const char * prog_arg, const char *const *argv,
else
system_printf ("duplicate to pid_handle failed, %E");
if (mode != _P_DETACH)
set_console_state_for_spawn (!real_path.iscygexec ());
set_console_state_for_spawn ();
}
/* Some file types (currently only sockets) need extra effort in the parent