]> Cypherpunks repositories - gostls13.git/commit
os: handle relative symlinks starting with slash in Stat on windows
authorHiroshi Ioka <hirochachacha@gmail.com>
Tue, 11 Apr 2017 20:34:36 +0000 (05:34 +0900)
committerAlex Brainman <alex.brainman@gmail.com>
Wed, 12 Apr 2017 23:33:11 +0000 (23:33 +0000)
commit8a2cc222098539a687accef75f0d1551079ca6c9
tree6685b730a3731260ef5c3e16b5e790d35f3f67d6
parent3692925c5e7e2f2b7728b8c0559403862d7bc681
os: handle relative symlinks starting with slash in Stat on windows

https://go-review.googlesource.com/c/39932/ handles relative symlinks.
But that change is incomplete.
We also have to handle relative symlinks starting with slash too.

Fixes #19937

Change-Id: I50dbccbaf270cb48a08fa57e5f450e5da18a7701
Reviewed-on: https://go-review.googlesource.com/40410
Reviewed-by: Alex Brainman <alex.brainman@gmail.com>
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/os/os_test.go
src/os/stat_windows.go