aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/path/filepath/symlink.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/path/filepath/symlink.go b/src/path/filepath/symlink.go
index 546f93b237..dc7e9eb9bf 100644
--- a/src/path/filepath/symlink.go
+++ b/src/path/filepath/symlink.go
@@ -59,8 +59,7 @@ func walkLinks(path string, linksWalked *int) (string, error) {
return newpath, err
case file == "":
if isDriveLetter(dir) {
- // appending "." to avoid bug in Join (see issue 11551)
- return dir + ".", nil
+ return dir, nil
}
if os.IsPathSeparator(dir[len(dir)-1]) {
if isRoot(dir) {