diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-06-12 21:49:19 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-06-12 21:49:19 +0000 |
commit | 3950590123f5ed6bd4e93d908136f294f9446c47 (patch) | |
tree | bc3804ee1e01ff3f27143215aeb04ce65b93cde5 /src/emacs.c | |
parent | 7d960c5f41253e4bdf09a79dc0b88042aaabb421 (diff) | |
download | emacs-3950590123f5ed6bd4e93d908136f294f9446c47.tar.gz |
(main): For SIGHUP, use sigblock and sigunblock,
not sigblockx and sigunblockx.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 4 |
1 files 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 ( |