1. 05 Mar, 2014 4 commits
    • Joel Sing's avatar
      syscall: fix mksysnum_dragonfly.pl · b586f56e
      Joel Sing authored
      The format of the DragonFly BSD syscalls.master file has changed
      slightly - update mksysnum_dragonfly.pl to match.
      
      LGTM=mikioh.mikioh
      R=golang-codereviews, mikioh.mikioh
      CC=golang-codereviews
      https://golang.org/cl/71460044
      b586f56e
    • Joel Sing's avatar
      net: disable "udp" to IPv6 unicast address loopback test on dragonfly · 18019dff
      Joel Sing authored
      Disable the "udp" to IPv6 unicast address on the loopback interface
      test under DragonFly BSD. This currently returns a local address of
      0.0.0.1, rather than an IPv6 address with zone identifier.
      
      Update #7473
      
      LGTM=mikioh.mikioh
      R=golang-codereviews, mikioh.mikioh
      CC=golang-codereviews
      https://golang.org/cl/71500044
      18019dff
    • Joel Sing's avatar
      net: fix non-blocking connect handling on dragonfly · 734d4637
      Joel Sing authored
      Performing multiple connect system calls on a non-blocking socket
      under DragonFly BSD does not necessarily result in errors from earlier
      connect calls being returned, particularly if we are connecting to
      localhost. Instead, once netpoll tells us that the socket is ready,
      get the SO_ERROR socket option to see if the connection succeeded
      or failed.
      
      Fixes #7474
      
      LGTM=mikioh.mikioh
      R=mikioh.mikioh
      CC=golang-codereviews
      https://golang.org/cl/69340044
      734d4637
    • Patrick Mézard's avatar
      os: try openFile before openDir in windows os.OpenFile · 9a7cd11b
      Patrick Mézard authored
      Logging calls when running "go install -a std" turns:
      
        547  openDir succeeded
        3593 openDir failed and fell back to openFile
        3592 openFile succeeded
        1    both failed
      
      into:
      
        3592 openFile succeeded
        548  openFile failed and fell back
        547  openDir succeeded
        1    both failed
      
      Here the change trades 3593 failed openDir for 548 failed openFile.
      
      Fix issue 7426.
      
      LGTM=alex.brainman
      R=golang-codereviews, alex.brainman, bradfitz
      CC=golang-codereviews
      https://golang.org/cl/70480044
      9a7cd11b
  2. 04 Mar, 2014 30 commits
  3. 03 Mar, 2014 6 commits