diff options
| author | Bryan C. Mills <bcmills@google.com> | 2022-04-01 14:54:39 -0400 |
|---|---|---|
| committer | Bryan Mills <bcmills@google.com> | 2022-04-05 14:15:59 +0000 |
| commit | 62bceae32de7bad48fbdc1fe3fae14c81cd093d2 (patch) | |
| tree | 5b0657d519b112ac948c987db021e66e96bc545c /src/plugin/plugin_dlopen.go | |
| parent | a5f801f39d8c9d4df2edfd6ffd9171b9216445d1 (diff) | |
| download | go-62bceae32de7bad48fbdc1fe3fae14c81cd093d2.tar.xz | |
cmd/go: quote fragments in CGO_ env variables reported by 'go env'
These fields have been parsed as quoted fields since CL 334732,
but we missed the unparsing side in 'go env'.
Certain scripts (notably make.ba{sh,t}) expect to be able to set the
environment to exactly what 'go env' reports, so for round-trip
purposes it is important to match the marshaling and unmarshaling
functions.
(Noticed while debugging #52009.)
Updates #41400
Change-Id: I0ff39b7a6e1328111c285c97cd23f79b723f3c73
Reviewed-on: https://go-review.googlesource.com/c/go/+/398058
Trust: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/plugin/plugin_dlopen.go')
0 files changed, 0 insertions, 0 deletions
