# HG changeset patch # User Richard M. Stallman # Date 834616159 0 # Node ID 5b9fe08fa6eb8f068d9f7adf7db2a1265e441b92 # Parent dd639432a55a7c902632732bf38a94240c48bcf1 (main): For SIGHUP, use sigblock and sigunblock, not sigblockx and sigunblockx. diff -r dd639432a55a -r 5b9fe08fa6eb src/emacs.c --- 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 (