]> 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:05:14 +0000 (14:05 -0700)
committerRob Pike <r@golang.org>
Fri, 12 Apr 2013 21:05:14 +0000 (14:05 -0700)
commit18ff727487422d73c8dd609d229c3dda7539d9a9
tree49d23bc3b722a4f06ffdfa0cc59d29602540c428
parentce64f7365ff814087fc843bcaa8267e236692939
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