aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-24 09:07:36 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2003-04-24 09:07:36 +0000
commit10da8c3531e7cbdec5782a18178196208a2f31a2 (patch)
treef9d72fb42f16f904e61fa35e5d2ac4de5d5c86ab
parent87c6d251ac6df01f36ac708f9ba9672846cf3b2c (diff)
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). git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@7549 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--capture.c3
1 files changed, 1 insertions, 2 deletions
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 <gerald@ethereal.com>
@@ -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;