* fhandler.h (set_console_state_for_spawn): Add an argument to the declaration.

* fhandler_console.cc (set_console_state_for_spawn): Ditto for the definition.
Only set invisible console for non-cygwin process.  Remove debugging leftover.
* spawn.cc (spawn_guts): Pass argument denoting whether this is a cygwin
process to set_console_state_for_spawn and only call this function when
exec'ing.
This commit is contained in:
Christopher Faylor
2005-12-19 19:04:14 +00:00
parent 7e958b2e6a
commit 7a01aa546d
4 changed files with 16 additions and 7 deletions

View File

@@ -1364,6 +1364,6 @@ class select_stuff
device_specific_mailslot (0) {}
};
void __stdcall set_console_state_for_spawn ();
void __stdcall set_console_state_for_spawn (bool) __attribute__ ((regparm (1)));
#endif /* _FHANDLER_H_ */