[PATCH 0/1] Cygwin: pty: Fix select() with pseudo console support.

Takashi Yano takashi.yano@nifty.ne.jp
Thu Sep 5 04:23:00 GMT 2019


- 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.

Takashi Yano (1):
  Cygwin: pty: Fix select() with pseudo console support.

 winsup/cygwin/fhandler.h      |  15 +++
 winsup/cygwin/fhandler_tty.cc |  13 ++-
 winsup/cygwin/select.cc       | 192 ++++++++++++++++++++++++++++++++--
 winsup/cygwin/select.h        |   2 +
 4 files changed, 207 insertions(+), 15 deletions(-)

-- 
2.21.0



More information about the Cygwin-patches mailing list