- 14 Feb, 2012 39 commits
-
-
Anthony Martin authored
This lets us get rid of the OS-dependent implementations of SyscallError. The name "Err" was chosen to match the PathError type. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5651084
-
Russ Cox authored
R=golang-dev, gri CC=golang-dev https://golang.org/cl/5649089
-
Robert Griesemer authored
Also added -files flag to provide regexp for test files for selective testing. Fixes #2956. R=rsc CC=golang-dev https://golang.org/cl/5657045
-
Mikio Hara authored
This CL avoids net.Listen("tcp", ":80"), http.ListenAdnServe(":80") prefer an IPv6 listen. R=rsc CC=golang-dev https://golang.org/cl/5669043
-
Shenghou Ma authored
also fixes this bug in net/http/httptest. R=golang-dev, r CC=golang-dev https://golang.org/cl/5654083
-
Russ Cox authored
This change shows all the information present in the Time value (now including fractional seconds) and also arranges the fields so that, within a single time zone, string comparison and time comparison agree. R=golang-dev, rogpeppe, r CC=golang-dev https://golang.org/cl/5654078
-
Adam Langley authored
hg massively messed up a simple merge for 9d7addec2635 in what I can only imagine was a public service announcement that everyone should use git. R=golang-dev CC=golang-dev https://golang.org/cl/5668043
-
Russ Cox authored
Not causing problems yet, but no need to keep using cygwin paths now that we're off cygwin. R=alex.brainman CC=golang-dev https://golang.org/cl/5656053
-
Russ Cox authored
It is possible that Linux and Windows copy the FP control word from the parent thread when creating a new thread. Empirically, Darwin does not. Reset the FP control world in all cases. Enable the floating-point strconv test. Fixes #2917 (again). R=golang-dev, r, iant CC=golang-dev https://golang.org/cl/5660047
-
Andrew Gerrand authored
Fixes #2930. R=r, gri, rsc CC=golang-dev https://golang.org/cl/5657048
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/5666043
-
Brad Fitzpatrick authored
Fixes #3014 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5665043
-
Andrew Gerrand authored
R=bsiegert, rsc, r CC=golang-dev https://golang.org/cl/5605047
-
Mikio Hara authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/5661055
-
Mikio Hara authored
This CL provides regenerated z-files for OpenBSD 5.0 stable. Also fixes OpenBSD build. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5656052
-
Russ Cox authored
Once we've evicted all the blocked I/O, the ref count should go to zero quickly, so it should be safe to postpone the close(2) until then. Fixes #1898. Fixes #2116. Fixes #2122. R=golang-dev, mikioh.mikioh, bradfitz, fullung, iant CC=golang-dev https://golang.org/cl/5649076
-
Ian Lance Taylor authored
Alpha GNU/Linux does not have /proc/net/igmp[6]. R=golang-dev, rsc, bradfitz CC=golang-dev https://golang.org/cl/5663047
-
Russ Cox authored
Also check for old and exp. Fixes #2764. Fixes #2765. R=golang-dev, r CC=golang-dev https://golang.org/cl/5654068
-
Daniel Krech authored
Fixes #2895. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5651055
-
Russ Cox authored
R=golang-dev, gri, bradfitz CC=golang-dev https://golang.org/cl/5658046
-
Russ Cox authored
Filed issue 3016 to fix this, but I really want to see a "ok" in the Windows column so we know what is and is not working. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5658050
-
Brad Fitzpatrick authored
Now with a bit more paranoia and lower number of requests to keep it under the default OS X 256 fd limit. R=golang-dev, dsymonds, rsc CC=golang-dev https://golang.org/cl/5659051
-
Russ Cox authored
Typing ^\ delivers the SIGQUIT to all threads, it appears. R=golang-dev, r, iant CC=golang-dev https://golang.org/cl/5657044
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/5661053
-
Brad Fitzpatrick authored
R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5658049
-
Russ Cox authored
TBR=golang-dev CC=golang-dev https://golang.org/cl/5656051
-
Rob Pike authored
It's not as pretty, but it deletes some irrelevant information from the printout and avoids a dependency. It also means the test binary will stop if a test panics. That's a feature, not a bug. Any output printed by the test appears before the panic traceback. before: --- FAIL: TestPanic (0.00 seconds) fmt_test.go:19: HI testing.go:257: runtime error: index out of range /Users/r/go/src/pkg/testing/testing.go:257 (0x23998) _func_003: t.Logf("%s\n%s", err, debug.Stack()) /Users/r/go/src/pkg/runtime/proc.c:1388 (0x10d2d) panic: reflect·call(d->fn, d->args, d->siz); /Users/r/go/src/pkg/runtime/runtime.c:128 (0x119b0) panicstring: runtime·panic(err); /Users/r/go/src/pkg/runtime/runtime.c:85 (0x11857) panicindex: runtime·panicstring("index out of range"); /Users/r/go/src/pkg/fmt/fmt_test.go:21 (0x23d72) TestPanic: a[10]=1 /Users/r/go/src/pkg/testing/testing.go:264 (0x21b75) tRunner: test.F(t) /Users/r/go/src/pkg/runtime/proc.c:258 (0xee9e) goexit: runtime·goexit(void) FAIL after: --- FAIL: TestPanic (0.00 seconds) fmt_test.go:19: HI panic: runtime error: index out of range [recovered] panic: (*testing.T) (0xec3b0,0xf8400001c0) goroutine 2 [running]: testing._func_003(0x21f5fa8, 0x21f5100, 0x21f5fb8, 0x21f5e88) /Users/r/go/src/pkg/testing/testing.go:259 +0x108 ----- stack segment boundary ----- fmt_test.TestPanic(0xf8400001c0, 0x27603728) /Users/r/go/src/pkg/fmt/fmt_test.go:21 +0x6b testing.tRunner(0xf8400001c0, 0x18edb8, 0x0, 0x0) /Users/r/go/src/pkg/testing/testing.go:264 +0x6f created by testing.RunTests /Users/r/go/src/pkg/testing/testing.go:343 +0x76e goroutine 1 [chan receive]: testing.RunTests(0x2000, 0x18edb8, 0x2400000024, 0x100000001, 0x200000001, ...) /Users/r/go/src/pkg/testing/testing.go:344 +0x791 testing.Main(0x2000, 0x18edb8, 0x2400000024, 0x188a58, 0x800000008, ...) /Users/r/go/src/pkg/testing/testing.go:275 +0x62 main.main() /var/folders/++/+++Fn+++6+0++4RjPqRgNE++2Qk/-Tmp-/go-build743922747/fmt/_test/_testmain.go:129 +0x91 exit status 2 R=rsc, dsymonds CC=golang-dev https://golang.org/cl/5658048
-
Andrew Gerrand authored
Fixes #2897. R=golang-dev, r CC=golang-dev https://golang.org/cl/5658047
-
Robert Griesemer authored
Fixes #3008. R=rsc CC=golang-dev https://golang.org/cl/5660046
-
Russ Cox authored
Should fix build breakage. TBR=golang-dev CC=golang-dev https://golang.org/cl/5656050
-
Russ Cox authored
This CL makes it possible to run make.bash with GOOS and GOARCH set to something other than the native host GOOS and GOARCH. As part of the CL, the tool directory moves from bin/tool/ to pkg/tool/goos_goarch where goos and goarch are the values for the host system (running the build), not the target. pkg/ is not technically appropriate, but C objects are there now tool (pkg/obj/) so this puts all the generated binaries in one place (rm -rf $GOROOT/pkg cleans everything). Including goos_goarch in the name allows different systems to share a single $GOROOT on a shared file system. Fixes #2920. R=golang-dev, r CC=golang-dev https://golang.org/cl/5645093
-
Russ Cox authored
Generates an infinite stream (at least >1GB) of: === RUN TestTransportPersistConnLeak 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files 2012/02/13 22:20:19 http: Accept error: accept tcp 127.0.0.1:63972: too many open files R=bradfitz CC=golang-dev https://golang.org/cl/5661052
-
Alex Brainman authored
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5656048
-
Mikio Hara authored
R=golang-dev, adg CC=golang-dev https://golang.org/cl/5661051
-
Brad Fitzpatrick authored
Thanks to Sascha Matzke & Florian Weimer for diagnosing. R=golang-dev, adg, bradfitz, kevlar CC=golang-dev https://golang.org/cl/5656046
-
Brad Fitzpatrick authored
Fixes #2941 R=golang-dev, rsc, adg CC=golang-dev https://golang.org/cl/5663046
-
Nigel Tao authored
R=gri, r CC=golang-dev https://golang.org/cl/5659048
-
Shenghou Ma authored
1, IMO, the fatal error "regfree: not a register" from 5g when compiling runtime/debug.go is due to gcc miscompile, it doesn't show up when compiled with -O0. But I still haven't thought of a way to fix this, should all ARM builds be built with -O0? 2, fixed mksysnum_linux.pl, so zsysnum_linux_arm.go no longer needs to be hand-generated. 3, regen all in pkg syscall for Linux/ARM on Debian 6.0 This CL is somewhat big, I'd like to split it if necessary. R=rsc, dave CC=golang-dev https://golang.org/cl/5659044
-
Andrew Gerrand authored
R=golang-dev, r CC=golang-dev https://golang.org/cl/5657047
-
- 13 Feb, 2012 1 commit
-
-
Andrew Gerrand authored
This was an implementation detail that snuck into the public interface. *Writer.Create gives you an io.Writer, the *Writer itself was never meant to be written to. R=golang-dev, dsymonds, r CC=golang-dev https://golang.org/cl/5654076
-