From b5cb5c9e642a3b868024345fd31c71052e4b0932 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 23 Feb 2007 12:01:52 +0000 Subject: * 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. --- winsup/cygwin/spawn.cc | 6 ------ 1 file changed, 6 deletions(-) (limited to 'winsup/cygwin/spawn.cc') 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; } } -- cgit v1.2.3