Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f0f5767
)
Doc.
author
Martin Pool
<mbp@samba.org>
Fri, 23 Feb 2001 01:45:46 +0000
(
01:45
+0000)
committer
Martin Pool
<mbp@samba.org>
Fri, 23 Feb 2001 01:45:46 +0000
(
01:45
+0000)
log.c
patch
|
blob
|
blame
|
history
syscall.c
patch
|
blob
|
blame
|
history
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"; -*-
/* -*- 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
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;
}
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;
}
if (am_server && io_multiplex_write(code, buf, len)) {
return;
}
diff --git
a/syscall.c
b/syscall.c
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;}
{
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);
}
return mktemp(template);
}