Since my last update of my Cygwin installation I noticed that binary files copied from a Linux box were corrupted. The problem appeared to be text mode vs. binary mode. After some investigation I found the problem and I have a fix.

The diff is against the unpacked and prepared rsync-2.6.2-2 release (the latest, as far as I know).


-- Sjoerd Mullender <[EMAIL PROTECTED]>
--- syscall.c~  2004-02-18 23:33:21.000000000 +0100
+++ syscall.c   2004-09-21 10:33:50.442132800 +0200
@@ -164,6 +164,7 @@
                        errno = errno_save;
                        return -1;
                }
+               setmode(fd, O_BINARY);
                return fd;
        }
 #else

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Reply via email to