X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/787568f3719e0f80881fdf2124e11dc97c827ec4..38843171817eda292ad3f35de463ed2cb04689ef:/main.c diff --git a/main.c b/main.c index 53a237ca..c2681e61 100644 --- a/main.c +++ b/main.c @@ -462,8 +462,10 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name) io_flush(); io_set_error_fd(-1); +#ifdef DELAY_BEFORE_SIGNALING_RECEIVER /* workaround for cygwin hangs; wait to make sure child is ready */ msleep(100); +#endif kill(pid, SIGUSR2); wait_process(pid, &status); return status;