aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/export_pipe2_test.go
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-02-24 09:43:59 +0100
committerTobias Klauser <tobias.klauser@gmail.com>2021-02-25 18:43:17 +0000
commitee2a45e5fbee473b81c8ab81da8d83699d64e01f (patch)
tree8b71a65ef42273ebd09dfa7b5293dfa95252c523 /src/runtime/export_pipe2_test.go
parent1f7a01459b1172fdc571a81ffd369dbf32b6c8b2 (diff)
downloadgo-ee2a45e5fbee473b81c8ab81da8d83699d64e01f.tar.xz
runtime: use pipe2 for nonblockingPipe on dragonfly
The pipe2 syscall is available since DragonflyBSD 4.2, see https://www.dragonflybsd.org/release42/ Change-Id: Ifc67c4935cc59bae29be459167e2fa765843ac03 Reviewed-on: https://go-review.googlesource.com/c/go/+/295471 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/runtime/export_pipe2_test.go')
-rw-r--r--src/runtime/export_pipe2_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/runtime/export_pipe2_test.go b/src/runtime/export_pipe2_test.go
index 31c8e43b3f..26d8b7d185 100644
--- a/src/runtime/export_pipe2_test.go
+++ b/src/runtime/export_pipe2_test.go
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-//go:build freebsd || linux || netbsd || openbsd || solaris
-// +build freebsd linux netbsd openbsd solaris
+//go:build dragonfly || freebsd || linux || netbsd || openbsd || solaris
+// +build dragonfly freebsd linux netbsd openbsd solaris
package runtime