From 18c71e96f8f9281f570046095433df38c6785fd6 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 23 Feb 2001 01:45:46 +0000 Subject: [PATCH] Doc. --- log.c | 5 +++-- syscall.c | 3 +++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/log.c b/log.c index 5832b203..a216b6a3 100644 --- a/log.c +++ b/log.c @@ -1,6 +1,7 @@ /* -*- c-file-style: "linux"; -*- - Copyright (C) 1998-2001 by Andrew Tridgell + Copyright (C) 1998-2001 by Andrew Tridgell + Copyright (C) 2000-2001 by Martin Pool This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -170,7 +171,7 @@ void rwrite(enum logcode code, char *buf, int len) return; } - /* then try to pass it to the other end */ + /* if that fails, try to pass it to the other end */ if (am_server && io_multiplex_write(code, buf, len)) { return; } 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); } -- 2.34.1