Commit 4068d861 authored by Wayne Davison's avatar Wayne Davison

We no longer munge a double-leading slash in do_open() because we

shouldn't generate a path with a double-leading slash anymore.
parent 421c2a24
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment