X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b0f3f5784c8635fe08d5d8e397f476a0c9ccba66..ba35824322939b54352443461bc645c29f61cfb6:/syscall.c 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); }