diff options
| author | Ian Lance Taylor <iant@golang.org> | 2018-05-04 15:43:50 -0700 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2018-05-05 00:53:45 +0000 |
| commit | 2a7e19e0383430d75dcef9637c0c6dcaf64127d5 (patch) | |
| tree | af21c2b50062de6999abf8ad40cc53dcf9d86e30 /src/database/sql | |
| parent | d0ed8d6ea161f89880e057fe54fa4825df4097b9 (diff) | |
| download | go-2a7e19e0383430d75dcef9637c0c6dcaf64127d5.tar.xz | |
cmd/go: quote parentheses when outputting command
A gccgo command line can contain parentheses, for -( and -).
Quote them when outputting a command line, so that `go build -x`
output is suitable for use as shell input.
Change-Id: I43194b87bf048e583c222b19ca4bcdcb1deca97a
Reviewed-on: https://go-review.googlesource.com/111635
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions
