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





------- Comment #5 from [EMAIL PROTECTED]  2007-08-21 06:00 CST -------
Created an attachment (id=2876)
 --> (https://bugzilla.samba.org/attachment.cgi?id=2876&action=view)
Alternative solution: check exclusion both ways

The attached patch gives an alternative way to fix the hanging without breaking
directory-specific exclude rules.  make_file calls is_exclude twice to
determine whether the file would be excluded if it is a directory and whether
it would be excluded if it isn't one.  If the file would be excluded either
way, make_file skips calling stat.

This solution has two disadvantages: the filter list is scanned twice (hurting
performance), and at -vv level, hypothetical "showing/hiding file/directory X
because of pattern Y" messages are printed.


-- 
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.
-- 
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to