diff options
Diffstat (limited to 'src/process.c')
| -rw-r--r-- | src/process.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/process.c b/src/process.c index f9501f97838..9b244d6d5c8 100644 --- a/src/process.c +++ b/src/process.c | |||
| @@ -2247,7 +2247,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 2247 | 2247 | ||
| 2248 | if (XINT (read_kbd) && interrupt_input | 2248 | if (XINT (read_kbd) && interrupt_input |
| 2249 | && (keyboard_bit_set (&Available))) | 2249 | && (keyboard_bit_set (&Available))) |
| 2250 | kill (0, SIGIO); | 2250 | kill (getpid (), SIGIO); |
| 2251 | #endif | 2251 | #endif |
| 2252 | 2252 | ||
| 2253 | if (! wait_proc) | 2253 | if (! wait_proc) |
| @@ -3902,7 +3902,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display) | |||
| 3902 | #endif | 3902 | #endif |
| 3903 | #ifdef SIGIO | 3903 | #ifdef SIGIO |
| 3904 | if (XINT (read_kbd) && interrupt_input && (waitchannels & 1)) | 3904 | if (XINT (read_kbd) && interrupt_input && (waitchannels & 1)) |
| 3905 | kill (0, SIGIO); | 3905 | kill (getpid (), SIGIO); |
| 3906 | #endif | 3906 | #endif |
| 3907 | 3907 | ||
| 3908 | /* If we have timed out (nfds == 0) or found some input (nfds > 0), | 3908 | /* If we have timed out (nfds == 0) or found some input (nfds > 0), |