DO NOT REPLY [Bug 6027] Error when rsync encounters empty symlinks

samba-bugs at samba-bugs at
Thu Feb 5 02:30:48 GMT 2009

wayned at changed:

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

------- Comment #5 from wayned at  2009-02-04 20:30 CST -------
The thing I dislike about both my patch and yours is that it stops the
receiving side from removing a symlink that shouldn't be there just because it
has a 0-length value.  Because of this, I moved the check to where it would
only affect the sending of the file list to the receiver.

I have checked in a fix to prevent a fatal error for a 0-length symlink.

As for you comment #3, I am missing what you are driving at.  If readlink()
doesn't work on a symlink, how can something read the link to follow it?

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