]> Cypherpunks repositories - gostls13.git/commit
doc/progs: build test programs in temp directory
authorMatthew Dempsky <mdempsky@google.com>
Sat, 18 Apr 2015 04:04:39 +0000 (21:04 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 18 Apr 2015 05:29:19 +0000 (05:29 +0000)
commitf06795d9b742cf3292a0f254646c23603fc6419b
treeeb4b64ee81bd0e146ee6bf914f73acb0925b95c1
parent4540e162b1aefda8157372764ad3d290a414ef1d
doc/progs: build test programs in temp directory

This avoids a race condition with go1.go wanting to examine files in
the current directory with filepath.Walk(".", walkFn).

Fixes #10497.

Change-Id: I2159f40a08d1a768195dbb7ea3c27e38cf9740bb
Reviewed-on: https://go-review.googlesource.com/9110
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
doc/progs/run.go