changeset 14736:b17ec81a6294

(wait_reading_process_input): Use getpid when generating SIGIO.
author Richard M. Stallman <rms@gnu.org>
date Sun, 03 Mar 1996 05:34:59 +0000
parents 8a63563c02a3
children 9e847303147a
files src/process.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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),