1. 02 Aug, 2012 2 commits
  2. 01 Aug, 2012 7 commits
  3. 31 Jul, 2012 5 commits
  4. 30 Jul, 2012 22 commits
  5. 29 Jul, 2012 4 commits
    • Russ Cox's avatar
      syscall: apply comment from Mikioh · 7aa60d99
      Russ Cox authored
      This comment was suggested in CL 6456045
      but never got applied.
      
      R=mikioh, mikioh.mikioh
      CC=golang-dev
      https://golang.org/cl/6447056
      7aa60d99
    • Alexey Borzenkov's avatar
      syscall: workaround accept() bug on Darwin · 5197fa80
      Alexey Borzenkov authored
      Darwin kernels have a bug in accept() where error result from
      an internal call is not checked and socket is accepted instead
      of ECONNABORTED error. However, such sockets have no sockaddr,
      which results in EAFNOSUPPORT error from anyToSockaddr, making
      Go http servers running on Mac OS X easily susceptible to
      denial of service from simple port scans with nmap.
      Fixes #3849.
      
      R=golang-dev, adg, mikioh.mikioh
      CC=golang-dev
      https://golang.org/cl/6456045
      5197fa80
    • Benny Siegert's avatar
      runtime/cgo: fix netbsd build · b4402a49
      Benny Siegert authored
      Copy over freebsd.c to netbsd.c.
      
      Fixes #3823.
      
      R=golang-dev, rsc
      CC=golang-dev
      https://golang.org/cl/6398045
      b4402a49
    • David Symonds's avatar
      misc/vim: fix :Import insertion heuristic. · 32944049
      David Symonds authored
      If a factored import group has a blank line, assume it is dividing
      separate groups of imports (e.g. standard library vs. site-specific).
              import (
                      "bytes"
                      "io"
      
                      "mycorp/package"
              )
      
      The most common case is inserting new standard library imports,
      which are usually (stylistically) the first group, so we should drop
      "net" in the above example immediately after "io".
      
      Since this logic is getting non-trivial, add a test.
      
      R=golang-dev, minux.ma, franciscossouza
      CC=golang-dev
      https://golang.org/cl/6445043
      32944049