From d74506600b46b5dd2b590da3e3e7938ee2412c2f Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Wed, 12 Oct 2011 21:04:20 +0200 Subject: updated for version 7.3.337 Problem: Screen doesn't update after resizing the xterm until a character is typed. Solution: When the select call is interrupted check do_resize. (Taylor Hedberg) --- src/os_unix.c | 7 +++++++ src/version.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/src/os_unix.c b/src/os_unix.c index 018c49f9..48176e18 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -5146,11 +5146,18 @@ select_eintr: # endif # ifdef EINTR if (ret == -1 && errno == EINTR) + { + /* Check whether window has been resized, EINTR may be caused by + * SIGWINCH. */ + if (do_resize) + handle_resize(); + /* Interrupted by a signal, need to try again. We ignore msec * here, because we do want to check even after a timeout if * characters are available. Needed for reading output of an * external command after the process has finished. */ goto select_eintr; + } # endif # ifdef __TANDEM if (ret == -1 && errno == ENOTSUP) diff --git a/src/version.c b/src/version.c index 48d2d396..a77a78d8 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 337, /**/ 336, /**/ -- cgit v1.2.1