git-daemon only reaps the first forked child on Solaris. Solaris signal handlers have to be reset each time the signal is handled. Signed-off-by: Andrew Wason <rectalogic@xxxxxxxxxxxxxx> --- daemon.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/daemon.c b/daemon.c index 4540e8d..47ad8ab 100644 --- a/daemon.c +++ b/daemon.c @@ -794,6 +794,8 @@ static void child_handler(int signo) } break; } + /* Signal handlers must be reinstated on Solaris */ + signal(SIGCHLD, child_handler); } static int set_reuse_addr(int sockfd) -- 1.5.6.2 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html