Remove the Cygwin msleep(100) before the generator kills the receiver,

because it caused the testsuite/unsafe-links test to hang.
This commit is contained in:
David Dykstra committed 2003-01-28 05:05:53 +00:00
1 parent 3884317181
commit 7d085960eb
3 files changed
-15

No files matched your search

-2
View File
@@ -72,8 +72,6 @@ rsync changes since last release
* Prevent "Connection reset by peer" messages from Cygwin. (Randy O'Meara)
* Prevent some hangs at the end of a run on Cygwin. (Anthony Heading)
INTERNAL:
* Many code cleanups and improved internal documentation. (Martin
-9
View File
@@ -256,15 +256,6 @@ case $host_os in
* ) AC_MSG_RESULT(no);;
esac
AC_MSG_CHECKING([whether generator should delay before signaling receiver])
case $host_os in
*cygwin* ) AC_MSG_RESULT(yes)
AC_DEFINE(DELAY_BEFORE_SIGNALING_RECEIVER, 1,
[Define if generator should delay before signaling receiver])
;;
* ) AC_MSG_RESULT(no);;
esac
AC_C_BIGENDIAN
AC_HEADER_DIRENT
AC_HEADER_TIME
-4
View File
@@ -462,10 +462,6 @@ 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;