From eb8c0fb2107ae79923ea1bb19b36f1db4f2ce09d Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Thu, 24 Apr 2003 09:07:36 +0000 Subject: Don't ignore SIGCHLD - doing so means that, on many platforms, we don't get any status information from the child process when it terminates, and we want that status information (e.g., death due to a signal). svn path=/trunk/; revision=7549 --- capture.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'capture.c') diff --git a/capture.c b/capture.c index 82e2217614..fffc3c2949 100644 --- a/capture.c +++ b/capture.c @@ -1,7 +1,7 @@ /* capture.c * Routines for packet capture windows * - * $Id: capture.c,v 1.205 2003/01/23 09:04:54 guy Exp $ + * $Id: capture.c,v 1.206 2003/04/24 09:07:36 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs @@ -449,7 +449,6 @@ do_capture(const char *save_file) /* Keep a copy for later evaluation by _cwait() */ child_process = fork_child; #else - signal(SIGCHLD, SIG_IGN); if (pipe(sync_pipe) < 0) { /* Couldn't create the pipe between parent and child. */ error = errno; -- cgit v1.2.3