diff options
author | David Dykstra <dwd@samba.org> | 2003-01-28 02:51:03 +0000 |
---|---|---|
committer | David Dykstra <dwd@samba.org> | 2003-01-28 02:51:03 +0000 |
commit | 8ed16deb249535905b947496290e19344e93ea41 (patch) | |
tree | 29e9363fa3956e4af8cb8a45d5eb62ee84787273 /main.c | |
parent | a577af90678fa1b7b8b56666d6587fd7d6f145fe (diff) | |
download | rsync-8ed16deb249535905b947496290e19344e93ea41.tar.gz rsync-8ed16deb249535905b947496290e19344e93ea41.tar.bz2 rsync-8ed16deb249535905b947496290e19344e93ea41.zip |
Change so the delay before generator signals receiver is only done on Cygwin.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -462,9 +462,11 @@ 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); kill(pid, SIGUSR2); +#endif wait_process(pid, &status); return status; } |