Sat Jun 22 14:56:05 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@redhat.com>
Sat, 22 Jun 1996 21:42:15 +0000 (21:42 +0000)
committerRoland McGrath <roland@redhat.com>
Sat, 22 Jun 1996 21:42:15 +0000 (21:42 +0000)
* job.c (start_job_command): Call block_sigs.
(block_sigs): New function, broken out of start_job_command.
(reap_children): Block fatal signals around removing dead child from
chain and adjusting job_slots_used.
* job.h: Declare block_sigs.

job.h

diff --git a/job.h b/job.h
index abd7167ea7428363e911a92d13645462eb6c7f8d..ca7ad1dcad27898dd0d696e56c23f7585b2b4815 100644 (file)
--- a/job.h
+++ b/job.h
@@ -1,5 +1,5 @@
 /* Definitions for managing subprocesses in GNU Make.
-Copyright (C) 1992, 1993 Free Software Foundation, Inc.
+Copyright (C) 1992, 1993, 1996 Free Software Foundation, Inc.
 This file is part of GNU Make.
 
 GNU Make is free software; you can redistribute it and/or modify
@@ -66,6 +66,7 @@ extern void exec_command PARAMS ((char **argv, char **envp));
 
 extern unsigned int job_slots_used;
 
+extern void block_sigs PARAMS ((void));
 #ifdef POSIX
 extern void unblock_sigs PARAMS ((void));
 #else