summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/spawn.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-01-07 17:57:26 +0000
committerChristopher Faylor <me@cgf.cx>2006-01-07 17:57:26 +0000
commit85c804ec4be56ccc5efe4691aeb936df23e6df16 (patch)
tree202527c1d12e9dd088633f9425141fc043494bf5 /winsup/cygwin/spawn.cc
parenta37aaf88a824d606550737bea761d7e3d4011942 (diff)
downloadcygnal-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.cc2
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