Doc.
authorMartin Pool <mbp@samba.org>
Fri, 23 Feb 2001 01:45:46 +0000 (01:45 +0000)
committerMartin Pool <mbp@samba.org>
Fri, 23 Feb 2001 01:45:46 +0000 (01:45 +0000)
log.c
syscall.c

diff --git a/log.c b/log.c
index 5832b20..a216b6a 100644 (file)
--- 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 <mbp@samba.org>
+   Copyright (C) 2000-2001 by Martin Pool <mbp@samba.org>
    
    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;
        }
index 56d88b4..3780bac 100644 (file)
--- 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);
 }