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

2021-03-09 Thread Corinna Vinschen via Cygwin-patches
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

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

2021-03-08 Thread Takashi Yano via Cygwin-patches
- 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(-) diff --git