summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler.h
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2009-07-04 23:51:10 +0000
committerChristopher Faylor <me@cgf.cx>2009-07-04 23:51:10 +0000
commit01d8a2dfd6390a6cd7eabb8077e360e74136f59f (patch)
tree1ae2a7512f7e24fb97edbe8839fdb0f6674bcd7e /winsup/cygwin/fhandler.h
parent38a58dd13cbf59fa3d24dd71df7c0640b85a0017 (diff)
downloadcygnal-01d8a2dfd6390a6cd7eabb8077e360e74136f59f.tar.gz
cygnal-01d8a2dfd6390a6cd7eabb8077e360e74136f59f.tar.bz2
cygnal-01d8a2dfd6390a6cd7eabb8077e360e74136f59f.zip
* 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.
Diffstat (limited to 'winsup/cygwin/fhandler.h')
-rw-r--r--winsup/cygwin/fhandler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/fhandler.h b/winsup/cygwin/fhandler.h
index db55e2c05..465924190 100644
--- a/winsup/cygwin/fhandler.h
+++ b/winsup/cygwin/fhandler.h
@@ -950,6 +950,8 @@ class fhandler_console: public fhandler_termios
int igncr_enabled ();
int input_tcsetattr (int a, const struct termios *t);
void set_cursor_maybe ();
+ static bool create_invisible_console (HWINSTA);
+ static bool create_invisible_console_workaround ();
public:
fhandler_console ();