Displaying 3 results from an estimated 3 matches for "module_dirlen".
2007 Jul 02
3
DO NOT REPLY [Bug 4757] New: Daemon mis-logs paths if module path in rsyncd.conf is relative
...es received 183 bytes total size 0
I expected the logged paths to be relative to the root of the module as per
Wayne's remarks at http://lists.samba.org/archive/rsync/2007-June/017896.html ,
but instead they are absolute paths missing the first few characters.
The trouble is that rsync sets module_dirlen to the length of the module path
as given in rsyncd.conf at line 371 of clientserver.c but then uses it as an
index into curr_dir at line 535 of log.c . curr_dir begins with the absolute,
symlink-free path of the module, but if the path in rsyncd.conf is relative or
uses symlinks, skipping its len...
2006 Dec 21
3
log file with unexpected output on deleted files (bug?)
Hi there,
I am using rsync to synchronize two folders. I have configured the log-format to my personal needs like this:
--log-format="%f %t %o %l %P"
I am also using the --delete flag to log deleted files as well. I have upgraded my rsync version to 2.6.9 when I figured out that starting with version 2.6.4 the log format had been enhanced to also include the "del."
2007 Sep 22
0
rsync build on IA64 using icc
...tion in primary source file
extern char curr_dir[];
^
exclude.c(43): remark #1419: external declaration in primary source file
extern unsigned int curr_dir_len;
^
exclude.c(44): remark #1419: external declaration in primary source file
extern unsigned int module_dirlen;
^
exclude.c(128): remark #981: operands are evaluated in unspecified order
who_am_i(), get_rule_prefix(mflags, pat, 0, NULL),
^
exclude.c(127): remark #981: operands are evaluated in unspecified order
rprintf(FINFO, "[%s] add_rule(%s%.*s%s)%s\...