summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 04c6e9e)
raw | patch | inline | side by side (parent: 04c6e9e)
author | Stephen R. van den Berg <srb@cuci.nl> | |
Tue, 12 Aug 2008 19:36:13 +0000 (21:36 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 12 Aug 2008 22:41:08 +0000 (15:41 -0700) |
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>
child ever is reaped.
Signed-off-by: Stephen R. van den Berg <srb@cuci.nl>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
daemon.c | patch | blob | history |
diff --git a/daemon.c b/daemon.c
index 4540e8df5ab8bc8ff66549144d7db2928e12199b..8dcde73200d1ddbc0dec0dbfdc2f4ff15047abd9 100644 (file)
--- a/daemon.c
+++ b/daemon.c
}
break;
}
+ signal(SIGCHLD, child_handler);
}
static int set_reuse_addr(int sockfd)