This is the mail archive of the
cygwin-patches
mailing list for the Cygwin project.
[PATCH 0/1] Fix select() regarding SIGWINCH in console
- From: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- To: cygwin-patches at cygwin dot com
- Cc: Takashi Yano <takashi dot yano at nifty dot ne dot jp>
- Date: Thu, 15 Aug 2019 14:02:59 +0900
- Subject: [PATCH 0/1] Fix select() regarding SIGWINCH in console
- Dkim-filter: OpenDKIM Filter v2.10.3 conuserg-05.nifty.com x7F539N1011273
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