In cygwin test release 3.1.0-0.1, script command (from util-linux) is terminated abnormaly if the window size is changed in the case that cygwin is running in command prompt. This patch fixes this issue. This problem occurs when select() or poll() returns with EINTR by SIGWINCH even though SIGWINCH is ignored. This patch adds code so that select() is not interrupted by SIGWINCH when it is ignored (SIG_IGN or SIG_DFL).
Takashi Yano (1): Cygwin: console: Fix the condition to interrupt select() by SIGWINCH winsup/cygwin/select.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) -- 2.21.0