mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
(main): For SIGHUP, use sigblock and sigunblock,
not sigblockx and sigunblockx.
This commit is contained in:
parent
2a5af1cf4f
commit
57e3d22a51
1 changed files with 2 additions and 2 deletions
|
|
@ -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 (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue