This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
Re: [PATCH 0/1] Fix PTY state management in pseudo console support.
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin-patches at cygwin dot com
- Date: Sun, 1 Sep 2019 08:03:15 +0900
- Subject: Re: [PATCH 0/1] Fix PTY state management in pseudo console support.
- Dkim-filter: OpenDKIM Filter v2.10.3 conssluserg-01.nifty.com x7VN37b7030458
- References: <20190831145318.1854-1-takashi.yano@nifty.ne.jp>
This patch has a small bug.
Please use v2 instead.
On Sat, 31 Aug 2019 23:53:17 +0900
Takashi Yano <takashi.yano@nifty.ne.jp> wrote:
> Pseudo console support in test release TEST: Cygwin 3.1.0-0.3,
> introduced by commit 169d65a5774acc76ce3f3feeedcbae7405aa9b57,
> has some bugs which cause mismatch between state variables and
> real pseudo console state regarding console attaching and r/w
> pipe switching. This patch fixes this issue by redesigning the
> state management.
>
> Takashi Yano (1):
> Cygwin: pty: Fix state management for pseudo console support.
>
> winsup/cygwin/dtable.cc | 15 +-
> winsup/cygwin/fhandler.h | 6 +-
> winsup/cygwin/fhandler_console.cc | 6 +-
> winsup/cygwin/fhandler_tty.cc | 401 ++++++++++++++++--------------
> winsup/cygwin/fork.cc | 24 +-
> winsup/cygwin/spawn.cc | 65 ++---
> 6 files changed, 280 insertions(+), 237 deletions(-)
>
> --
> 2.21.0
>
--
Takashi Yano <takashi.yano@nifty.ne.jp>