changeset 83348:afade4ccd30c

Fix broken emacsclient resume on Solaris (by Dan Nicolaescu). * lib-src/emacsclient.c (handle_sigcont): Reestablish signal handler. (Dan Nicolaescu) git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-388
author Karoly Lorentey <lorentey@elte.hu>
date Wed, 13 Jul 2005 16:15:50 +0000
parents 4835a94a6cc5
children 3d2bd2e4c7b7
files lib-src/emacsclient.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lib-src/emacsclient.c	Tue Jul 12 11:09:18 2005 +0000
+++ b/lib-src/emacsclient.c	Wed Jul 13 16:15:50 2005 +0000
@@ -378,6 +378,8 @@
       /* We are in the background; cancel the continue. */
       kill (getpid (), SIGSTOP);
     }
+
+  signal (signalnum, handle_sigcont);
   errno = old_errno;
 }