diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2012-03-28 12:27:36 +1100 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2012-03-28 12:27:36 +1100 |
commit | 48a2c50a18253a034fd85a7c75bd52ebf383a620 (patch) | |
tree | df6e3a46149bb664946464f1e0ceb03fe4ad8194 | |
parent | 70a8948a39eb2bcca635e2a3beb39812bb7122db (diff) | |
download | go-48a2c50a18253a034fd85a7c75bd52ebf383a620.tar.gz go-48a2c50a18253a034fd85a7c75bd52ebf383a620.zip |
path/filepath: correct comment in EvalSymlinks
R=golang-dev, r
CC=golang-dev, hcwfrichter
https://golang.org/cl/5934046
-rw-r--r-- | src/pkg/path/filepath/symlink_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/path/filepath/symlink_windows.go b/src/pkg/path/filepath/symlink_windows.go index 2b5d1fc681..1ee939928e 100644 --- a/src/pkg/path/filepath/symlink_windows.go +++ b/src/pkg/path/filepath/symlink_windows.go @@ -55,7 +55,7 @@ func evalSymlinks(path string) (string, error) { // syscall.GetLongPathName does not change the case of the drive letter, // but the result of EvalSymlinks must be unique, so we have // EvalSymlinks(`c:\a`) == EvalSymlinks(`C:\a`). - // Make drive letter upper case. This matches what os.Getwd returns. + // Make drive letter upper case. if len(p) >= 2 && p[1] == ':' && 'a' <= p[0] && p[0] <= 'z' { p = string(p[0]+'A'-'a') + p[1:] } |