From f11352e68b53f0c9dc810124664691f4b73b8ca3 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Mon, 10 Mar 2014 01:09:30 +0100 Subject: [PATCH] lib-src/emacsclient.c (main): #ifdef out previous change on Windows. --- lib-src/ChangeLog | 4 ++++ lib-src/emacsclient.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/lib-src/ChangeLog b/lib-src/ChangeLog index 0c3d7d723c5..7e7f6bf3771 100644 --- a/lib-src/ChangeLog +++ b/lib-src/ChangeLog @@ -1,3 +1,7 @@ +2014-03-10 Juanma Barranquero + + * emacsclient.c (main): #ifdef out previous change on Windows. + 2014-03-09 Paul Eggert Fix emacsclient terminal corruption when in background (Bug#16892). diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c index cf16874589d..bd0aa121836 100644 --- a/lib-src/emacsclient.c +++ b/lib-src/emacsclient.c @@ -1556,6 +1556,7 @@ main (int argc, char **argv) exit (EXIT_FAILURE); } +#ifndef WINDOWSNT if (tty) { pid_t pgrp = getpgrp (); @@ -1563,6 +1564,7 @@ main (int argc, char **argv) if (0 <= tcpgrp && tcpgrp != pgrp) kill (-pgrp, SIGTTIN); } +#endif /* !WINDOWSNT */ /* If alternate_editor is the empty string, start the emacs daemon in case of failure to connect. */ -- 2.39.2