- 21 Jan, 2011 9 commits
-
-
Russ Cox authored
cmp6.go:48: invalid operation: t3 == t3 (operator == not defined on struct) Fixes #1438. R=ken2 CC=golang-dev https://golang.org/cl/4003045
-
Ian Lance Taylor authored
The test code used to do this: for _, tc := range tests { ch <- &tc } Note that &tc is always the same value here. As the value is received from the channel, the sender can loop around and change the contents of tc. This means that the receiver's value is unstable and can change while it is in use. R=adg, r2, rsc CC=chris, golang-dev https://golang.org/cl/3978043
-
Russ Cox authored
Close of closed channel panics. Receive from closed channel never panics, even if done repeatedly. Fixes #1349. Fixes #1419. R=gri, iant, ken2, r, gri1, r2, iant2, rog, albert.strasheim, niemeyer, ejsherry CC=golang-dev https://golang.org/cl/3989042
-
Russ Cox authored
There were duplicate closes and missing closes, with the result that the program was rarely testing as much as it seemed to be. Now it finishes. R=r CC=golang-dev https://golang.org/cl/4008046
-
Rob Pike authored
Re-implement the debugging helper to be independent of the existing implementation. This is preparatory to a rewrite to clean up issue 1416. Include a definition of the grammar of the data stream. R=rsc CC=golang-dev https://golang.org/cl/3970045
-
Luuk van Dijk authored
R=rsc CC=golang-dev https://golang.org/cl/4083043
-
Ian Lance Taylor authored
Otherwise gccgo gives an extra error message not matched by errchk. R=adg, rsc CC=golang-dev https://golang.org/cl/4053042
-
Anschel Schaffer-Cohen authored
R=agl1 CC=golang-dev https://golang.org/cl/3991045
-
Anschel Schaffer-Cohen authored
This was broken after the last update (2011-01-20). However, I'm not sure if the changed example is a sensible use of import(), so I'd appreciate comments. R=golang-dev, r CC=golang-dev https://golang.org/cl/4067043
-
- 20 Jan, 2011 31 commits
-
-
Robert Griesemer authored
Also: Give line numbers a style and make them less intrusive. R=rsc CC=golang-dev https://golang.org/cl/4060043
-
Russ Cox authored
The functionality we want (shared ppid) is implied by CLONE_THREAD already, and CLONE_PARENT causes problems if the Go program is pid 1 (init). See issue 1406 for more details. Fixes #1406. R=adg, iant CC=golang-dev https://golang.org/cl/3971044
-
Russ Cox authored
Fixes #1410. R=r CC=golang-dev https://golang.org/cl/4072043
-
Miek Gieben authored
R=rsc CC=Miek Gieben, golang-dev https://golang.org/cl/3926041
-
Russ Cox authored
Also remove second email address from AUTHORS file in a few cases. It only has a meaning in the CONTRIBUTORS file. R=r, gri CC=golang-dev https://golang.org/cl/4022042
-
Russ Cox authored
Fixes #1433. R=r, gri CC=golang-dev https://golang.org/cl/3999047
-
Russ Cox authored
Fixes #1417. R=ken2 CC=golang-dev https://golang.org/cl/4079042
-
Russ Cox authored
Fixes #1431. R=bradfitz, dangabrad CC=golang-dev https://golang.org/cl/4077042
-
Russ Cox authored
Fixes #1341. R=ken2, r CC=golang-dev https://golang.org/cl/4006045
-
Wei Guangjing authored
R=rsc, lvd, brainman, Joe Poirier CC=golang-dev https://golang.org/cl/2124041
-
Wei Guangjing authored
R=rsc, peterGo, brainman CC=golang-dev https://golang.org/cl/3733046
-
Wei Guangjing authored
R=rsc CC=golang-dev https://golang.org/cl/3746044
-
Hector Chu authored
R=rsc, brainman CC=golang-dev https://golang.org/cl/4030043
-
Russ Cox authored
The o+i*p approach to visiting select cases in random order stops being fair when there is some case that is never ready. If that happens, then the case that follows it in the order gets more chances than the others. In general the only way to ensure fairness is to make all permutations equally likely. I've done that by computing one explicitly. Makes the permutations correct for n >= 4 where previously they were broken. For n > 12, there's not enough randomness to do a perfect job but this should still be much better than before. Fixes #1425. R=r, ken2, ejsherry CC=golang-dev https://golang.org/cl/4037043
-
Adam Langley authored
s2k implements the string-to-key functions for OpenPGP R=rsc CC=golang-dev https://golang.org/cl/3937043
-
Alex Brainman authored
Otherwise syscall.Errstr() returns "" for some (EWOULDBLOCK) errors. R=rsc CC=golang-dev https://golang.org/cl/3941041
-
Alex Brainman authored
R=golang-dev CC=golang-dev https://golang.org/cl/4089041
-
Russ Cox authored
TBR=adg CC=golang-dev https://golang.org/cl/4083042
-
Russ Cox authored
R=adg CC=golang-dev https://golang.org/cl/4047044
-
Russ Cox authored
R=r, adg CC=golang-dev https://golang.org/cl/3998045
-
Russ Cox authored
also: cmplx -> complex float64(1.0) -> 1.0 float64(1) -> 1.0 R=gri, r, gri1, r2 CC=golang-dev https://golang.org/cl/3991043
-
Russ Cox authored
rename cmplx -> complex R=ken2 CC=golang-dev https://golang.org/cl/4071041
-
Russ Cox authored
R=adg, dsymonds CC=golang-dev https://golang.org/cl/4072041
-
Rob Pike authored
R=rsc, gri CC=golang-dev https://golang.org/cl/3978042
-
Robert Griesemer authored
The default float type is not very useful but for the most basic applications. For instance, as it is now, using the math package requires conversions for float variables (the arguments for math functions are usually float64). Typical real applications tend to specify the floating point precision required. This proposal removes the predeclared types float and complex. Variable declarations without type specification but with constant floating point or complex initializer expressions will assume the type float64 or complex128 respectively. The predeclared function cmplx is renamed to complex. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/3423041
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/4056042
-
Andrew Gerrand authored
R=r, rsc, r2 CC=golang-dev https://golang.org/cl/4087041
-
Andrew Gerrand authored
R=rsc CC=golang-dev https://golang.org/cl/3999046
-
Andrew Gerrand authored
R=r, brainman, rsc1 CC=golang-dev https://golang.org/cl/4023043
-
Adam Langley authored
TBR=rsc R=rsc CC=berengar.lehr, golang-dev https://golang.org/cl/4050042
-
Ken Thompson authored
R=r CC=golang-dev https://golang.org/cl/3980043
-