summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-03-03 05:34:59 +0000
committerRichard M. Stallman <rms@gnu.org>1996-03-03 05:34:59 +0000
commit8b81b27482a93e493f77d2262659c679a76830db (patch)
treeb3fba432fc324a2bf86015b9abd6763093bb721b
parentfb362b44c6f291bf6756c6a417c04546af64f79e (diff)
downloademacs-8b81b27482a93e493f77d2262659c679a76830db.tar.gz
(wait_reading_process_input): Use getpid when generating SIGIO.
-rw-r--r--src/process.c4
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)
if (XINT (read_kbd) && interrupt_input
&& (keyboard_bit_set (&Available)))
- kill (0, SIGIO);
+ kill (getpid (), SIGIO);
#endif
if (! wait_proc)
@@ -3902,7 +3902,7 @@ wait_reading_process_input (time_limit, microsecs, read_kbd, do_display)
#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),