diff options
Diffstat (limited to 'libgo/go/path/filepath/symlink_windows.go')
-rw-r--r-- | libgo/go/path/filepath/symlink_windows.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libgo/go/path/filepath/symlink_windows.go b/libgo/go/path/filepath/symlink_windows.go index 9adc8a48af0..327c2c89a37 100644 --- a/libgo/go/path/filepath/symlink_windows.go +++ b/libgo/go/path/filepath/symlink_windows.go @@ -50,6 +50,11 @@ func toLong(path string) (string, error) { } func evalSymlinks(path string) (string, error) { + path, err := walkSymlinks(path) + if err != nil { + return "", err + } + p, err := toShort(path) if err != nil { return "", err |