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

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

------- Comment #3 from matt at  2008-01-09 11:57 CST -------
Created an attachment (id=3091)
 --> (

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:
------- 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