1. 04 Jan, 2020 1 commit
  2. 03 Jan, 2020 11 commits
  3. 02 Jan, 2020 5 commits
  4. 31 Dec, 2019 1 commit
    • Tobias Klauser's avatar
      internal/poll: use correct fcntl implementations · bbd25d26
      Tobias Klauser authored
      Use the libc fcntl (via syscall.fcntl) on aix and solaris like it is
      already done for darwin.
      
      For the syscall-based fcntl implementation use FcntlSyscall from
      internal/syscall/unix in order to get fcntl64 on 32-bit Linux
      systems.
      
      On aix, fcntl with F_DUPFD_CLOEXEC is not supported. Thus, defined
      F_DUPFD_CLOEXEC = 0 in the syscall package and check its value before
      calling fcntl(fd, syscall.F_DUPFD_CLOEXEC, 0).
      
      On js/wasm, fcntl is not supported thus let its implementation return
      ENOSYS directly.
      
      Updates #36211
      
      Change-Id: I96a2ea79e5c4eed2fefd94d0aefd72c940825682
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212278
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      bbd25d26
  5. 30 Dec, 2019 3 commits
  6. 27 Dec, 2019 3 commits
  7. 26 Dec, 2019 2 commits
    • Michael Anthony Knyszek's avatar
      runtime: disable pageAlloc tests on OpenBSD in short mode · cd1b9c1d
      Michael Anthony Knyszek authored
      This change disables pageAlloc tests on OpenBSD in short mode because
      pageAlloc holds relatively large virtual memory reservations and we make
      two during the pageAlloc tests. The runtime may also be carrying one
      such reservation making the virtual memory requirement for testing the
      Go runtime three times as much as just running a Go binary.
      
      This causes problems for folks who just want to build and test Go
      (all.bash) on OpenBSD but either don't have machines with at least 4ish
      GiB of RAM (per-process virtual memory limits are capped at some
      constant factor times the amount of physical memory) or their
      per-process virtual memory limits are low for other reasons.
      
      Fixes #36210.
      
      Change-Id: I8d89cfde448d4cd2fefff4ad6ffed90de63dd527
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212177
      Run-TryBot: Michael Knyszek <mknyszek@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarBryan C. Mills <bcmills@google.com>
      cd1b9c1d
    • Tobias Klauser's avatar
      internal/poll: use fcntl64 on 32-bit GNU/Linux systems · 075c20ce
      Tobias Klauser authored
      Use FcntlSyscall from internal/syscall/unix to get fcntl64 on 32-bit
      Linux systems.
      
      Updates #36211
      
      Change-Id: If48a6e09606ca9f7f6e22f3e8dc9a25fb3ccaf65
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212537
      Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarIan Lance Taylor <iant@golang.org>
      075c20ce
  8. 24 Dec, 2019 5 commits
  9. 23 Dec, 2019 2 commits
  10. 20 Dec, 2019 6 commits
  11. 19 Dec, 2019 1 commit
    • Bryan C. Mills's avatar
      cmd/go: relax validation for replacements for gopkg.in paths · 5c6f4277
      Bryan C. Mills authored
      The 'go' command normally requires the 'go.mod' files for replacement
      modules to have a major version compatible with the module they are
      replacing.
      
      However, prior to CL 206761, the 'go' command erroneously allowed
      unversioned paths (which imply major version 0 or 1) to replace
      'gopkg.in' paths with any major-version suffix.
      
      An analysis of proxy.golang.org suggests that these replacements,
      while uncommon, are not unheard-of. Rather than breaking the modules
      that rely on them, we will continue to allow the erroneous replacement
      paths for this particular pairing.
      
      Updates #34254
      
      Change-Id: Icb4e745981803edaa96060f17a8720a058219ab1
      Reviewed-on: https://go-review.googlesource.com/c/go/+/212105
      Run-TryBot: Bryan C. Mills <bcmills@google.com>
      TryBot-Result: Gobot Gobot <gobot@golang.org>
      Reviewed-by: default avatarJay Conrod <jayconrod@google.com>
      5c6f4277