syscall: fix marshaling of stat messages on Plan 9

The order of the Qid fields was reversed. Mea culpa.

R=seed
CC=golang-dev
https://codereview.appspot.com/7231062
cmd/gc: fix escape analysis

If the analysis reached a node twice, then the analysis was cut off.
However, if the second arrival is at a lower depth (closer to escaping)
then it is important to repeat the traversal.

The repeating must be cut off at some point to avoid the occasional
infinite recursion. This CL cuts it off as soon as possible while still
passing all tests.

Fixes issue 4751.

R=ken2
CC=golang-dev, lvd
https://codereview.appspot.com/7303043
path/filepath: document that Walk does not follow symlinks

Fixes issue 4759.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7304043
net/http: fix Server blocking after a Handler's Write fails

If a Handle's Write to a ResponseWriter fails (e.g. via a
net.Conn WriteDeadline via WriteTimeout on the Server), the
Server was blocking forever waiting for reads on that
net.Conn, even after a Write failed.

Instead, once we see a Write fail, close the connection,
since it's then dead to us anyway.

Fixes issue 4741

R=golang-dev, adg
CC=golang-dev
https://codereview.appspot.com/7301043
archive/tar: small simplification using FileMode.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/7305043
runtime/race: do not include pthread.h
Fixes issue 4721.

R=alex.brainman, minux.ma
CC=golang-dev
https://codereview.appspot.com/7275048
misc/dashboard/app: trim old builds from the history

The dashboard is currently failing to store results of new builds for some keys, notable the go.codereview sub repository. This is causing the builders to mark the entire triggering commit as failed. With the help of David Symonds we think it is because the results value has breached the 1mb datastore limit on AppEngine.

R=dsymonds, adg
CC=golang-dev
https://codereview.appspot.com/6858094
cmd/gc: add way to specify 'noescape' for extern funcs

A new comment directive //go:noescape instructs the compiler
that the following external (no body) func declaration should be
treated as if none of its arguments escape to the heap.

Fixes issue 4099.

R=golang-dev, dave, minux.ma, daniel.morsing, remyoudompheng, adg, agl, iant
CC=golang-dev
https://codereview.appspot.com/7289048
container/heap: fix comment typo in example test

This updates a bad reference to a method name in the example priority queue test.

The error was introduced in the example refactoring in rev. 2ea8f07b2ffe.

R=golang-dev, minux.ma
CC=golang-dev
https://codereview.appspot.com/7279045

Committer: Russ Cox <rsc@golang.org>