• Russ Cox's avatar
    go/build: fix import check · 67186274
    Russ Cox authored
    When we find a package in DIR/src/foo, we only let it
    be known as foo if there is no other foo in an earlier
    GOPATH directory or the GOROOT directory.
    The GOROOT check was looking in GOROOT/src/foo
    instead of GOROOT/src/pkg/foo, which meant that
    the import paths "lib9", "libbio", "libmach", and so
    on were unavailable, and the import paths "math",
    "errors", and so on were available.  Correct this.
    
    Fixes #3390.
    
    R=golang-dev, minux.ma
    CC=golang-dev
    https://golang.org/cl/5927050
    67186274
Name
Last commit
Last update
..
ast Loading commit data...
build Loading commit data...
doc Loading commit data...
parser Loading commit data...
printer Loading commit data...
scanner Loading commit data...
token Loading commit data...