[PATCH] Cygwin: pty: Transfer input only if the stdin is a pty.

Corinna Vinschen corinna-cygwin@cygwin.com
Tue Mar 9 10:26:57 GMT 2021


On Mar  9 12:23, Takashi Yano via Cygwin-patches wrote:
> - The commit 12325677f73a did not fix enough. With this patch, more
>   transfer_input() calls are skipped if stdin is redirected or piped.
> ---
>  winsup/cygwin/fhandler_tty.cc | 10 ++++++++--
>  winsup/cygwin/spawn.cc        |  9 +++++++--
>  2 files changed, 15 insertions(+), 4 deletions(-)

Pushed.


Thanks,
Corinna


More information about the Cygwin-patches mailing list