From 8f597f696699ca0ceb398e9c6e5878d485385529 Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Sat, 28 Sep 1996 21:44:30 +0000 Subject: [PATCH] Remove childhandler. Not common any more. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@782 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/kx/common.c | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/appl/kx/common.c b/appl/kx/common.c index 0d3a1b92c..df98109a0 100644 --- a/appl/kx/common.c +++ b/appl/kx/common.c @@ -68,23 +68,6 @@ copy_encrypted (int fd1, int fd2, des_cblock *iv, } } -/* - * Signal handler that justs waits for the children when they die. - */ - -RETSIGTYPE -childhandler (int sig) -{ - pid_t pid; - int status; - - do { - pid = waitpid (-1, &status, WNOHANG|WUNTRACED); - } while(pid > 0); - signal (SIGCHLD, childhandler); - SIGRETURN(0); -} - #ifndef X_UNIX_PATH #define X_UNIX_PATH "/tmp/.X11-unix/X" #endif