Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
We no longer munge a double-leading slash in do_open() because we
[rsync/rsync.git]
/
syscall.c
diff --git
a/syscall.c
b/syscall.c
index
dbde033
..
391846b
100644
(file)
--- a/
syscall.c
+++ b/
syscall.c
@@
-85,8
+85,6
@@
int do_open(char *pathname, int flags, mode_t mode)
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);
}