]> Cypherpunks repositories - gostls13.git/commit
Revert "os/exec: return error when PATH lookup would use current directory"
authorBryan Mills <bcmills@google.com>
Fri, 29 Apr 2022 21:38:40 +0000 (21:38 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 29 Apr 2022 23:04:17 +0000 (23:04 +0000)
commitf2b674756b3b684118e4245627d4ed8c07e518e7
tree424683d102e4992d35a557a7f03df9637fb0f32c
parent2278a51fa0570b01f58a80d60589fcf8e33be9c8
Revert "os/exec: return error when PATH lookup would use current directory"

This reverts CL 381374.

Reason for revert: broke tests for x/sys/execabs.

Updates #43724.
Updates #43947.

Change-Id: I9eb3adb5728dead66dbd20f6afe1e7a77e2a26f1
Reviewed-on: https://go-review.googlesource.com/c/go/+/403058
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Bryan Mills <bcmills@google.com>
13 files changed:
api/next/43724.txt [deleted file]
src/cmd/dist/build.go
src/cmd/dist/test.go
src/cmd/dist/util.go
src/cmd/go/testdata/script/cgo_path.txt
src/internal/execabs/execabs.go
src/internal/execabs/execabs_test.go [new file with mode: 0644]
src/os/exec/dot_test.go [deleted file]
src/os/exec/exec.go
src/os/exec/lp_plan9.go
src/os/exec/lp_unix.go
src/os/exec/lp_windows.go
src/os/exec/lp_windows_test.go