Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added "ignore errors" option in rsyncd.conf
[rsync/rsync.git]
/
socket.c
diff --git
a/socket.c
b/socket.c
index
eb25d8c
..
4c81d59
100644
(file)
--- a/
socket.c
+++ b/
socket.c
@@
-255,7
+255,7
@@
void start_accept_loop(int port, int (*fn)(int ))
but I have had reports that on Digital Unix zombies
are produced, so this ensures that they are reaped */
#ifdef WNOHANG
-
waitpid(-1, NULL, WNOHANG
);
+
while (waitpid(-1, NULL, WNOHANG) > 0
);
#endif
if (fork()==0) {