changeset 15423:5b9fe08fa6eb

(main): For SIGHUP, use sigblock and sigunblock, not sigblockx and sigunblockx.
author Richard M. Stallman <rms@gnu.org>
date Wed, 12 Jun 1996 21:49:19 +0000
parents dd639432a55a
children 85a85480fa3c
files src/emacs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/emacs.c	Wed Jun 12 21:47:59 1996 +0000
+++ b/src/emacs.c	Wed Jun 12 21:49:19 1996 +0000
@@ -675,13 +675,13 @@
 #endif
       )
     {
-      sigblockx (SIGHUP);
+      sigblock (sigmask (SIGHUP));
       /* In --batch mode, don't catch SIGHUP if already ignored.
 	 That makes nohup work.  */
       if (! noninteractive
 	  || signal (SIGHUP, SIG_IGN) != SIG_IGN)
 	signal (SIGHUP, fatal_error_signal);
-      sigunblockx (SIGHUP);
+      sigunblock (sigmask (SIGHUP));
     }
 
   if (