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
a couple of changes to where the nonblocking settings are called.
[rsync/rsync.git]
/
clientserver.c
diff --git
a/clientserver.c
b/clientserver.c
index
3266da5
..
955be24
100644
(file)
--- a/
clientserver.c
+++ b/
clientserver.c
@@
-392,6
+392,9
@@
int daemon_main(void)
close(i);
open("/dev/null", O_RDWR);
}
+
+ set_nonblocking(STDIN_FILENO);
+
return start_daemon(STDIN_FILENO);
}