Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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>
- Loading branch information