changeset 83611:a5651b79b31b

* emacsclient.c (handle_sigtstp): Use the new name for the socket variable.
author Dan Nicolaescu <dann@ics.uci.edu>
date Thu, 17 May 2007 00:17:06 +0000
parents 0e545daaf463
children e224be42ac30
files lib-src/ChangeLog.multi-tty lib-src/emacsclient.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/ChangeLog.multi-tty	Thu May 17 00:08:25 2007 +0000
+++ b/lib-src/ChangeLog.multi-tty	Thu May 17 00:17:06 2007 +0000
@@ -1,3 +1,8 @@
+2007-05-17  Dan Nicolaescu  <dann@ics.uci.edu>
+
+	* emacsclient.c (handle_sigtstp): Use the new name for the
+          socket variable.
+
 2007-05-16  Dan Nicolaescu  <dann@ics.uci.edu>
 
 	* emacsclient.c (decode_options): Don't use a tty on windows.
--- a/lib-src/emacsclient.c	Thu May 17 00:08:25 2007 +0000
+++ b/lib-src/emacsclient.c	Thu May 17 00:17:06 2007 +0000
@@ -977,7 +977,7 @@
   int old_errno = errno;
   sigset_t set;
   
-  if (s)
+  if (emacs_socket)
     send_to_emacs (emacs_socket, "-suspend \n");
 
   /* Unblock this signal and call the default handler by temprarily