* fhandler.h (set_console_state_for_spawn): Drop declaration.

* fhandler_console.cc (set_console_state_for_spawn): Remove.
	(fhandler_console::open): Set console state last.  Don't set
	ENABLE_PROCESSED_INPUT flag.
	* spawn.cc (spawn_guts): Drop call to set_console_state_for_spawn.
This commit is contained in:
Corinna Vinschen
2008-06-12 15:57:23 +00:00
parent a7e0bc7bbe
commit 9cdaf8733f
4 changed files with 14 additions and 39 deletions

View File

@@ -441,8 +441,6 @@ spawn_guts (const char *prog_arg, const char *const *argv,
if (mode == _P_DETACH)
c_flags |= DETACHED_PROCESS;
else
set_console_state_for_spawn (real_path.iscygexec ());
if (mode != _P_OVERLAY)
myself->exec_sendsig = NULL;