Mercurial > emacs
diff src/keyboard.c @ 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 | 06ecd9e51ca0 |
children | 6051ba81a938 |
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;