X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f0f5767f151100e679b4cab69f3cdad3884c1d5a..18c71e96f8f9281f570046095433df38c6785fd6:/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); }