Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
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
raw
|
patch
| inline |
side by side
(parent:
04c6e9e
)
diff --git
a/daemon.c
b/daemon.c
index 4540e8df5ab8bc8ff66549144d7db2928e12199b..8dcde73200d1ddbc0dec0dbfdc2f4ff15047abd9 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)