]> Cypherpunks repositories - gostls13.git/commit
cmd/go: revise disallowInternal
authorRuss Cox <rsc@golang.org>
Wed, 6 Aug 2014 21:59:30 +0000 (17:59 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 6 Aug 2014 21:59:30 +0000 (17:59 -0400)
commitfef54b22f8ee7a57a5ba04a6a02244a10f90e904
tree0d5aa92941e4a77dd5578c37f5cb1ed7a8f317c1
parent7bcaff70ed92156eb98841ecac3fb5e234822ea3
cmd/go: revise disallowInternal

This fixes two problems: x/internal/y/z was using parent = x/internal/y instead of x,
and hasPathPrefix only looks at /, not \ for Windows.

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/121280045
src/cmd/go/pkg.go