This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH v2 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 06:48:13 +0900
- Subject: [PATCH v2 0/1] Cygwin: pty: Switch input and output pipes individually.
- Dkim-filter: OpenDKIM Filter v2.10.3 conuserg-05.nifty.com x8DLmI1k024407
- 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.
v2:
Small bug fix.
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 | 194 +++++++++++++++++++++---------
winsup/cygwin/select.cc | 4 +-
winsup/cygwin/spawn.cc | 44 +++----
winsup/cygwin/tty.cc | 5 +-
winsup/cygwin/tty.h | 5 +-
8 files changed, 173 insertions(+), 101 deletions(-)
--
2.21.0