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>
cmd/dist: add -Wstrict-prototypes to CFLAGS and fix all the compiler errors
Plan 9 compilers insist this but as we don't have Plan 9
builders, we'd better let gcc check the prototypes.

Inspired by CL 7289050.

R=golang-dev, seed, dave, rsc, lucio.dere
CC=akumar, golang-dev
https://codereview.appspot.com/7288056
exp/inotify: close event channel before file descriptor

Closing the inotify file descriptor can take over a second
when running on Ubuntu Precise in an NFS directory, leading to
the test error in issue 3132.  Closing the event channel first
lets a client that does not care about the error channel move
on.

Fixes issue 3132.

R=golang-dev, dave, rsc
CC=golang-dev
https://codereview.appspot.com/7300045
lib9: fix build for windows

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7311044
runtime: save LR to stack when panicking to handle leaf function traceback

R=golang-dev, rsc
CC=golang-dev
https://codereview.appspot.com/7289047
log/syslog: retry once if write fails

Implements deferred connections + single-attempt automatic
retry. Based on CL 5078042 from kuroneko.

Fixes issue 2264.

R=mikioh.mikioh, rsc, bradfitz
CC=golang-dev
https://codereview.appspot.com/6782140

Committer: Brad Fitzpatrick <bradfitz@golang.org>