# HG changeset patch # User Richard M. Stallman # Date 825831299 0 # Node ID b17ec81a6294deca9644e691428236a789188096 # Parent 8a63563c02a32efc6d132f0e0ca430dc4cea93ea (wait_reading_process_input): Use getpid when generating SIGIO. diff -r 8a63563c02a3 -r b17ec81a6294 src/process.c --- a/src/process.c Sat Mar 02 21:09:04 1996 +0000 +++ b/src/process.c Sun Mar 03 05:34:59 1996 +0000 @@ -2247,7 +2247,7 @@ if (XINT (read_kbd) && interrupt_input && (keyboard_bit_set (&Available))) - kill (0, SIGIO); + kill (getpid (), SIGIO); #endif if (! wait_proc) @@ -3902,7 +3902,7 @@ #endif #ifdef SIGIO if (XINT (read_kbd) && interrupt_input && (waitchannels & 1)) - kill (0, SIGIO); + kill (getpid (), SIGIO); #endif /* If we have timed out (nfds == 0) or found some input (nfds > 0),