Skip to content

cmd/go/internal/envcmd: double check plan 9 behavior in PrintEnv when null byte present in value #59979

Open
@matloob

Description

@matloob

We'd like a plan 9 expert to double check this: In PrintEnv in cmd/go/internal/envcmd/env.go, plan9's handling behavior is different based on whether there's a null byte. If there's not a null byte present it quotes the string, and if there isn't it puts them in a parenthesized list, but doesn't quote each of the listed strings. We want to make sure that not quoting each of the strings in the list is the intended behavior.

Metadata

Metadata

Labels

ExpertNeededNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-Plan9

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions