]> Cypherpunks repositories - gostls13.git/commit
cmd/go: referee another vendor vs symlink fight
authorRuss Cox <rsc@golang.org>
Fri, 21 Oct 2016 19:01:03 +0000 (15:01 -0400)
committerRuss Cox <rsc@golang.org>
Mon, 24 Oct 2016 15:16:08 +0000 (15:16 +0000)
commita1813fcb839e21e46208a5294df87097a44bd05a
treee3dcefbc12cf1e376e07afccbf91e07101c9bc8e
parent0eaa8fe03f46d9cc35d81e872b4b23442609ed80
cmd/go: referee another vendor vs symlink fight

Avoid crash in the specific case reported in #15201 but also
print more useful error message, avoiding slice panic.

Fixes #15201.
Fixes #16167.
Fixes #16566.

Change-Id: I66499621e9678a05bc9b12b0da77906cd7027bdd
Reviewed-on: https://go-review.googlesource.com/31665
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Quentin Smith <quentin@golang.org>
src/cmd/go/go_test.go
src/cmd/go/pkg.go