DO NOT REPLY [Bug 5182] -r --include= --exclude= broken for version>=3.0.0pre5?

samba-bugs at samba.org samba-bugs at samba.org
Wed Jan 9 17:57:48 GMT 2008


https://bugzilla.samba.org/show_bug.cgi?id=5182





------- Comment #3 from matt at mattmccutchen.net  2008-01-09 11:57 CST -------
Created an attachment (id=3091)
 --> (https://bugzilla.samba.org/attachment.cgi?id=3091&action=view)
Fix

The attached patch seems to fix the bug; I don't know if it's the right fix. 
The trouble was that, when rsync nulled out the trailing slash of the "./"
source argument, it failed to retreat the pointer at which it appended the
names of files in the directory.  As a result, it tried to send ".\0/src"
(i.e., ".") instead of "./src", hence the "removing duplicate name" message. 
I'm not sure why this wasn't a problem in rsync 3.0.0pre4.


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list