From 9cdaf8733f9df39525dd4d03316476dd9215538f Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 12 Jun 2008 15:57:23 +0000 Subject: * 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. --- winsup/cygwin/spawn.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'winsup/cygwin/spawn.cc') diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index a5856489a..c3d544e5a 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -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; -- cgit v1.2.3