This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH 0/1] Cygwin: pty: Switch input and output pipes individually.
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin-patches at cygwin dot com
- Cc: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- Date: Sat, 14 Sep 2019 04:33:55 +0900
- Subject: [PATCH 0/1] Cygwin: pty: Switch input and output pipes individually.
- Dkim-filter: OpenDKIM Filter v2.10.3 conuserg-04.nifty.com x8DJY1PW005787
- Previously, input and output pipes were switched together between
the traditional pty and the pseudo console. However, for example,
if stdin is redirected to another device, it is better to leave
input pipe traditional pty side even for non-cygwin program. This
patch realizes such behaviour.
Takashi Yano (1):
Cygwin: pty: Switch input and output pipes individually.
winsup/cygwin/dtable.cc | 6 +-
winsup/cygwin/fhandler.h | 9 +-
winsup/cygwin/fhandler_console.cc | 7 +-
winsup/cygwin/fhandler_tty.cc | 256 ++++++++++++++++++++----------
winsup/cygwin/select.cc | 4 +-
winsup/cygwin/spawn.cc | 44 +++--
winsup/cygwin/tty.cc | 5 +-
winsup/cygwin/tty.h | 5 +-
8 files changed, 209 insertions(+), 127 deletions(-)
--
2.21.0