diff options
| author | Wayne Davison <wayned@samba.org> | 2004-02-17 22:49:19 +0000 |
|---|---|---|
| committer | Wayne Davison <wayned@samba.org> | 2004-02-17 22:49:19 +0000 |
| commit | 4068d8617dd301f7e1590b0419c9d2e24103b1b4 (patch) | |
| tree | e94f2e380d517f170aa9d4b0b9e081e95b50ab2a /syscall.c | |
| parent | 421c2a24485f78a1f2f549f5f19e358148a77b78 (diff) | |
| download | android_external_rsync-4068d8617dd301f7e1590b0419c9d2e24103b1b4.tar.gz android_external_rsync-4068d8617dd301f7e1590b0419c9d2e24103b1b4.tar.bz2 android_external_rsync-4068d8617dd301f7e1590b0419c9d2e24103b1b4.zip | |
We no longer munge a double-leading slash in do_open() because we
shouldn't generate a path with a double-leading slash anymore.
Diffstat (limited to 'syscall.c')
| -rw-r--r-- | syscall.c | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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); } |
