aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/msdos.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/msdos.c b/src/msdos.c
index e3426b05b38..a05149eea33 100644
--- a/src/msdos.c
+++ b/src/msdos.c
@@ -2434,8 +2434,9 @@ sys_select (nfds, rfds, wfds, efds, timeout)
2434 just read it and wait -- that's more efficient. */ 2434 just read it and wait -- that's more efficient. */
2435 if (!timeout) 2435 if (!timeout)
2436 { 2436 {
2437 while (! detect_input_pending ()) 2437 do
2438 check_timer (&t); 2438 check_timer (&t); /* check timer even if some input is pending */
2439 while (!detect_input_pending ());
2439 } 2440 }
2440 else 2441 else
2441 { 2442 {