From: Wayne Davison Date: Sun, 26 Jan 2003 20:09:02 +0000 (+0000) Subject: Added back the O_BINARY #ifdef. X-Git-Tag: v2.5.6~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=855decd3a78cc20168159ade565b184ff8d6f649;p=thirdparty%2Frsync.git Added back the O_BINARY #ifdef. --- diff --git a/syscall.c b/syscall.c index c620f607..58f1f677 100644 --- a/syscall.c +++ b/syscall.c @@ -85,10 +85,10 @@ int do_open(char *pathname, int flags, mode_t mode) if (dry_run) return -1; CHECK_RO } - +#ifdef O_BINARY /* for Windows */ flags |= O_BINARY; - +#endif /* some systems can't handle a double / */ if (pathname[0] == '/' && pathname[1] == '/') pathname++;