1. 04 Nov, 2017 1 commit
  2. 03 Nov, 2017 2 commits
  3. 02 Nov, 2017 2 commits
  4. 31 Oct, 2017 3 commits
  5. 28 Oct, 2017 1 commit
  6. 27 Oct, 2017 7 commits
  7. 26 Oct, 2017 3 commits
  8. 25 Oct, 2017 7 commits
  9. 23 Oct, 2017 3 commits
  10. 17 Oct, 2017 1 commit
    • Hilko Bengen's avatar
      windows: add GetProcAddressByOrdinal · 8dbc5d05
      Hilko Bengen authored
      The current GetProcAddress implementation only resolves functions in
      DLLs by name. Add GetProcAddressByOrdinal that allows resolving
      functions by ordinal number, using the same GetProcAddress call from
      kernel32.dll in the background.
      
      This is particularly useful for some functions (e.g. IsOS from
      shlwapi.dll in some older versions of Windows) that cannot be found by
      name.
      
      Fixes golang/go#16507
      
      Change-Id: Ib5fba7568c365a0aa2491c1261876b3a3929ec3d
      Reviewed-on: https://go-review.googlesource.com/70690Reviewed-by: 's avatarAlex Brainman <alex.brainman@gmail.com>
      Run-TryBot: Alex Brainman <alex.brainman@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      8dbc5d05
  11. 13 Oct, 2017 1 commit
    • Tobias Klauser's avatar
      unix: correct type for timeout argument to Select on linux/{arm64,mips64x} · 68600074
      Tobias Klauser authored
      Follow CL 70590 which did the same for syscall.
      
      unix.Select uses SYS_PSELECT6 on arm64 and mipx64x, however this
      syscall expects its 5th argument to be of type Timespec (with seconds
      and nanoseconds) instead of type Timeval (with seconds and microseconds)
      This leads to the timeout being too short by a factor of 1000.
      
      This CL fixes this by adjusting the timeout argument accordingly,
      similarly to how glibc does it for architectures where neither
      SYS_SELECT nor SYS__NEWSELECT are available. It also makes Pselect
      generaly available on linux.
      
      Updates golang/go#22246
      
      Change-Id: I69f8821a40c59ee469b8a986d784a4db8727ee9a
      Reviewed-on: https://go-review.googlesource.com/70610
      Run-TryBot: Ian Lance Taylor <iant@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarIan Lance Taylor <iant@golang.org>
      68600074
  12. 12 Oct, 2017 1 commit
  13. 06 Oct, 2017 1 commit
  14. 27 Sep, 2017 1 commit
  15. 22 Sep, 2017 1 commit
  16. 21 Sep, 2017 1 commit
  17. 19 Sep, 2017 1 commit
  18. 18 Sep, 2017 2 commits
  19. 12 Sep, 2017 1 commit
    • Jeet Parekh's avatar
      windows: fix NewCallback function · 062cd7e4
      Jeet Parekh authored
      It has been suggested to migrate from syscall to golang.org/x/sys
      The NewCallback function works in syscall. But the golang.org/x/sys/windows NewCallback function did not work.
      
      Since golang.org/x/sys/windows already imports syscall, the NewCallback function now calls syscall.NewCallback.
      
      Fixes golang/go#21831
      
      Change-Id: I5cabd8540777b398a288308a66ae20896ed4a1db
      Reviewed-on: https://go-review.googlesource.com/63250
      Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: 's avatarAlex Brainman <alex.brainman@gmail.com>
      062cd7e4