From 82f5899d0e3c72a49859cb93fe637bca76708cf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20E=C3=9Fer?= Date: Sun, 8 Apr 2001 17:34:49 +0000 Subject: Fix SIGCHLD handling. --- net-mgmt/argus/files/patch-ac | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 net-mgmt/argus/files/patch-ac (limited to 'net-mgmt') 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); -- cgit v1.2.3