1
Fork 0
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:
Richard M. Stallman 1996-06-12 21:49:19 +00:00
parent 2a5af1cf4f
commit 57e3d22a51

View file

@ -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 (