Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cygwin: pty: Fix handle leak in master process.
If non-cygwin process is started in pty, closing from_master_nat pipe handle was missing in fhandler_pty_slave::input_transfer(). This occured because the handle was duplicated but not closed. msys2#198 Backported-from: a6ac7b4 (Cygwin: pty: Fix handle leak in master process., 2024-02-13) Fixes: 29431fc ("Cygwin: pty: Inherit typeahead data between two input pipes.") Reported-by: Hakkin Lain Signed-off-by: Takashi Yano <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
- Loading branch information