From 01d8a2dfd6390a6cd7eabb8077e360e74136f59f Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 4 Jul 2009 23:51:10 +0000 Subject: * autoload.cc (SetParent): Add new import. * fhandler.h (fhandler_console::create_invisible_console): Declare new function. (create_invisible_console_workaround): Ditto. * fhandler_console.cc (fhandler_console::create_invisible_console): Define new function. (create_invisible_console_workaround): Ditto. Add too much code to deal with broken Windows 7. Use a helper app to start an invisible console window. (fhandler_console::need_invisible): Reorganize to use helper functions to create invisible console. * spawn.cc (spawn_guts): Avoid zeroing already zeroed fields in si. --- 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 be3c66a6a..e292decfd 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -425,8 +425,6 @@ spawn_guts (const char *prog_arg, const char *const *argv, PROCESS_INFORMATION pi; pi.hProcess = pi.hThread = NULL; pi.dwProcessId = pi.dwThreadId = 0; - si.lpReserved = NULL; - si.lpDesktop = NULL; /* Set up needed handles for stdio */ si.dwFlags = STARTF_USESTDHANDLES; -- cgit v1.2.3