]> Cypherpunks repositories - gostls13.git/commit
runtime2: don't check fcntl errno in checkfds on AIX and Solaris
authorIan Lance Taylor <iant@golang.org>
Tue, 25 Jul 2023 22:14:03 +0000 (15:14 -0700)
committerGopher Robot <gobot@golang.org>
Tue, 25 Jul 2023 23:44:31 +0000 (23:44 +0000)
commit12bd2445afffbf229bafc538260c37b5dc176479
treed388d0fbed768380393d8f9f56fe02a3103d0a50
parent09c886d3936f5e1d34d7e467990622b9a1e0f858
runtime2: don't check fcntl errno in checkfds on AIX and Solaris

On AIX and Solaris the errno value is fetched using m.mOS.perrno.
When checkfds is called, that value has not yet been set up by minit.
Since the error value doesn't really matter in checkfds,
don't bother to check it on AIX and Solaris.

Fixes #61584

Change-Id: I4e679ee3fdad4f0b833ae102597b2d6b8cb46cb6
Reviewed-on: https://go-review.googlesource.com/c/go/+/513215
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Roland Shoemaker <roland@golang.org>
Run-TryBot: Ian Lance Taylor <iant@google.com>
src/runtime/fds_unix.go