diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c index 55f31a02673..73704c03ee7 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -5036,7 +5036,10 @@ wait_reading_process_output (intmax_t time_limit, int nsecs, int read_kbd, | |||
| 5036 | && FD_ISSET (channel, &Available)) | 5036 | && FD_ISSET (channel, &Available)) |
| 5037 | || (d->condition & FOR_WRITE | 5037 | || (d->condition & FOR_WRITE |
| 5038 | && FD_ISSET (channel, &write_mask)))) | 5038 | && FD_ISSET (channel, &write_mask)))) |
| 5039 | d->func (channel, d->data); | 5039 | { |
| 5040 | d->func (channel, d->data); | ||
| 5041 | FD_CLR (channel, &Available); | ||
| 5042 | } | ||
| 5040 | } | 5043 | } |
| 5041 | 5044 | ||
| 5042 | for (channel = 0; channel <= max_process_desc; channel++) | 5045 | for (channel = 0; channel <= max_process_desc; channel++) |