for systems with a broken select use u_sleep() to ensure the write
[rsync/rsync.git] / io.c
diff --git a/io.c b/io.c
index e8e1ceb..54ceb28 100644 (file)
--- a/io.c
+++ b/io.c
@@ -234,6 +234,7 @@ static int writefd(int fd,char *buf,int len)
            /* hmmm, we got a write select on the fd and then failed to write.
               Why doesn't that mean that the fd is dead? It doesn't on some
               systems it seems (eg. IRIX) */
+           u_sleep(1000);
 #if 0
            fprintf(FERROR,"write exception\n");
            exit_cleanup(1);