diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-04-24 09:07:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-04-24 09:07:36 +0000 |
commit | eb8c0fb2107ae79923ea1bb19b36f1db4f2ce09d (patch) | |
tree | f9d72fb42f16f904e61fa35e5d2ac4de5d5c86ab | |
parent | 78217ecd6a6d085b4e83c5e8d3b0692313efeb32 (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).
svn path=/trunk/; revision=7549
-rw-r--r-- | capture.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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; |