]> Cypherpunks repositories - gostls13.git/commit
cmd/api: make it work even when cgo is disabled
authorShenghou Ma <minux.ma@gmail.com>
Mon, 14 Oct 2013 04:18:46 +0000 (00:18 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Mon, 14 Oct 2013 04:18:46 +0000 (00:18 -0400)
commit89ebc28b587228c6ce90b78db33925e19aeba7d5
tree0998eaa057f1cc7eee700c58f0fbb84b479c0ad3
parent26f43a089e9d77cdb8c7c7f2c600631283de91f2
cmd/api: make it work even when cgo is disabled
make use of $USER or %USERNAME% to determine the current user.
Fixes #6578.

R=golang-dev, bradfitz, alex.brainman
CC=golang-dev
https://golang.org/cl/14649043
src/cmd/api/run.go