Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Make sure that all programs that use syscall.o also include
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
1e18766
..
600d91c
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-164,6
+164,9
@@
int do_mkstemp(char *template, mode_t perms)
errno = errno_save;
return -1;
}
+#if HAVE_SETMODE && O_BINARY
+ setmode(fd, O_BINARY);
+#endif
return fd;
}
#else