run.bash: raise ulimit for the number of threads.

This is needed on NetBSD-current. Support for
ulimit -T in bash was added in 4.2nb3.

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

Committer: Dave Cheney <dave@cheney.net>
runtime: fix test for new closure representation
I've hit it several times already.
Currently it crashes with nil deref.

R=golang-dev, daniel.morsing, r
CC=golang-dev
https://codereview.appspot.com/10317045
runtime/race: add tests for method thunks

R=golang-dev, dave
CC=golang-dev
https://codereview.appspot.com/10257043
crypto/cipher: StreamWriter.Closer docs + behavior change

Don't panic when the underlying Writer isn't a Closer. And
document what Close does and clarify that it's not a Flush.

R=golang-dev, agl
CC=golang-dev
https://codereview.appspot.com/10310043
A+C: Dan Peterson (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/10340043
testing: use -bench flag and fix flags doc link

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

Committer: Brad Fitzpatrick <bradfitz@golang.org>
A+C: Nicolas Owens (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/10335044
net: fix LookupNS on Plan 9

use correct field count when resolving nameservers via /net/dns on Plan 9.

we incorrectly check for 4 fields instead of 3 when parsing the result of /net/dns, and get no results

R=golang-dev, ality
CC=golang-dev
https://codereview.appspot.com/10182044

Committer: Brad Fitzpatrick <bradfitz@golang.org>
A+C: Paul van Brouwershaven (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/10332046
crypto/x509: Added RFC 5280, section 4.2.1.14 to parseCertificate and buildExtensions
Support for CRL Distribution Points

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

Committer: Brad Fitzpatrick <bradfitz@golang.org>
A+C: Alex Jin (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/10286045
net/smtp: close conn in SendMail; add Client.Close method

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

Committer: Brad Fitzpatrick <bradfitz@golang.org>
A+C: David Bürgin (individual CLA)

Generated by addca.

R=gobot
CC=golang-dev
https://codereview.appspot.com/10372043
misc/vim: Added filetype settings for comments.

This basic Vim ftplugin sets the 'comments' and 'commentstring'
settings to sensible values. Future filetype settings for Go
would go in the same file.
The ftplugin was added as misc/vim/ftplugin/go/go.vim, this way
the installation instructions in readme.txt remain valid.
Fixes issue 5715.

R=dsymonds
CC=gobot, golang-dev
https://codereview.appspot.com/10323043

Committer: David Symonds <dsymonds@golang.org>
doc: style tweaks in preparation for Google Feedback link

Fixes issue 5589.

R=golang-dev, dsymonds
CC=golang-dev
https://codereview.appspot.com/10272051
cmd/cgo: avoid leaking fds

Fixes issue 5714.

R=golang-dev, iant
CC=golang-dev
https://codereview.appspot.com/10386043
os/exec: make exec_test.go:TestExtraFilesFDShuffle portable.

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

Committer: Brad Fitzpatrick <bradfitz@golang.org>
cmd/gc: fix race detector on tail-call wrappers

(By not using the tail-call wrappers when the race
detector is enabled.)

R=golang-dev, minux.ma, dvyukov, daniel.morsing
CC=golang-dev
https://codereview.appspot.com/10227043
math/big: fix Errorf verb

Pointed out by go vet.

R=r
CC=golang-dev
https://codereview.appspot.com/10368048
cmd/go: write coverage to file, add percentage statistic
Move the data dumper to the testing package, where it has access
to file I/O.
Print a percentage value at the end of the run.

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