aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/select.h
diff options
context:
space:
mode:
authorTakashi Yano <takashi.yano@nifty.ne.jp>2019-09-05 13:22:54 +0900
committerCorinna Vinschen <corinna@vinschen.de>2019-09-05 13:59:37 +0200
commit915fcd0ae8d83546ce135131cd25bf6795d97966 (patch)
treef8ec907ff976df28a950a56370b1cc46565be26a /winsup/cygwin/select.h
parent433c6b8e0a667f9eae41a52efadec35ac62730df (diff)
downloadnewlib-915fcd0ae8d83546ce135131cd25bf6795d97966.zip
newlib-915fcd0ae8d83546ce135131cd25bf6795d97966.tar.gz
newlib-915fcd0ae8d83546ce135131cd25bf6795d97966.tar.bz2
Cygwin: pty: Fix select() with pseudo console support.
- select() did not work correctly when both read and except are polled simultaneously for the same fd and the r/w pipe is switched to pseudo console side. This patch fixes this isseu.
Diffstat (limited to 'winsup/cygwin/select.h')
-rw-r--r--winsup/cygwin/select.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/select.h b/winsup/cygwin/select.h
index 7d6dee7..ae98c65 100644
--- a/winsup/cygwin/select.h
+++ b/winsup/cygwin/select.h
@@ -88,6 +88,7 @@ public:
select_record start;
select_pipe_info *device_specific_pipe;
+ select_pipe_info *device_specific_ptys;
select_fifo_info *device_specific_fifo;
select_socket_info *device_specific_socket;
select_serial_info *device_specific_serial;
@@ -101,6 +102,7 @@ public:
select_stuff (): return_on_signal (false), always_ready (false),
windows_used (false), start (),
device_specific_pipe (NULL),
+ device_specific_ptys (NULL),
device_specific_fifo (NULL),
device_specific_socket (NULL),
device_specific_serial (NULL)