From: Alex Brainman Date: Wed, 28 Mar 2012 01:27:36 +0000 (+1100) Subject: path/filepath: correct comment in EvalSymlinks X-Git-Tag: weekly.2012-03-27~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=48a2c50a18253a034fd85a7c75bd52ebf383a620;p=gostls13.git path/filepath: correct comment in EvalSymlinks R=golang-dev, r CC=golang-dev, hcwfrichter https://golang.org/cl/5934046 --- 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:] }