diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2007-02-23 12:01:52 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2007-02-23 12:01:52 +0000 |
commit | b5cb5c9e642a3b868024345fd31c71052e4b0932 (patch) | |
tree | 72af33d4f99d1eb61cdf0cbc38445de436026f8f /winsup/cygwin/spawn.cc | |
parent | 7131554a692a675bfff2d95f224c54dfdb88686c (diff) | |
download | cygnal-b5cb5c9e642a3b868024345fd31c71052e4b0932.tar.gz cygnal-b5cb5c9e642a3b868024345fd31c71052e4b0932.tar.bz2 cygnal-b5cb5c9e642a3b868024345fd31c71052e4b0932.zip |
* fhandler_console.cc (fhandler_console::need_invisible): Drop
pty_needs_alloc_console check.
* spawn.cc (spawn_guts): Ditto.
(av::fixup): Remove setting iscui.
* syscalls.cc (rename): Drop has_move_file_ex checks. Remove 9x
specific code.
* wincap.cc: Remove has_move_file_ex and pty_needs_alloc_console
throughout.
* wincap.h: Ditto.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 7955f3eca..510ed210d 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -414,11 +414,6 @@ spawn_guts (const char * prog_arg, const char *const *argv, si.hStdError = handle (2, true); si.cb = sizeof (si); - if (!wincap.pty_needs_alloc_console () && newargv.iscui && myself->ctty == -1) - { - si.dwFlags |= STARTF_USESHOWWINDOW; - si.wShowWindow = SW_HIDE; - } c_flags = GetPriorityClass (hMainProc); sigproc_printf ("priority class %d", c_flags); @@ -965,7 +960,6 @@ av::fixup (const char *prog_arg, path_conv& real_path, const char *ext) else real_path.set_cygexec (false); UnmapViewOfFile (buf); - iscui = subsys == IMAGE_SUBSYSTEM_WINDOWS_CUI; break; } } |