From 85c804ec4be56ccc5efe4691aeb936df23e6df16 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 7 Jan 2006 17:57:26 +0000 Subject: * 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. --- winsup/cygwin/spawn.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/spawn.cc') 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 -- cgit v1.2.3