diff options
| author | Ian Lance Taylor <iant@golang.org> | 2018-09-13 12:18:09 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-09-13 21:34:56 +0000 |
| commit | 9f59918cae5eb23fdf0135b77280907365b52069 (patch) | |
| tree | 5325401e234cd2cc728b1c5b221b7732bf502840 /test/codegen/memops.go | |
| parent | 7c95703c090757c4ca3f0792357e1595b03d6bca (diff) | |
| download | go-9f59918cae5eb23fdf0135b77280907365b52069.tar.xz | |
path/filepath: correct symlink eval for symlink at root
For a relative symlink in the root directory, such as /tmp ->
private/tmp, we were dropping the leading slash.
No test because we can't create a symlink in the root directory.
The test TestGZIPFilesHaveZeroMTimes was failing on the Darwin builders.
Updates #19922
Updates #20506
Change-Id: Ic83cb6d97ad0cb628fc551ac772a44fb3e20f038
Reviewed-on: https://go-review.googlesource.com/135295
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
Diffstat (limited to 'test/codegen/memops.go')
0 files changed, 0 insertions, 0 deletions
