This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
fixinc/fixincl.c SIGCHLD patch
- To: egcs-patches at egcs dot cygnus dot com
- Subject: fixinc/fixincl.c SIGCHLD patch
- From: korbb at egcs dot cygnus dot com
- Date: 20 May 1999 15:37:04 -0000
- Cc: ddsinc09 at ix dot netcom dot com
Reply-To: ddsinc09@ix.netcom.com
How one deals with dying children is apparently
highly variable. With an earlier fix, we _always_
wait for children. On some systems, if you ignore
SIGCLD, then you cannot wait for them. So, we
won't ignore SIGCLD anymore. :)
Index: fixincl.c
===================================================================
RCS file: /cvs/egcs/egcs/gcc/fixinc/fixincl.c,v
retrieving revision 1.11.4.1
retrieving revision 1.11.4.2
diff -u -r1.11.4.1 -r1.11.4.2
--- fixincl.c 1999/05/20 07:15:10 1.11.4.1
+++ fixincl.c 1999/05/20 08:14:38 1.11.4.2
@@ -279,13 +279,6 @@
/*#*/ error "NON-BOGUS LIMITS NOT SUPPORTED?!?!"
#endif
- /*
- Here we are the child of the grandparent process. The parent
- of all the little fixup processes. We ignore the deaths of
- our children. */
-
- signal (SIGCLD, SIG_IGN);
-
/* For every file specified in stdandard in
(except as throttled for bogus reasons)...
*/