From: Stephen R. van den Berg Date: Tue, 12 Aug 2008 19:36:13 +0000 (+0200) Subject: git-daemon: SysV needs the signal handler reinstated. X-Git-Tag: v1.6.0-rc3~6 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bd7b371e9c2aeb0aaf228dc1655e8d04fca6f797;p=git.git git-daemon: SysV needs the signal handler reinstated. Fixes the bug on (amongst others) Solaris that only the first child ever is reaped. Signed-off-by: Stephen R. van den Berg Signed-off-by: Junio C Hamano --- diff --git a/daemon.c b/daemon.c index 4540e8df5..8dcde7320 100644 --- a/daemon.c +++ b/daemon.c @@ -794,6 +794,7 @@ static void child_handler(int signo) } break; } + signal(SIGCHLD, child_handler); } static int set_reuse_addr(int sockfd)