diff options
author | Christopher Faylor <me@cgf.cx> | 2006-01-07 17:57:26 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2006-01-07 17:57:26 +0000 |
commit | 85c804ec4be56ccc5efe4691aeb936df23e6df16 (patch) | |
tree | 202527c1d12e9dd088633f9425141fc043494bf5 /winsup/cygwin/spawn.cc | |
parent | a37aaf88a824d606550737bea761d7e3d4011942 (diff) | |
download | cygnal-85c804ec4be56ccc5efe4691aeb936df23e6df16.tar.gz cygnal-85c804ec4be56ccc5efe4691aeb936df23e6df16.tar.bz2 cygnal-85c804ec4be56ccc5efe4691aeb936df23e6df16.zip |
* 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.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 7919ed4b2..d1e6ce869 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -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 |