[PATCH] Don't strip two leading slashes from paths.

Wayne Davison wayned at samba.org
Sat Nov 15 22:04:12 GMT 2008


On Sat, Nov 15, 2008 at 01:09:20PM -0800, David Rothenberger wrote:
> Does this patch (or a modified version that conforms to POSIX) stand a
> chance of being accepted?

There's a problem with including this in the mainstream version:  if we
don't turn //some/path into /some/path, it won't match a daemon-config
exclusion of "/some/path".  So, this would need to be conditionally
compiled into the code so that it only affects systems that treat a
leading "//" as a different path from a leading "/".

..wayne..


More information about the rsync mailing list