]> Cypherpunks repositories - gostls13.git/commit
cmd/api: be more robust against OS deleting temp files
authorBrad Fitzpatrick <bradfitz@golang.org>
Sat, 24 Aug 2013 21:54:56 +0000 (16:54 -0500)
committerBrad Fitzpatrick <bradfitz@golang.org>
Sat, 24 Aug 2013 21:54:56 +0000 (16:54 -0500)
commite7b125fc65695e22e33da1f6bc5bec7efae2bf65
tree0d611e6f371f24e3f20e7696f7f23521735a7988
parentcb79c57dfa25b917c4ce1c08e2a9a6f9405a5998
cmd/api: be more robust against OS deleting temp files

OS X in particular deletes tmp files (but not directories)
pretty reliably.

Ask hg whether the go.tools directory in tmp is good before
using it.

Fixes issue Rob and others were reporting, which I just hit
myself now.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/13084049
src/cmd/api/run.go