commit | a26c6dedcadbebb6af7503ef5504663ff3f0c865 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Sep 13 23:42:14 2023 +0200 |
committer | Gopher Robot <gobot@golang.org> | Thu Sep 14 17:25:13 2023 +0000 |
tree | 4eed0421211e9f64b5bad665d1ecfe2ba5c3e36a | |
parent | f3ef2d1cfa5ac6b4be2084b507a56b3de0292e63 [diff] |
unix: use errnoErr in generated wrappers on solaris To prevent allocations at runtime for common errno values (EAGAIN, EINVAL, ENOENT). This was omitted from CL 8190 because the solaris port was broken otherwise at that time. Change-Id: I6061d071dddf34d0fd022e0ecfb854b01c56b723 Reviewed-on: https://go-review.googlesource.com/c/sys/+/528375 Reviewed-by: Heschi Kreinick <heschi@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@google.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Run-TryBot: Ian Lance Taylor <iant@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.