Skip to content

Commit

Permalink
git-daemon: SysV needs the signal handler reinstated.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Stephen R. van den Berg authored and Junio C Hamano committed Aug 12, 2008
1 parent 04c6e9e commit bd7b371
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions daemon.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,6 +794,7 @@ static void child_handler(int signo)
}
break;
}
signal(SIGCHLD, child_handler);
}

static int set_reuse_addr(int sockfd)
Expand Down

0 comments on commit bd7b371

Please sign in to comment.