OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
04c6e9e
)
git-daemon: SysV needs the signal handler reinstated.
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>
daemon.c
patch
|
blob
|
history
diff --git
a/daemon.c
b/daemon.c
index
4540e8d
..
8dcde73
100644
(file)
--- a/
daemon.c
+++ b/
daemon.c
@@
-794,6
+794,7
@@
static void child_handler(int signo)
}
break;
}
+ signal(SIGCHLD, child_handler);
}
static int set_reuse_addr(int sockfd)