Please help : Strange 'file has vanished' behaviour with rsync
on windows.
Wayne Davison
wayned at samba.org
Sat Feb 7 00:20:57 GMT 2004
On Fri, Feb 06, 2004 at 03:55:50PM -0800, Wayne Davison wrote:
> Rsync does not support giving special meaning to multiple adjacent
> slashes
You can try applying this patch, rebuilding, and seeing if that fixes
things for you. There may be other sections in the code that don't like
the multiple leading slashes, however.
..wayne..
-------------- next part --------------
--- syscall.c 30 Mar 2003 23:00:51 -0000 1.27
+++ syscall.c 7 Feb 2004 00:18:29 -0000
@@ -85,8 +85,6 @@ int do_open(char *pathname, int flags, m
if (dry_run) return -1;
CHECK_RO
}
- /* some systems can't handle a double / */
- if (pathname[0] == '/' && pathname[1] == '/') pathname++;
return open(pathname, flags | O_BINARY, mode);
}
More information about the rsync
mailing list