From e4195c5d84027a3137ad4bc0ba5b6bd14b8a3a04 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Thu, 2 Aug 2012 12:31:44 +0200 Subject: [PATCH] updated for version 7.3.619 Problem: When executing a shell command Vim may become slow to respond. Solution: Don't wait after every processed message. (idea by Yasuhiro Matsumoto) --- src/os_win32.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/os_win32.c b/src/os_win32.c index 6b29cfc331..8151e6054a 100644 --- a/src/os_win32.c +++ b/src/os_win32.c @@ -3319,6 +3319,8 @@ mch_system_classic(char *cmd, int options) { TranslateMessage(&msg); pDispatchMessage(&msg); + delay = 1; + continue; } if (WaitForSingleObject(pi.hProcess, delay) != WAIT_TIMEOUT) break; diff --git a/src/version.c b/src/version.c index 94a2b5cfd0..285bdfc362 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 619, /**/ 618, /**/