giacomo boffi <boffi(a)rachele.stru.polimi.it> writes:
sorry for the delay. yes, if i start xemacs with nohup, gnuserv
hangs
when xemacs is shut down
Did you seen the patch I sent for this
Jan
P.S. If not here it is again
Index: process-unix.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/process-unix.c,v
retrieving revision 1.11
diff -u -u -r1.11 process-unix.c
--- process-unix.c 1998/06/30 06:35:58 1.11
+++ process-unix.c 1998/08/20 21:19:22
@@ -920,12 +920,14 @@
EMACS_SET_TTY_PROCESS_GROUP (xforkin, &piddly);
}
-# ifdef AIX
/* On AIX, we've disabled SIGHUP above once we start a
child on a pty. Now reenable it in the child, so it
- will die when we want it to. */
+ will die when we want it to.
+ JV: This needs to be done ALWAYS as we might have inherited
+ a SIG_IGN handling from our parent (nohup) and we are in new
+ process group.
+ */
signal (SIGHUP, SIG_DFL);
-# endif /* AIX */
}
#endif /* HAVE_PTYS */