aboutsummaryrefslogtreecommitdiffstats
path: root/syscall.c
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-02-23 01:45:46 +0000
committerMartin Pool <mbp@samba.org>2001-02-23 01:45:46 +0000
commit18c71e96f8f9281f570046095433df38c6785fd6 (patch)
treebf82512825a4bcdaae922032aa5240557e29c19e /syscall.c
parentf0f5767f151100e679b4cab69f3cdad3884c1d5a (diff)
downloadandroid_external_rsync-18c71e96f8f9281f570046095433df38c6785fd6.tar.gz
android_external_rsync-18c71e96f8f9281f570046095433df38c6785fd6.tar.bz2
android_external_rsync-18c71e96f8f9281f570046095433df38c6785fd6.zip
Doc.
Diffstat (limited to 'syscall.c')
-rw-r--r--syscall.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/syscall.c b/syscall.c
index 56d88b48..3780bac5 100644
--- a/syscall.c
+++ b/syscall.c
@@ -117,6 +117,9 @@ char *do_mktemp(char *template)
{
if (dry_run) return NULL;
if (read_only) {errno = EROFS; return NULL;}
+
+ /* TODO: Replace this with a good builtin mkstemp, perhaps
+ * from OpenBSD. Some glibc versions are buggy. */
return mktemp(template);
}