diff options
author | Stefan Eßer <se@FreeBSD.org> | 2001-04-08 17:34:49 +0000 |
---|---|---|
committer | Stefan Eßer <se@FreeBSD.org> | 2001-04-08 17:34:49 +0000 |
commit | 82f5899d0e3c72a49859cb93fe637bca76708cf7 (patch) | |
tree | 155643b37251c48a434663a6500098b6c1e9aa8e /net-mgmt | |
parent | Fix handling of VLAN packets. (diff) |
Fix SIGCHLD handling.
Notes
Notes:
svn path=/head/; revision=41076
Diffstat (limited to 'net-mgmt')
-rw-r--r-- | net-mgmt/argus/files/patch-ac | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/net-mgmt/argus/files/patch-ac b/net-mgmt/argus/files/patch-ac new file mode 100644 index 000000000000..b1edf28f5411 --- /dev/null +++ b/net-mgmt/argus/files/patch-ac @@ -0,0 +1,29 @@ +--- server/ArgusOutput.c~ Thu Mar 15 22:19:42 2001 ++++ server/ArgusOutput.c Fri Apr 6 17:08:28 2001 +@@ -365,5 +365,5 @@ + sigignore(SIGINT); + sigignore(SIGTERM); +- sigignore(SIGCHLD); ++// sigignore(SIGCHLD); + #else + (void) signal (SIGPIPE, SIG_IGN); +@@ -371,9 +371,10 @@ + (void) signal (SIGINT, SIG_IGN); + (void) signal (SIGTERM, SIG_IGN); +- (void) signal (SIGCHLD, SIG_IGN); ++// (void) signal (SIGCHLD, SIG_IGN); + #endif + + (void) signal (SIGUSR1, (void (*)(int)) ArgusUsr1Sig); + (void) signal (SIGUSR2, (void (*)(int)) ArgusUsr2Sig); ++ (void) signal (SIGCHLD, (void (*)(int)) ArgusChildExit); + + if ((ArgusInputSocket = ArgusNewSocket (lfd)) != NULL) { +@@ -436,4 +437,7 @@ + } + ++ if (ArgusUpdateTime()) ++ ArgusHandleData(NULL, NULL, 0, NULL); ++ + if ((kill (ArgusParentPid, 0)) < 0) { + ArgusOutputCleanUp(0); |