[PATCH] open O_TEXT and O_BINARY for cygwin/windows

Dave Dykstra dwd at drdykstra.us
Tue Jan 28 16:02:27 EST 2003

On Mon, Jan 27, 2003 at 04:01:46PM -0600, Dave Dykstra wrote:
> On Mon, Jan 27, 2003 at 04:45:25PM -0000, Max Bowsher wrote:
> > Cygwin has gone through many minor versions since then. I suggest releasing
> > an rsync without the hack, but with a command line option to turn it on.
> > That way, we get to see for certain whether the problem still exists, and
> > there is an easy workaround available if it does.
> So many people have complained about Cygwin hangs that I'm inclined to
> leave the msleep(100) in on this release by default, but only on Cygwin.
> When the problem is shown to be fixed on Cygwin, it can be taken back
> out.

I give up.  The msleep(100) consistently causes hangs of the unsafe-links
test on my friend's cygwin Windows 2000 machine.  I suspect it's also the
reason why the build.samba.org cygwin machine hasn't reported a result
in the last 9 hours.  I'm taking it back out and washing my hands of the
cygwin rsync port, I'm fed up.

- Dave

More information about the rsync mailing list