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)
diff --git a/src/if_cscope.c b/src/if_cscope.c
index 0e6f5ae..c027c71 100644
--- a/src/if_cscope.c
+++ b/src/if_cscope.c
@@ -2243,7 +2243,7 @@
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 @@
alive = FALSE; // cscope process no longer exists
break;
}
- mch_delay(50L, FALSE); // sleep 50ms
+ mch_delay(50L, 0); // sleep 50 ms
}
}
if (alive)