]> Cypherpunks repositories - gostls13.git/commit
cmd/go: quote command line arguments in debug output
authorVolker Dobler <dr.volker.dobler@gmail.com>
Fri, 12 Apr 2013 21:04:00 +0000 (14:04 -0700)
committerRob Pike <r@golang.org>
Fri, 12 Apr 2013 21:04:00 +0000 (14:04 -0700)
commitce64f7365ff814087fc843bcaa8267e236692939
treed8e0cd3589deddaf7045b919acb887b38365a028
parent696901204f2e7a5180ed4beb4046fbfea05841b2
cmd/go: quote command line arguments in debug output

Debug output from go test -x may contain empty arguments.
This CL quotes arguments if needed. E.g. the output of
go test -x is now
  .../6g -o ./_go_.6 -p testmain -complete -D "" -I . -I $WORK ./_testmain.go
which is easier to grasp.

R=golang-dev, bradfitz, minux.ma, r
CC=golang-dev
https://golang.org/cl/8633043
src/cmd/go/build.go