You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
If we don't quote it, paths containing spaces or quote characters will fail. For instance, the added test without the fix fails: > env NAME='with spaces' > mkdir $NAME > cp $EXEC_PATH $NAME/garble$exe > exec $NAME/garble$exe build main.go [stderr] go tool compile: fork/exec $WORK/with: no such file or directory exit status 1 Luckily, the fix is easy: we bundle Go's cmd/internal/quoted package, which implements a QuotedJoin API for this very purpose. Fixes #544. |
3 years ago | |
---|---|---|
.. | ||
asm.txt | 3 years ago | |
basic.txt | 3 years ago | |
cgo.txt | 3 years ago | |
crossbuild.txt | 3 years ago | |
debugdir.txt | 3 years ago | |
embed.txt | 3 years ago | |
goenv.txt | 3 years ago | |
gogarble.txt | 3 years ago | |
goversion.txt | 3 years ago | |
help.txt | 3 years ago | |
implement.txt | 3 years ago | |
imports.txt | 3 years ago | |
init.txt | 3 years ago | |
ldflags.txt | 3 years ago | |
linkname.txt | 3 years ago | |
literals.txt | 3 years ago | |
modinfo.txt | 3 years ago | |
plugin.txt | 3 years ago | |
position.txt | 3 years ago | |
reflect.txt | 3 years ago | |
reverse.txt | 3 years ago | |
seed-cache.txt | 3 years ago | |
seed.txt | 3 years ago | |
syntax.txt | 3 years ago | |
test.txt | 3 years ago | |
tiny.txt | 3 years ago | |
typeparams.txt | 3 years ago |