summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/spawn.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2008-06-12 15:57:23 +0000
committerCorinna Vinschen <corinna@vinschen.de>2008-06-12 15:57:23 +0000
commit9cdaf8733f9df39525dd4d03316476dd9215538f (patch)
tree29bb54f8925f971a5fcefcc24b5a2d896952316e /winsup/cygwin/spawn.cc
parenta7e0bc7bbe3888fe35bab1e54196951918fb63fe (diff)
downloadcygnal-9cdaf8733f9df39525dd4d03316476dd9215538f.tar.gz
cygnal-9cdaf8733f9df39525dd4d03316476dd9215538f.tar.bz2
cygnal-9cdaf8733f9df39525dd4d03316476dd9215538f.zip
* 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.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r--winsup/cygwin/spawn.cc2
1 files changed, 0 insertions, 2 deletions
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;