mirror of
https://github.com/git/git.git
synced 2024-11-18 19:13:58 +01:00
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>
This commit is contained in:
parent
04c6e9e9ca
commit
bd7b371e9c
1
daemon.c
1
daemon.c
@ -794,6 +794,7 @@ static void child_handler(int signo)
|
||||
}
|
||||
break;
|
||||
}
|
||||
signal(SIGCHLD, child_handler);
|
||||
}
|
||||
|
||||
static int set_reuse_addr(int sockfd)
|
||||
|
Loading…
Reference in New Issue
Block a user