- 27 Apr, 2014 6 commits
-
-
Ian Lance Taylor authored
For the gc compiler the Go function Issue7695 is defined in runtime.c, but there is no way to do that for gccgo, because there is no way to get the correct pkgpath. The test is not important for gccgo in any case. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/93870044
-
Peter Collingbourne authored
Previously we used strndup(3) to implement C.CString for gccgo. This is wrong because strndup assumes the string to be null terminated, and stops at the first null terminator. Instead, use malloc and memmove to create a copy of the string, as we do in the gc implementation. LGTM=iant R=iant CC=golang-codereviews https://golang.org/cl/96790047
-
Brad Fitzpatrick authored
A very smart developer at Gophercon just asked me to help debug a problem and I was horrified to learn that he was using httputil's ClientConn. I forgot ClientConn and ServerConn were even included in Go 1! They should've been deleted. Scare people away from using them. The net/http package does not use them and they're unused, unmaintained and untouched in 4+ years. LGTM=r R=r, adg CC=golang-codereviews https://golang.org/cl/92790043
-
Robert Obryk authored
Remove an RUnlock of syscall.ForkLock with no matching RLock. Holding ForkLock in netFD.dup is unnecessary: dupCloseOnExecOld locks and unlocks the lock on its own and dupCloseOnExec doesn't need the ForkLock to be held. LGTM=iant R=golang-codereviews, bradfitz, iant CC=golang-codereviews https://golang.org/cl/99800044
-
Rui Ueyama authored
Previously Read wouldn't return once its internal input buffer is filled with non-data bytes. Fixes #7875. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/90820043
-
Robert Hencke authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/96850043
-
- 26 Apr, 2014 4 commits
-
-
Brad Fitzpatrick authored
Fixes #7812 LGTM=josharian, iant R=rsc, iant, adg, ruiu, minux.ma, josharian CC=golang-codereviews https://golang.org/cl/89900044
-
Jonathan Allie authored
Fixes #7741. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/96830044
-
Rob Pike authored
The instructions in this document are useful but not reliable. Explain the situation up top. Fixes #7471. LGTM=josharian, iant R=golang-codereviews, josharian, iant CC=golang-codereviews https://golang.org/cl/96830045
-
Robert Hencke authored
(from the discussions on CL 89650044) LGTM=minux.ma, iant R=iant, minux.ma CC=golang-codereviews https://golang.org/cl/97770043
-
- 25 Apr, 2014 4 commits
-
-
Brad Fitzpatrick authored
Fixes #7869 LGTM=dsymonds R=golang-codereviews CC=adg, dsymonds, golang-codereviews, rsc https://golang.org/cl/91770048
-
Mikio Hara authored
Fixes #7645 LGTM=iant, bradfitz R=iant, bradfitz CC=golang-codereviews https://golang.org/cl/90170046
-
Robert Griesemer authored
Fixes #7844. LGTM=crawshaw R=golang-codereviews, crawshaw CC=golang-codereviews https://golang.org/cl/90620045
-
Brad Fitzpatrick authored
I fixed this data race regression in two ways: in net/http itself, and also partially reverting the change from https://golang.org/cl/77580046 . Previously a Read from a strings.Reader or bytes.Reader returning 0 bytes would not be a memory write. After 77580046 it was. This reverts that back in case others depended on that. Also adds tests. Fixes #7856 LGTM=ruiu, iant R=iant, ruiu CC=golang-codereviews, gri https://golang.org/cl/94740044
-
- 24 Apr, 2014 1 commit
-
-
Rui Ueyama authored
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/93750043
-
- 23 Apr, 2014 2 commits
-
-
Rob Pike authored
Godoc makes it look better this way; before, it all ran together into nonsense. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/90400045
-
Brad Fitzpatrick authored
Work around buggy(?) Linux /proc filesystem. Fixes #7808 LGTM=iant R=golang-codereviews, iant CC=adg, golang-codereviews https://golang.org/cl/90400044
-
- 22 Apr, 2014 1 commit
-
-
Rui Ueyama authored
Previously it would panic because of out-of-bound access if s1 is longer than s2. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/90110043
-
- 21 Apr, 2014 11 commits
-
-
Robert Griesemer authored
Fixes #7814. LGTM=agl, adonovan R=agl, adonovan CC=golang-codereviews https://golang.org/cl/90080043
-
Josh Bleecher Snyder authored
TestVariousDeadlines1Proc was flaky on my system, failing on about 5% of runs. LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/89830045
-
Mark Zavislak authored
LGTM=robert.hencke, iant R=golang-codereviews, robert.hencke, iant CC=golang-codereviews https://golang.org/cl/89760043
-
Rémy Oudompheng authored
LGTM=dvyukov R=rsc, iant, khr, dvyukov CC=golang-codereviews https://golang.org/cl/76520045
-
Alex Brainman authored
Fixes #7829 LGTM=dave R=golang-codereviews, aram, dave CC=golang-codereviews https://golang.org/cl/89830043
-
Alex Brainman authored
Update #7829 LGTM=dave R=golang-codereviews, dave CC=golang-codereviews https://golang.org/cl/89810043
-
Alex Brainman authored
This should have been part of 36eb4a62fbb6, but I later discovered that addresses are all wrong. Appropriate test added now. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/89470043
-
Shenghou Ma authored
Fixes #7331. LGTM=dave, iant R=golang-codereviews, dave, gobot, iant CC=golang-codereviews https://golang.org/cl/89150043
-
Shenghou Ma authored
Update #7331 LGTM=dave, iant R=golang-codereviews, dave, gobot, iant CC=golang-codereviews https://golang.org/cl/89520043
-
Shenghou Ma authored
`GOARCH=arm go tool 6c` used to give "<prog>: cannot use 6c with GOARCH=arm" LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/89330043
-
Shenghou Ma authored
CL 89050043 only allows -ccflags for 'go test', this CL really handles the flag like the other -??flags. Many thanks to Dobrosław Żybort for pointing this out. Fixes #7810 (again). LGTM=iant, matrixik R=golang-codereviews, iant, matrixik CC=golang-codereviews https://golang.org/cl/89230044
-
- 20 Apr, 2014 2 commits
-
-
David du Colombier authored
LGTM=minux.ma R=r, minux.ma CC=golang-codereviews https://golang.org/cl/89710043
-
Jan Ziak authored
Fixes #7783 LGTM=minux.ma R=rsc, minux.ma CC=golang-codereviews https://golang.org/cl/89290043
-
- 19 Apr, 2014 2 commits
-
-
David du Colombier authored
Since there is no Runemask constant in UTF-8 enum in 9atom, removing the other constants leads to an empty enum, which is illegal. Thus, we remove enum entirely. LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/82660044
-
Alex Brainman authored
Fixes #6973 LGTM=r R=golang-codereviews, r CC=golang-codereviews https://golang.org/cl/88820043
-
- 18 Apr, 2014 7 commits
-
-
Mike Andrews authored
following on CL https://golang.org/cl/76810045 and issue 7563, i now see there's another "remove(outfile)" a few dozen lines down that also needs fixing. LGTM=iant R=golang-codereviews, iant CC=0intro, golang-codereviews, r https://golang.org/cl/89030043
-
David du Colombier authored
LGTM=aram, r R=r, aram, bradfitz CC=golang-codereviews, rsc https://golang.org/cl/89130045
-
Rob Pike authored
LGTM=bradfitz R=golang-codereviews, bradfitz CC=golang-codereviews https://golang.org/cl/89370043
-
Lucio De Re authored
LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/89270043
-
David du Colombier authored
LGTM=r R=r CC=golang-codereviews, rsc https://golang.org/cl/86180046
-
Shenghou Ma authored
changed (pwd string) to (dir string), as some think pwd means passwd. Fixes #7811. LGTM=iant R=golang-codereviews, iant, bradfitz CC=golang-codereviews https://golang.org/cl/89100043
-
Shenghou Ma authored
Fixes #7810. LGTM=iant R=golang-codereviews, iant CC=golang-codereviews https://golang.org/cl/89050043
-