[PATCH v2 0/3] Cygwin: pty: detect pcon-backed pty for non-Cygwin-spawned children

Takashi Yano <[email protected]> Sat, 13 Jun 2026 23:08:59 +0900
Newsgroups gmane.os.cygwin.patches
Message-ID <[email protected]>
v2: Add two fixup patch for Johannes's patch.
    Rearange Johannes's patch a bit to ensure it can be apply to master
    branch.

Johannes Schindelin (1):
  Cygwin: pty: detect pcon-backed pty for non-Cygwin-spawned children

Takashi Yano (2):
  Cygwin: pty: Discard pcon input buffer when discard_input is called.
  Cygwin: pty: Fixup pty state after a cygwin app exits

 winsup/cygwin/dtable.cc                 | 14 ++++-
 winsup/cygwin/fhandler/pty.cc           | 84 +++++++++++++++++++++++--
 winsup/cygwin/local_includes/fhandler.h |  2 +
 winsup/cygwin/local_includes/tty.h      |  6 ++
 winsup/cygwin/tty.cc                    | 37 +++++++++++
 5 files changed, 138 insertions(+), 5 deletions(-)

-- 
2.51.0