0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

patch 8.2.1513: cannot interrupt shell used for filename expansion

Problem:    Cannot interrupt shell used for filename expansion. (Dominique
            Pellé)
Solution:   Do set tmode in mch_delay(). (closes #6770)
This commit is contained in:
Bram Moolenaar
2020-08-23 14:28:37 +02:00
parent 69e44552c5
commit 0981c8729e
12 changed files with 41 additions and 26 deletions

View File

@@ -2243,7 +2243,7 @@ cs_release_csp(int i, int freefnpp)
waitpid_errno = errno;
if (pid != 0)
break; // break unless the process is still running
mch_delay(50L, FALSE); // sleep 50 ms
mch_delay(50L, 0); // sleep 50 ms
}
# endif
/*
@@ -2278,7 +2278,7 @@ cs_release_csp(int i, int freefnpp)
alive = FALSE; // cscope process no longer exists
break;
}
mch_delay(50L, FALSE); // sleep 50ms
mch_delay(50L, 0); // sleep 50 ms
}
}
if (alive)