diff options
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; |