From 175fc3867a70dd5a0d5c0becdb828751ccd88e9c Mon Sep 17 00:00:00 2001 From: Valentin Rothberg Date: Wed, 20 Jan 2021 10:31:18 +0100 Subject: Revert "ginkgo: install on demand via `go get -u`" This reverts commit de05e5816869073600ae8e851093b4b9a9d7fab0. Running `go get -u` will change the local Go module causing CI to fail as the local git tree is being changed. Reverting the change for now until we have a better idea. Signed-off-by: Valentin Rothberg --- vendor/golang.org/x/sys/unix/syscall_illumos.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'vendor/golang.org/x/sys/unix/syscall_illumos.go') diff --git a/vendor/golang.org/x/sys/unix/syscall_illumos.go b/vendor/golang.org/x/sys/unix/syscall_illumos.go index 7a2d4120f..bbc4f3ea5 100644 --- a/vendor/golang.org/x/sys/unix/syscall_illumos.go +++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go @@ -75,3 +75,16 @@ func Accept4(fd int, flags int) (nfd int, sa Sockaddr, err error) { } return } + +//sysnb pipe2(p *[2]_C_int, flags int) (err error) + +func Pipe2(p []int, flags int) error { + if len(p) != 2 { + return EINVAL + } + var pp [2]_C_int + err := pipe2(&pp, flags) + p[0] = int(pp[0]) + p[1] = int(pp[1]) + return err +} -- cgit v1.2.3-54-g00ecf