diff options
author | Stephen R. van den Berg <srb@cuci.nl> | 2008-08-12 21:36:13 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-08-13 00:41:08 +0200 |
commit | bd7b371e9c2aeb0aaf228dc1655e8d04fca6f797 (patch) | |
tree | 040e5152d7923ff5126ec6caac3f006c0140d8cd /daemon.c | |
parent | diff --check: do not unconditionally complain about trailing empty lines (diff) | |
download | git-bd7b371e9c2aeb0aaf228dc1655e8d04fca6f797.tar.xz git-bd7b371e9c2aeb0aaf228dc1655e8d04fca6f797.zip |
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 <srb@cuci.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
-rw-r--r-- | daemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -794,6 +794,7 @@ static void child_handler(int signo) } break; } + signal(SIGCHLD, child_handler); } static int set_reuse_addr(int sockfd) |