]> Cypherpunks repositories - gostls13.git/commit
path/filepath: return special error from EvalSymlinks
authorAlex Brainman <alex.brainman@gmail.com>
Sat, 5 Jan 2019 07:35:27 +0000 (18:35 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Thu, 10 Jan 2019 08:35:34 +0000 (08:35 +0000)
commit44cf595a7efcd3d7048c745d1d1531696bcb5941
tree05f200532f0950ece15d871efea5cfb7927dc3c2
parent94d9a2045398b471c8aec0b701cad06536e049b3
path/filepath: return special error from EvalSymlinks

CL 155597 attempted to fix #29372. But it failed to make all new
test cases pass. Also CL 155597 broke some existing code
(see #29449 for details).

Make small adjustment to CL 155597 that fixes both #29372 and #29449.

Suggested by Ian.

Updates #29372
Fixes #29449

Change-Id: I9777a615514d3f152af5acb65fb1239e696607b6
Reviewed-on: https://go-review.googlesource.com/c/156398
Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/path/filepath/path_test.go
src/path/filepath/path_windows_test.go
src/path/filepath/symlink.go
src/path/filepath/symlink_unix.go
src/path/filepath/symlink_windows.go