diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/process.c b/src/process.c index 4c47fc0e92a..aad36b904b5 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -4190,12 +4190,13 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 4190 | SELECT_TYPE Atemp, Ctemp; | 4190 | SELECT_TYPE Atemp, Ctemp; |
| 4191 | 4191 | ||
| 4192 | Atemp = input_wait_mask; | 4192 | Atemp = input_wait_mask; |
| 4193 | #ifdef MAC_OSX | 4193 | #if 0 |
| 4194 | /* On Mac OS X, the SELECT system call always says input is | 4194 | /* On Mac OS X 10.0, the SELECT system call always says input is |
| 4195 | present (for reading) at stdin, even when none is. This | 4195 | present (for reading) at stdin, even when none is. This |
| 4196 | causes the call to SELECT below to return 1 and | 4196 | causes the call to SELECT below to return 1 and |
| 4197 | status_notify not to be called. As a result output of | 4197 | status_notify not to be called. As a result output of |
| 4198 | subprocesses are incorrectly discarded. */ | 4198 | subprocesses are incorrectly discarded. |
| 4199 | */ | ||
| 4199 | FD_CLR (0, &Atemp); | 4200 | FD_CLR (0, &Atemp); |
| 4200 | #endif | 4201 | #endif |
| 4201 | Ctemp = connect_wait_mask; | 4202 | Ctemp = connect_wait_mask; |