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 a TODO item about temporary file names bumping up against the
[rsync/rsync.git]
/
main.c
diff --git
a/main.c
b/main.c
index
b571b3a
..
53a237c
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-462,6
+462,8
@@
static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
io_flush();
io_set_error_fd(-1);
io_flush();
io_set_error_fd(-1);
+ /* workaround for cygwin hangs; wait to make sure child is ready */
+ msleep(100);
kill(pid, SIGUSR2);
wait_process(pid, &status);
return status;
kill(pid, SIGUSR2);
wait_process(pid, &status);
return status;