runtime: if span was scavenged, mark it as needing to be zeroed

Update issue 4979.

R=dvyukov, r, bradfitz
CC=golang-dev
https://codereview.appspot.com/8697045
cmd/dist, make.bash: pass -mmacosx-version-min=10.6 to gcc on Darwin
Fixes issue 5261.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8798044

Committer: Rob Pike <r@golang.org>
doc/effective_go.html: fix typo
Fixes issue 5296.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8682044
doc/effective_go: another doubled word
It's clear that that should never happen.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8798045
doc: more doubled words
I wrote a tool.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8695047
misc/cgo/test: fix a gcc warning
See https://code.google.com/p/go/issues/detail?id=5227#c16.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8833044
go/token: fix grammar for precedence consts

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8662045

Committer: Rob Pike <r@golang.org>
archive/zip: add docs on type of slashes in paths

Fixes issue 5307

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8676046
doc/go1.1.html, mime/multipart: document quoted-printable decoding

Fixes issue 5293

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8840043
misc/dashboard/builder: include $USER in build environment.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8821046
mime/multipart: don't strip leading space/tab in quoted-printable decoding

Late bug fix, but this is arguably a regression from Go 1.0,
since we added this transparent decoding since then. Without
this fix, Go 1.0 users could decode this correctly, but Go 1.1
users would not be able to.

The newly added test is from the RFC itself.

The updated tests had the wrong "want" values before. They
were there to test \r\n vs \n equivalence (which is
unchanged), not leading whitespace.

The skipWhite decoder struct field was added in the battles of
Issue 4771 in revision b3bb265bfecf. It was just a wrong
strategy, from an earlier round of attempts in
https://codereview.appspot.com/7300092/

Update issue 4771
Fixes issue 5295

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8536045
crypto/rand: better panic message for invalid Int argument.

Also document the panic to be consistent with math/rand.

Fixes issue 5187.

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

Committer: Brad Fitzpatrick <bradfitz@golang.org>
misc/dashboard/builder: always do a native build

https://codereview.appspot.com/8134043 disabled cgo when cross compiling, this means builders which compile for both amd64 and 386 will be compiling the latter with cgo disabled.

This proposal modifies the builder to mirror the dist tool by always doing a native build.

Tested on my darwin/amd64 builder and confirmed the result when building darwin/386 is a native 386 build with cgo enabled.

R=bradfitz, dsymonds, r, adg
CC=golang-dev
https://codereview.appspot.com/8842044
doc: misc tweaks, new links, fix broken links

I read docs and wrote a crawler + link checker on the plane,
which also checks for #fragments. I'll send that out later
when it's less gross.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8729050
builtin: document true and false.

Fixes issue 5315.

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8841048
doc: fix another broken link

R=golang-dev, r
CC=golang-dev
https://codereview.appspot.com/8763045
io: explain what (0,nil) means from Read
Also add a new variable ErrNoProgress that io.Readers can use to
report ineffectual Read calls.
Fixes issue 5310.

R=golang-dev, dsymonds, bradfitz
CC=golang-dev
https://codereview.appspot.com/8845043
doc/go1.1.html: document io.ErrNoProgress

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8833050
bufio.Scan: don't stop after Read returns 0, nil
But stop eventually if the reader misbehaves.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/8757045
cmd/ld: don't show cursym in gcc invocation failure message
before:
fmt.statictmp_0731:/usr/local/go/pkg/tool/linux_amd64/6l: running gcc failed: unsuccessful exit status 0x100
now:
/usr/local/go/pkg/tool/linux_amd64/6l: running gcc failed: unsuccessful exit status 0x100

R=golang-dev, iant, r
CC=golang-dev
https://codereview.appspot.com/8827045