]> Cypherpunks repositories - gostls13.git/commit
path/filepath: re-implement windows EvalSymlinks
authorAlex Brainman <alex.brainman@gmail.com>
Wed, 9 Aug 2017 01:33:40 +0000 (11:33 +1000)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 5 Oct 2017 04:16:00 +0000 (04:16 +0000)
commit66c03d39f3aa65ec522c41e56c569391786539a7
treea9951c90ce45fecb2cd9dbd2cc50c8f0419bf159
parent56462d0f10f4d88f30e0b9a6763835c85c3cd632
path/filepath: re-implement windows EvalSymlinks

CL 41834 used approach suggested by Raymond Chen in
https://blogs.msdn.microsoft.com/oldnewthing/20100212-00/?p=14963/
to implement os.Stat by getting Windows I/O manager
follow symbolic links.

Do the same for filepath.EvalSymlinks, when existing
strategy fails.

Updates #19922
Fixes #20506

Change-Id: I15f3d3a80256bae86ac4fb321fd8877e84d8834f
Reviewed-on: https://go-review.googlesource.com/55612
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/go/build/deps_test.go
src/internal/syscall/windows/syscall_windows.go
src/internal/syscall/windows/zsyscall_windows.go
src/os/os_windows_test.go
src/path/filepath/path_windows_test.go
src/path/filepath/symlink_windows.go