commit | 2738c018e2a1a6d487854cad75332fe7eccebb37 | [log] [tgz] |
---|---|---|
author | Tobias Klauser <tklauser@distanz.ch> | Wed Feb 24 16:53:53 2021 +0100 |
committer | Tobias Klauser <tobias.klauser@gmail.com> | Thu Feb 25 09:19:36 2021 +0000 |
tree | 13ad2e952b1cfa63cd0ad7c244592eee9168089b | |
parent | 8e9945a5478f4f1c3aa024380d3e313cca0430dd [diff] |
unix: fix Pipe2 on dragonfly The pipe2 on dragonfly still expects an fds array as an argument, but does not use it to return the file descriptors. Just pass the argument but ignore its value. This way the flags argument will be respected correctly. Change-Id: Id340653040999f31074eae01e9be4ea2088abae5 Reviewed-on: https://go-review.googlesource.com/c/sys/+/295870 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>
This repository holds supplemental Go packages for low-level interactions with the operating system.
The easiest way to install is to run go get -u golang.org/x/sys
. You can also manually git clone the repository to $GOPATH/src/golang.org/x/sys
.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the sys repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/sys:” in the subject line, so it is easy to find.