diff options
| author | Richard M. Stallman | 1993-02-23 18:49:33 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-02-23 18:49:33 +0000 |
| commit | e45352887855decfe3361b4d75c23715d79f4f2d (patch) | |
| tree | b9022e32163c5af66362410a41f18ce7b0949f0f /src | |
| parent | 39d6eb8e8a9436ebce0fa6e1ace079e1522c77d3 (diff) | |
| download | emacs-e45352887855decfe3361b4d75c23715d79f4f2d.tar.gz emacs-e45352887855decfe3361b4d75c23715d79f4f2d.zip | |
(read_avail_input): Args to `kill' were backwards.
Diffstat (limited to 'src')
| -rw-r--r-- | src/keyboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/keyboard.c b/src/keyboard.c index 42afeb3f0d0..d17390433ed 100644 --- a/src/keyboard.c +++ b/src/keyboard.c | |||
| @@ -2545,6 +2545,9 @@ read_avail_input (expected) | |||
| 2545 | /* Formerly simply reported no input, but that sometimes led to | 2545 | /* Formerly simply reported no input, but that sometimes led to |
| 2546 | a failure of Emacs to terminate. | 2546 | a failure of Emacs to terminate. |
| 2547 | SIGHUP seems appropriate if we can't reach the terminal. */ | 2547 | SIGHUP seems appropriate if we can't reach the terminal. */ |
| 2548 | /* ??? Is it really right to send the signal just to this process | ||
| 2549 | rather than to the whole process group? | ||
| 2550 | Perhaps on systems with FIONREAD Emacs is alone in its group. */ | ||
| 2548 | kill (getpid (), SIGHUP); | 2551 | kill (getpid (), SIGHUP); |
| 2549 | if (nread == 0) | 2552 | if (nread == 0) |
| 2550 | return 0; | 2553 | return 0; |