diff options
author | Christopher Faylor <me@cgf.cx> | 2005-12-19 22:04:14 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-12-19 22:04:14 +0300 |
commit | 7a01aa546d49d670cb4c286752522850a81a2ccd (patch) | |
tree | 7478d811be0be21116d1d61f36accf8b0ccbfaca /winsup/cygwin/fhandler.h | |
parent | 7e958b2e6abfb332eb65df9100783b69508a3403 (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r-- | winsup/cygwin/fhandler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h index e948403ba..034281fba 100644 --- a/winsup/cygwin/fhandler.h +++ b/winsup/cygwin/fhandler.h @@ -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_ */ |