diff options
| author | Martin Pool <mbp@samba.org> | 2002-01-14 00:16:51 +0000 |
|---|---|---|
| committer | Martin Pool <mbp@samba.org> | 2002-01-14 00:16:51 +0000 |
| commit | 25f2cb3d6b7537149b5645ed13cdd9785fa225ab (patch) | |
| tree | b820b78b799c6cdad3bfcd6ab8afc5d1aa81d605 /syscall.c | |
| parent | 154f9a3acae2694db5593ccd28f3e556744babbe (diff) | |
| download | android_external_rsync-25f2cb3d6b7537149b5645ed13cdd9785fa225ab.tar.gz android_external_rsync-25f2cb3d6b7537149b5645ed13cdd9785fa225ab.tar.bz2 android_external_rsync-25f2cb3d6b7537149b5645ed13cdd9785fa225ab.zip | |
Fix for <http://rsync.samba.org/cgi-bin/rsync/incoming?id=3750>
temp files must be opened through do_open so that binary modes is used
on cygwin. (Chris Boucher)
Diffstat (limited to 'syscall.c')
| -rw-r--r-- | syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -132,7 +132,7 @@ int do_mkstemp(char *template, mode_t perms) } #else if (!mktemp(template)) return -1; - return open(template, O_RDWR|O_EXCL|O_CREAT, perms); + return do_open(template, O_RDWR|O_EXCL|O_CREAT, perms); #endif } |
