diff options
| author | Paul Eggert | 2014-03-09 15:38:15 -0700 |
|---|---|---|
| committer | Paul Eggert | 2014-03-09 15:38:15 -0700 |
| commit | d050de754c22013db5fb8f57650d22581393ed79 (patch) | |
| tree | bb7394e94411377cfcd621f57a6cf1cf03933bc6 /src/coding.c | |
| parent | eb67db411128bd47548e4a62d7272df81b75d29a (diff) | |
| download | emacs-d050de754c22013db5fb8f57650d22581393ed79.tar.gz emacs-d050de754c22013db5fb8f57650d22581393ed79.zip | |
Fix emacsclient terminal corruption when in background.
* emacsclient.c (handle_sigcont): Check for tcgetpgrp failure.
Cancel the continue only if tty. Send SIGTTIN to the process
group, not SIGSTOP to self, as this is what the glibc manual
recommends.
(main): If tty, and if started in the background, send SIGTTIN
to the process group.
Fixes: debbugs:16892
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions