As noted by Chris Boucher in bug 3750 one open missed the ifdef to add
"binary" to the win32 compile.
http://rsync.samba.org/cgi-bin/rsync/incoming?id=3750;user=guest;selectid=3750
diff -Nrup rsync-2.5.1/syscall.c rsync-2.5.1-orig/syscall.c
--- rsync-2.5.1/syscall.c Sun Jan 13 20:57:18 2002
+++ rsync-2.5.1-orig/syscall.c Fri Nov 30 00:21:09 2001
@@ -132,7 +132,7 @@ int do_mkstemp(char *template, mode_t pe
}
#else
if (!mktemp(template)) return -1;
- return do_open(template, O_RDWR|O_EXCL|O_CREAT, perms);
+ return open(template, O_RDWR|O_EXCL|O_CREAT, perms);
#endif
}
--
Lapo 'Raist' Luchini
lapo@lapo.it (PGP & X.509 keys available)
http://www.lapo.it (ICQ UIN: 529796)