mirror of https://github.com/golang/go.git
CL 381374 was reverted because x/sys/execabs broke.
This CL reapplies CL 381374, but adding a lookPathErr error
field back, for execabs to manipulate with reflect.
That field will just be a bit of scar tissue in this package forever,
to keep old code working with new toolchains.
CL 403256 fixes x/sys/execabs's test to be ready for the change.
Older versions of x/sys/execabs will keep working
(that is, will keep rejecting what they should reject),
but they will return a slightly different error from LookPath
without that CL, and the test fails because of the different
error text.
For #43724.
This reverts commit
|
||
|---|---|---|
| .. | ||
| 30715.txt | ||
| 35044.txt | ||
| 42710.txt | ||
| 43724.txt | ||
| 45628.txt | ||
| 45754.txt | ||
| 46057.txt | ||
| 46059.txt | ||
| 46121.txt | ||
| 46229.txt | ||
| 47005.txt | ||
| 50340.txt | ||
| 50599.txt | ||
| 50601.txt | ||
| 50674.txt | ||
| 51082.txt | ||
| 51414.txt | ||
| 51644.txt | ||
| 51684.txt | ||
| 51868.txt | ||