aboutsummaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/syscall_darwin.go
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2021-01-20 10:31:18 +0100
committerValentin Rothberg <rothberg@redhat.com>2021-01-20 10:31:24 +0100
commit175fc3867a70dd5a0d5c0becdb828751ccd88e9c (patch)
tree4c63109005f9c1a83bdf6259cdb2b189b2cd99d8 /vendor/golang.org/x/sys/unix/syscall_darwin.go
parent5e7262ddf595f9187d01e12f5dcee2fe1c713798 (diff)
downloadpodman-175fc3867a70dd5a0d5c0becdb828751ccd88e9c.tar.gz
podman-175fc3867a70dd5a0d5c0becdb828751ccd88e9c.tar.bz2
podman-175fc3867a70dd5a0d5c0becdb828751ccd88e9c.zip
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 <rothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_darwin.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_darwin.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_darwin.go b/vendor/golang.org/x/sys/unix/syscall_darwin.go
index 16f9c226b..b62573890 100644
--- a/vendor/golang.org/x/sys/unix/syscall_darwin.go
+++ b/vendor/golang.org/x/sys/unix/syscall_darwin.go
@@ -119,16 +119,13 @@ type attrList struct {
Forkattr uint32
}
-//sysnb pipe(p *[2]int32) (err error)
+//sysnb pipe() (r int, w int, err error)
func Pipe(p []int) (err error) {
if len(p) != 2 {
return EINVAL
}
- var x [2]int32
- err = pipe(&x)
- p[0] = int(x[0])
- p[1] = int(x[1])
+ p[0], p[1], err = pipe()
return
}