* 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.
This commit is contained in:
Corinna Vinschen
2007-02-23 12:01:52 +00:00
parent 7131554a69
commit b5cb5c9e64
7 changed files with 21 additions and 64 deletions

View File

@@ -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;
}
}