log file with unexpected output on deleted files (bug?)
Jens Helweg
helweg at gmx.de
Wed Jan 3 15:15:50 GMT 2007
On Sat, 23 Dec 2006 07:58:29 -0800 Wayne Davison wrote:
This is due to a bug-fix to help an rsync daemon log where the files are
in the hierarchy, but it's being applied to non-daemons where it is
causing a problem with the output (which affects more than just deleted
files). The fix is as simple as the appended patch.
Thanks for the bug report!
..wayne..
--- log.c 17 Dec 2006 00:40:36 -0000 1.169
+++ log.c 23 Dec 2006 15:56:30 -0000
@@ -525,7 +525,7 @@ static void log_formatted(enum logcode c
n = c;
} else
n = buf2;
- } else if (*c != '/') {
+ } else if (am_daemon && *c != '/') {
pathjoin(buf2, sizeof buf2,
curr_dir + module_dirlen, c);
clean_fname(buf2, 0);
--
Thanks for the patch. I could not find a release plan or anything to tell me when 2.6.10 will be released ?
Is this already scheduled ?
Jens
More information about the rsync
mailing list