summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorDavid Dykstra <dwd@samba.org>2003-01-28 03:03:55 +0000
committerDavid Dykstra <dwd@samba.org>2003-01-28 03:03:55 +0000
commit089a2435f83439a7eb68a539fd99d39b220df120 (patch)
tree355ca56f99e03b4e8b1d8d4093328948fd3cbb2d /main.c
parent8ed16deb249535905b947496290e19344e93ea41 (diff)
downloadrsync-089a2435f83439a7eb68a539fd99d39b220df120.tar.gz
rsync-089a2435f83439a7eb68a539fd99d39b220df120.tar.bz2
rsync-089a2435f83439a7eb68a539fd99d39b220df120.zip
Ack! I had accidentally ifdefed out the kill from the generator to the
receiver process for every platform except Cygwin.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index f61ead43..c2681e61 100644
--- a/main.c
+++ b/main.c
@@ -465,8 +465,8 @@ static int do_recv(int f_in,int f_out,struct file_list *flist,char *local_name)
#ifdef DELAY_BEFORE_SIGNALING_RECEIVER
/* workaround for cygwin hangs; wait to make sure child is ready */
msleep(100);
- kill(pid, SIGUSR2);
#endif
+ kill(pid, SIGUSR2);
wait_process(pid, &status);
return status;
}