From 57e3d22a51e6bca0ff7bc94ed30739dafc09cb91 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 12 Jun 1996 21:49:19 +0000 Subject: [PATCH] (main): For SIGHUP, use sigblock and sigunblock, not sigblockx and sigunblockx. --- src/emacs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emacs.c b/src/emacs.c index 35c8de4d730..9677d5103b5 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -675,13 +675,13 @@ Usage: %s [-t term] [--terminal term] [-nw] [--no-windows] [--batch]\n\ #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 ( -- 2.39.5