*
* Author: S. Piccardi Dec. 2002
*
- * $Id: SigHand.c,v 1.6 2003/05/06 11:29:16 piccardi Exp $
+ * $Id: SigHand.c,v 1.7 2003/05/06 14:05:12 piccardi Exp $
*
*****************************************************************************/
#include <errno.h> /* error simbol definitions */
* Generic handler for SIGCHLD signal
*
* Simone Piccardi Dec. 2002
- * $Id: SigHand.c,v 1.6 2003/05/06 11:29:16 piccardi Exp $
+ * $Id: SigHand.c,v 1.7 2003/05/06 14:05:12 piccardi Exp $
*/
void HandSigCHLD(int sig)
{
do {
errno = 0;
pid = waitpid(WAIT_ANY, &status, WNOHANG);
- if (pid > 0) {
- debug("child %d terminated with status %x\n", pid, status);
- }
+// if (pid > 0) {
+// debug("child %d terminated with status %x\n", pid, status);
+// }
} while ((pid > 0) && (errno == EINTR));
/* restore errno value*/
errno = errno_save;