diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/process.c b/src/process.c index 2a1c2eecde3..abd017bb907 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -5371,14 +5371,13 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, | |||
| 5371 | nfds = xg_select (max_desc + 1, | 5371 | nfds = xg_select (max_desc + 1, |
| 5372 | &Available, (check_write ? &Writeok : 0), | 5372 | &Available, (check_write ? &Writeok : 0), |
| 5373 | NULL, &timeout, NULL); | 5373 | NULL, &timeout, NULL); |
| 5374 | #elif defined HAVE_NS | ||
| 5375 | /* And NS builds call thread_select in ns_select. */ | ||
| 5376 | nfds = ns_select (max_desc + 1, | ||
| 5377 | &Available, (check_write ? &Writeok : 0), | ||
| 5378 | NULL, &timeout, NULL); | ||
| 5374 | #else /* !HAVE_GLIB */ | 5379 | #else /* !HAVE_GLIB */ |
| 5375 | nfds = thread_select ( | 5380 | nfds = thread_select (pselect, max_desc + 1, |
| 5376 | # ifdef HAVE_NS | ||
| 5377 | ns_select | ||
| 5378 | # else | ||
| 5379 | pselect | ||
| 5380 | # endif | ||
| 5381 | , max_desc + 1, | ||
| 5382 | &Available, | 5381 | &Available, |
| 5383 | (check_write ? &Writeok : 0), | 5382 | (check_write ? &Writeok : 0), |
| 5384 | NULL, &timeout, NULL); | 5383 | NULL, &timeout, NULL); |