summaryrefslogtreecommitdiff
path: root/src/internal/syscall/unix/nonblocking.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2019-12-30 15:50:50 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2019-12-30 20:44:00 +0000
commitaa175a196d74f2788ec3d02b990487f7ca2af5b0 (patch)
tree9a2b3577bfb7a1fc73a1321efea8a0c327b8a9c4 /src/internal/syscall/unix/nonblocking.go
parent53dede938b5c3322627a846e6c073d8d45dc21ac (diff)
downloadgo-git-aa175a196d74f2788ec3d02b990487f7ca2af5b0.tar.gz
internal/syscall/unix: use libc based fcntl for IsNonblock on aix and solaris
On aix and solaris (like on darwin) use libc fcntl to implement IsNonblock instead of Syscall(SYS_FCNTL, ...) which isn't supported. Change-Id: I989b02aa0c90b7e2dae025572867dda277fef8be Reviewed-on: https://go-review.googlesource.com/c/go/+/212600 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/internal/syscall/unix/nonblocking.go')
-rw-r--r--src/internal/syscall/unix/nonblocking.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/syscall/unix/nonblocking.go b/src/internal/syscall/unix/nonblocking.go
index 545445204f..db25fcca98 100644
--- a/src/internal/syscall/unix/nonblocking.go
+++ b/src/internal/syscall/unix/nonblocking.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build aix dragonfly freebsd linux netbsd openbsd solaris
+// +build dragonfly freebsd linux netbsd openbsd
package unix