lib9: handle empty TMPDIR more gracefully.

Before, an empty TMPDIR would lead to:
cannot create <nil>/go.o: No such file or directory

R=golang-dev, iant, dave, bradfitz
CC=golang-dev
https://codereview.appspot.com/8355045

Committer: Brad Fitzpatrick <bradfitz@golang.org>
runtime, runtime/debug, runtime/race: deflake tests

R=golang-dev, dvyukov, bradfitz
CC=golang-dev
https://codereview.appspot.com/8366044

Committer: Brad Fitzpatrick <bradfitz@golang.org>
test: fix flaky NaN-key map complexity test

Don't measure wall time in map.go. Keep it portable
and only test NaN, but not time.

Move time tests to mapnan.go and only measure user CPU time,
not wall time. It builds on Darwin and Linux, the primary
platforms where people hack on the runtime & in particular
maps. The runtime is shared, though, so we don't need it to
run on all of the platforms.

Fixes flaky build failures like:
http://build.golang.org/log/ba67eceefdeaa1142cb6c990a62fa3ffd8fd73f8

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8479043
reflect: use unsafe.Pointer in StringHeader and SliceHeader

Relates to issue 5193.

R=r
CC=golang-dev
https://codereview.appspot.com/8363045
undo CL 8363045 / a3ce42f9748b

It changes an exported API, and breaks the build.

««« original CL description
reflect: use unsafe.Pointer in StringHeader and SliceHeader

Relates to issue 5193.

R=r
CC=golang-dev
https://codereview.appspot.com/8363045
»»»

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8357051
go/ast: fix typo in Fprint documentation

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8499043

Committer: Brad Fitzpatrick <bradfitz@golang.org>
runtime: fix race on hashmap flags field
Use atomic operations on flags field to make sure we aren't
losing a flag update during parallel map operations.

R=golang-dev, dave, r
CC=golang-dev
https://codereview.appspot.com/8377046
doc: document go1.1 build tag

Fixes issue 5235.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8426048
reflect: document the unreliability of StringHeader and SliceHeader

R=golang-dev, adg, dvyukov
CC=golang-dev
https://codereview.appspot.com/8494045
doc: fix typos in go1.1.html

R=golang-dev, adg, adg
CC=golang-dev
https://codereview.appspot.com/8488047

Committer: Andrew Gerrand <adg@golang.org>
cmd/go: document usage of external test packages

Fixes issue 5144

R=golang-dev, r, dave, adg
CC=golang-dev
https://codereview.appspot.com/8171044

Committer: Andrew Gerrand <adg@golang.org>
archive/zip: handle trailing data after the end of directory header

The spec doesn't explicitly say that trailing data is okay, but a lot
of people do this and most unzippers will handle it just fine. In any
case, this makes the package more useful, and led me to make the
directory parsing code marginally more robust.

Fixes issue 5228.

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/8504044
cmd/go: clarify what "pkg.test" means wrt the -c flag

Fixes issue 5230.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8507043
cmd/go: fix a misleading sentence
Apologies for not reviewing the previous CL; I was on the road.
The text was misleading; execution is no more separate than with
any other test. Rewritten. Dropped the odd adverb.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8439045
cmd/gc: properly set variadic flag on method values.

Fixes issue 5231.

R=golang-dev, daniel.morsing, adg
CC=golang-dev
https://codereview.appspot.com/8275044
test: fix mapnan.go build tag

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/8491044
Merge branch 'master' into gitfix