[release-branch.go1.26] runtime: fix timespec definition on 32bits systems
The nsec field of timespec is a C long even when using
64bits time on 32bits systems.
This is because by timespec API if nsec never holds more than a
second worth of nanoseconds.
If it would theses would increment the sec field while the nsec
field would get the amount of nanoseconds modulus a second.
For #77934
Fixes #77935
Change-Id: I9803998ba70123eb3b226379bd72b11cae972c38
Reviewed-on: https://go-review.googlesource.com/c/go/+/751341
Reviewed-by: Michael Pratt <mpr...@google.com>
Auto-Submit: Jorropo <jorro...@gmail.com>
Reviewed-by: David Chase <drc...@google.com>
LUCI-TryBot-Result: Go LUCI <golang...@luci-project-accounts.iam.gserviceaccount.com>
(cherry picked from commit ba402cd756a02cd80bcd76a2f7afc22ae2041c6c)
Reviewed-on: https://go-review.googlesource.com/c/go/+/772020
Auto-Submit: Michael Pratt <mpr...@google.com>
Reviewed-by: Jorropo <jorro...@gmail.com>
Reviewed-by: Cherry Mui <cher...@google.com>
LUCI-TryBot-Result: golang...@luci-project-accounts.iam.gserviceaccount.com <golang...@luci-project-accounts.iam.gserviceaccount.com>
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |