fixinc/fixincl.c SIGCHLD patch

korbb@egcs.cygnus.com korbb@egcs.cygnus.com
Thu May 20 08:37:00 GMT 1999


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)...
       */


More information about the Gcc-patches mailing list