Commits

Author Commit Message Labels Comments Date
minux
cmd/gc: fix invalid indirect error at statement level Fixes issue 4429. R=golang-dev, remyoudompheng, daniel.morsing, rsc CC=golang-dev http://codereview.appspot.com/6850097
minux
runtime: duplicate code for runtime.nanotime to avoid stack overflow in vDSO clock_gettime Fixes issue 4402. R=remyoudompheng, shivakumar.gn, random0x00, rsc CC=golang-dev http://codereview.appspot.com/6842063
Ian Lance Taylor
test: add test for floating point rounding of constants Failed with gccgo. R=golang-dev, remyoudompheng, rsc CC=golang-dev http://codereview.appspot.com/6855053
Oling Cat
runtime: re-format comments. add necessary newlines. R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/6847067 Committer: Russ Cox <rsc@golang.org>
Mikio Hara
net, cmd/fix: add IPv6 scoped addressing zone to INET, INET6 address structs This CL starts to introduce IPv6 scoped addressing capability into the net package. The Public API changes are: +pkg net, type IPAddr struct, Zone string +pkg net, type IPNet struct, Zone string +pkg net, type TCPAddr struct, Zone string +pkg net, type UDPAddr struct, Zone string Update issue 4234. R=rsc, bradfitz, iant CC=golang-dev http://codereview.appspot.com/6849045
Mikio Hara
runtime: regenerate defs-files for freebsd R=minux.ma, jsing CC=golang-dev http://codereview.appspot.com/6855080
minux
net/http: clarify docs of ParseForm and mention ParseForm in docs for FormValue while we're at it, also fix a return value stutter in ParseForm. R=bradfitz CC=golang-dev http://codereview.appspot.com/6847074
Joel Sing
runtime: implement SysUnused for netbsd R=golang-dev, bradfitz, minux.ma, dave CC=golang-dev http://codereview.appspot.com/6842081
Joel Sing
runtime: implement SysUnused for openbsd R=golang-dev, minux.ma CC=golang-dev http://codereview.appspot.com/6854079
Joel Sing
cmd/gc: check malloc return value Check the return value from malloc - do not assume that we were allocated memory just because we asked for it. Update issue 4415. R=minux.ma, daniel.morsing, remyoudompheng, rsc CC=golang-dev http://codereview.appspot.com/6782100
Dave Cheney
net: never return -1 bytes read from netFD.Read If the a network read would block, and a packet arrived just before the timeout expired, then the number of bytes from the previous (blocking) read, -1, would be returned. This change restores the previous logic, where n would be unconditionally set to 0 if err != nil, but was skipped due to a change in CL 6851096. The test for this change is CL 6851061. R=bradfitz, mikioh.mikioh, dvyukov, rsc …
Brad Fitzpatrick
net/http/httptest: protect against port reuse Should make BSDs more reliable. (they seem to reuse ports quicker than Linux) Tested by hand with local modifications to force reuse on Linux. (net/http tests failed before, pass now) Details in the issue. Fixes issue 4436 R=golang-dev, minux.ma CC=golang-dev http://codereview.appspot.com/6847101
Brad Fitzpatrick
bytes, strings: fix Reader WriteTo return value on 0 bytes copied Fixes issue 4421 R=golang-dev, dave, minux.ma, mchaten, rsc CC=golang-dev http://codereview.appspot.com/6855083
Mikio Hara
runtime: fix madvise for freebsd/amd64 Make use of carry clear condition instead of low or same. R=minux.ma, jsing, dave CC=golang-dev http://codereview.appspot.com/6844080
Dmitriy Vyukov
net: add unit tests for read/write deadlines The tests verify that deadlines are "persistent", read/write deadlines do not interfere, can be reset, read deadline can be set with both SetDeadline() and SetReadDeadline(), etc. R=golang-dev, bradfitz, dave CC=golang-dev http://codereview.appspot.com/6850070
Ian Lance Taylor
test: add bug469, a case where gccgo gaves an incorrect error R=golang-dev, dsymonds CC=golang-dev http://codereview.appspot.com/6856084
Dave Cheney
time: add Now()/UnixNano() malloc tests The fix for issue 4403 may include more calls to time.Now().UnixNano(). I was concerned that if this function allocated it would cause additional garbage on the heap. It turns out that it doesn't, which is a nice surprise. Also add benchmark for Now().UnixNano() R=bradfitz, minux.ma CC=golang-dev http://codereview.appspot.com/6849097
brainman
net: do not start io if deadline has passed R=golang-dev, mikioh.mikioh, minux.ma, bradfitz CC=golang-dev http://codereview.appspot.com/6851098
Caine Tighe
http/transport.go: trivial comment error. R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/6856078 Committer: Shenghou Ma <minux.ma@gmail.com>
Ian Lance Taylor
cmd/go: fix typo in comment Fixes issue 4432. R=golang-dev, minux.ma CC=golang-dev http://codereview.appspot.com/6858064
Brad Fitzpatrick
net: check read and write deadlines before doing syscalls Otherwise a fast sender or receiver can make sockets always readable or writable, preventing deadline checks from ever occuring. Update issue 4191 (fixes it with other CL, coming separately) Fixes issue 4403 R=golang-dev, alex.brainman, dave, mikioh.mikioh CC=golang-dev http://codereview.appspot.com/6851096
John Graham-Cumming
runtime: implement runtime.SysUnused on FreeBSD madvise was missing so implement it in assembler. This change needs to be extended to the other BSD variantes (Net and Open) Without this change the scavenger will attempt to pass memory back to the operating system when it has become idle, but the memory is not returned and for long running Go processes the total memory used can grow until OOM occurs. I have only been able to test the code on F…
Dave Cheney
net/http/httptest: fix possible race on historyListener.history R=golang-dev, bradfitz CC=golang-dev http://codereview.appspot.com/6845077
Brad Fitzpatrick
A+C: Add John Graham-Cumming (Individual CLA) R=golang-dev, dsymonds CC=golang-dev http://codereview.appspot.com/6846095
minux
cmd/go: fix data race on cgoLibGccFile Fixes issue 4426. R=dvyukov CC=golang-dev http://codereview.appspot.com/6851099
minux
cmd/go: show -race if necessary when giving "go test -i" hint R=golang-dev, dsymonds CC=golang-dev http://codereview.appspot.com/6851100
Robert Griesemer
spec: be clearer about the scope of a package name We have the notion of a PackageName, not package identifier. As is, it could construed that imports that rename a package don't have an "imported package identifier" but a local one. R=r, rsc, iant, ken, dsymonds CC=golang-dev http://codereview.appspot.com/6858049
Dave Cheney
dashboard/builder: pass $CC to builder if set R=adg, minux.ma, rsc CC=golang-dev http://codereview.appspot.com/6843068
Dave Cheney
net/http: use runtime.Stack instead of runtime/debug.Stack Fixes issue 4060. 2012/11/21 19:51:34 http: panic serving 127.0.0.1:47139: Kaaarn! goroutine 7 [running]: net/http.func·004(0x7f330807ffb0, 0x7f330807f100) /home/dfc/go/src/pkg/net/http/server.go:615 +0xa7 ----- stack segment boundary ----- main.(*httpHandler).ServeHTTP() /home/dfc/src/httppanic.go:16 +0x53 net/http.(*conn).serve(0xc200090240, 0x0) /home/dfc/go/src/pkg/net/http/server.go:695 +…
vova616
cmd/cgo: fix alignment of bool. Fixes issue 4417. R=golang-dev, iant, minux.ma, bradfitz CC=golang-dev, vova616 http://codereview.appspot.com/6782097 Committer: Ian Lance Taylor <iant@golang.org>
  1. Prev
  2. Next