mirror of
https://github.com/mirror/make.git
synced 2025-01-06 02:10:35 +08:00
Formerly job.c.~94~
This commit is contained in:
parent
afa97833cc
commit
8b738924b0
9
job.c
9
job.c
@ -412,20 +412,13 @@ free_child (child)
|
|||||||
#ifdef POSIX
|
#ifdef POSIX
|
||||||
extern sigset_t fatal_signal_set;
|
extern sigset_t fatal_signal_set;
|
||||||
|
|
||||||
static void
|
void
|
||||||
unblock_sigs ()
|
unblock_sigs ()
|
||||||
{
|
{
|
||||||
sigset_t empty;
|
sigset_t empty;
|
||||||
sigemptyset (&empty);
|
sigemptyset (&empty);
|
||||||
sigprocmask (SIG_SETMASK, &empty, (sigset_t *) 0);
|
sigprocmask (SIG_SETMASK, &empty, (sigset_t *) 0);
|
||||||
}
|
}
|
||||||
#else
|
|
||||||
#ifdef HAVE_SIGSETMASK
|
|
||||||
extern int fatal_signal_mask;
|
|
||||||
#define unblock_sigs() sigsetmask (0)
|
|
||||||
#else
|
|
||||||
#define unblock_sigs()
|
|
||||||
#endif
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Start a job to run the commands specified in CHILD.
|
/* Start a job to run the commands specified in CHILD.
|
||||||
|
Loading…
Reference in New Issue
Block a user