• Russ Cox's avatar
    cmd/go: avoid a few symlink-induced errors in internal and vendor checks · 9f58bf5f
    Russ Cox authored
    This CL expands symlinks only when an error would be reported otherwise.
    Since the expansions are only on error paths, anything that worked yesterday
    should still work after this CL.
    
    This CL fixes a regression from Go 1.5 in "go run", or else we'd probably
    postpone it.
    
    Changing only the error paths is meant as a way to reduce the risk of
    making this change so late in the release cycle, but it may actually be
    the right strategy for symlinks in general.
    
    Fixes #14054.
    
    Change-Id: I42ed1276f67a0c395297a62bcec7d36c14c06404
    Reviewed-on: https://go-review.googlesource.com/19102
    Run-TryBot: Russ Cox <rsc@golang.org>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarBrad Fitzpatrick <bradfitz@golang.org>
    9f58bf5f
Name
Last commit
Last update
..
addr2line Loading commit data...
api Loading commit data...
asm Loading commit data...
cgo Loading commit data...
compile Loading commit data...
cover Loading commit data...
dist Loading commit data...
doc Loading commit data...
fix Loading commit data...
go Loading commit data...
gofmt Loading commit data...
internal Loading commit data...
link Loading commit data...
newlink Loading commit data...
nm Loading commit data...
objdump Loading commit data...
pack Loading commit data...
pprof Loading commit data...
trace Loading commit data...
vendor Loading commit data...
vet Loading commit data...
yacc Loading commit data...