[Bug 9212] rsync loses track of files if differing directory prefixes are given

samba-bugs at samba.org samba-bugs at samba.org
Sun Oct 7 11:51:23 MDT 2012


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

Wayne Davison <wayned at samba.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Wayne Davison <wayned at samba.org> 2012-10-07 17:51:22 UTC ---
Good catch -- the change_dir() routine was being too optimal after a
change_dir() where CD_SKIP_CHDIR had been used.  Your fix works great, and is
probably what packagers should snag for a 3.0.9 touch-up.

For the 3.1.0dev code, I decided to change the change_dir() routine itself so
that it knows that a skip has been done and avoids a needed chdir when
CD_NORMAL is requested.  It's a little more code, but will help ensure that any
other (future?) uses of change_dir() with CD_SKIP_CHDIR don't run into the same
issue.

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


More information about the rsync mailing list