diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-23 14:28:37 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-23 14:28:37 +0200 |
commit | 0981c8729e09551f2e8e6c159bc29f2c1d04019c (patch) | |
tree | fb59625d83fd366041f504191b5dbfadea1d81c9 /src/if_cscope.c | |
parent | 69e44552c567ff25b363ba0790ad3d43fa0397a7 (diff) | |
download | vim-git-0981c8729e09551f2e8e6c159bc29f2c1d04019c.tar.gz |
patch 8.2.1513: cannot interrupt shell used for filename expansionv8.2.1513
Problem: Cannot interrupt shell used for filename expansion. (Dominique
Pellé)
Solution: Do set tmode in mch_delay(). (closes #6770)
Diffstat (limited to 'src/if_cscope.c')
-rw-r--r-- | src/if_cscope.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_cscope.c b/src/if_cscope.c index 0e6f5ae30..c027c71b4 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -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) |