[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r116558: Fix emacsclient's handling of SIGCONT.
From: |
Paul Eggert |
Subject: |
[Emacs-diffs] trunk r116558: Fix emacsclient's handling of SIGCONT. |
Date: |
Tue, 25 Feb 2014 19:06:58 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 116558
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/16883
committer: Paul Eggert <address@hidden>
branch nick: trunk
timestamp: Tue 2014-02-25 11:06:53 -0800
message:
Fix emacsclient's handling of SIGCONT.
* emacsclient.c (handle_sigcont): Cancel the continue only if tty.
modified:
lib-src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1608
lib-src/emacsclient.c
emacsclient.c-20091113204419-o5vbwnq5f7feedwu-283
=== modified file 'lib-src/ChangeLog'
--- a/lib-src/ChangeLog 2014-02-13 02:19:48 +0000
+++ b/lib-src/ChangeLog 2014-02-25 19:06:53 +0000
@@ -1,3 +1,8 @@
+2014-02-25 Andreas Amann <address@hidden> (tiny change)
+
+ Fix emacsclient's handling of SIGCONT (Bug#16883).
+ * emacsclient.c (handle_sigcont): Cancel the continue only if tty.
+
2014-01-22 Eli Zaretskii <address@hidden>
* update-game-score.c (write_scores) [WINDOWSNT]: Use chmod
=== modified file 'lib-src/emacsclient.c'
--- a/lib-src/emacsclient.c 2014-01-01 07:43:34 +0000
+++ b/lib-src/emacsclient.c 2014-02-25 19:06:53 +0000
@@ -1108,12 +1108,12 @@
if (tcgetpgrp (1) == getpgrp ())
{
- /* We are in the foreground. */
+ /* We are in the foreground. */
send_to_emacs (emacs_socket, "-resume \n");
}
- else
+ else if (tty)
{
- /* We are in the background; cancel the continue. */
+ /* We are in the background; cancel the continue. */
raise (SIGSTOP);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r116558: Fix emacsclient's handling of SIGCONT.,
Paul Eggert <=