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 5832b203c0f6507f8d7094a67413e32a28f8159f..a216b6a32c53650629a9efd223d826075c179356 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 56d88b4820eda7dbf17676c79848ee2e765cc014..3780bac581e82d5390be407915513751e5e01382 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);
 }