diff options
author | Christopher Faylor <me@cgf.cx> | 2003-04-20 01:36:15 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2003-04-20 01:36:15 +0000 |
commit | 6b3bdf38e09d43240b3c4361f013bd43a49fcfb9 (patch) | |
tree | 707277f43bcfd7dece9584c52c155ae721d44abb /winsup/cygwin/wincap.h | |
parent | afa18d8a69f469b0bf2cd1da79d1ae93382129e5 (diff) | |
download | cygnal-6b3bdf38e09d43240b3c4361f013bd43a49fcfb9.tar.gz cygnal-6b3bdf38e09d43240b3c4361f013bd43a49fcfb9.tar.bz2 cygnal-6b3bdf38e09d43240b3c4361f013bd43a49fcfb9.zip |
* wincap.h (wincaps:pty_needs_alloc_console): New element.
(wincapc:pty_needs_alloc_console): New function.
* wincap.cc: Add pty_needs_alloc_console throughout.
* fhandler_tty.cc (fhandler_tty_slave::open): Open an "invisible" console on
first pty allocation.
Diffstat (limited to 'winsup/cygwin/wincap.h')
-rw-r--r-- | winsup/cygwin/wincap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/wincap.h b/winsup/cygwin/wincap.h index a89f0a5ad..066374fd8 100644 --- a/winsup/cygwin/wincap.h +++ b/winsup/cygwin/wincap.h @@ -49,6 +49,7 @@ struct wincaps unsigned has_process_io_counters : 1; unsigned supports_reading_modem_output_lines : 1; unsigned needs_memory_protection : 1; + unsigned pty_needs_alloc_console : 1; }; class wincapc @@ -102,6 +103,7 @@ public: bool IMPLEMENT (has_process_io_counters) bool IMPLEMENT (supports_reading_modem_output_lines) bool IMPLEMENT (needs_memory_protection) + bool IMPLEMENT (pty_needs_alloc_console) #undef IMPLEMENT }; |