Re: [PATCH] Cygwin: console: Align the behaviour against signal with pty.

2021-02-01 Thread Corinna Vinschen via Cygwin-patches
On Jan 29 12:45, Takashi Yano via Cygwin-patches wrote: > - Currently, read() returns -1 with EINTR if the process is suspended > by Ctrl-Z and resumed by fg command, while pty continues to read. > For example, xxd command stops with error "Interrupted system call" > after Ctrl-Z and fg.

[PATCH] Cygwin: console: Align the behaviour against signal with pty.

2021-01-28 Thread Takashi Yano via Cygwin-patches
- Currently, read() returns -1 with EINTR if the process is suspended by Ctrl-Z and resumed by fg command, while pty continues to read. For example, xxd command stops with error "Interrupted system call" after Ctrl-Z and fg. This patch aligns the behaviour with pty (and Linux). ---