changeset 1947:ba1e55a4ba76

(read_avail_input): Args to `kill' were backwards.
author Richard M. Stallman <rms@gnu.org>
date Tue, 23 Feb 1993 18:49:33 +0000
parents 05297a5a8238
children e7b8107294b7
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Tue Feb 23 14:23:06 1993 +0000
+++ b/src/keyboard.c	Tue Feb 23 18:49:33 1993 +0000
@@ -2545,6 +2545,9 @@
 	/* Formerly simply reported no input, but that sometimes led to
 	   a failure of Emacs to terminate.
 	   SIGHUP seems appropriate if we can't reach the terminal.  */
+	/* ??? Is it really right to send the signal just to this process
+	   rather than to the whole process group?
+	   Perhaps on systems with FIONREAD Emacs is alone in its group.  */
 	kill (getpid (), SIGHUP);
       if (nread == 0)
 	return 0;