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

patch 8.0.1749: VMS: 100% CPU use, redefining mch_open() fails

Problem:    VMS: 100% CPU use, redefining mch_open() and mch_fopen() fails.
Solution:   Do not wait indefinitely in RealWaitForChar(). (Neil Rieck)
            Do not redefine mch_open() and mch_fopen() on VMS. (Zoltan
            Arpadffy)
This commit is contained in:
Bram Moolenaar
2018-04-23 20:46:16 +02:00
parent a4baf5b325
commit 6537c421bb
3 changed files with 6 additions and 3 deletions

View File

@@ -784,7 +784,7 @@ RealWaitForChar(
return 0;
} else if (msec < 0) {
/* no time-out; wait on indefinitely */
continue;
return 1; /* fakeout to force a wait in vms_read() */
} else {
/* time-out needs to be checked */
status = sys$gettim(&time_curr);