commit | 6254a7c3cac686fe2a53a481f189cea00afecc17 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Sun Nov 17 23:42:14 2019 +0100 |
committer | Brad Fitzpatrick <bradfitz@golang.org> | Mon Nov 18 01:35:47 2019 +0000 |
tree | adb5880faeb91071cff886fb0e10db597a94a99d | |
parent | 81af7394a23829719e2bddc0e814d8e0d71d41e2 [diff] |
unix: fix EINTR check in TestClockNanosleep err == EINTR needs to be checked before err != nil for the interrupted syscall to be retried properly. Follow-up for CL 207285 Updates golang/go#35622 Change-Id: I0f8c1a75eb96e11aaba284eb75716db044257cbd Reviewed-on: https://go-review.googlesource.com/c/sys/+/207290 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.