]> Cypherpunks repositories - gostls13.git/commitdiff
path/filepath: correct comment in EvalSymlinks
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 28 Mar 2012 01:27:36 +0000 (12:27 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 28 Mar 2012 01:27:36 +0000 (12:27 +1100)
R=golang-dev, r
CC=golang-dev, hcwfrichter
https://golang.org/cl/5934046

src/pkg/path/filepath/symlink_windows.go

index 2b5d1fc681b767caa71d1d85d40d35d6136d60a1..1ee939928e9ed0f4e81121f9c55f23927b661a49 100644 (file)
@@ -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:]
        }