unix: use pipe2 syscall on FreeBSD instead of pipe
The pipe syscall no longer exists in FreeBSD 11 and 12. The pipe2 syscall exists in all currently supported FreeBSD versions: 10, 11 and the upcoming 12. Follow CL 38426 Change-Id: If908eecfd2662e6f32a229ac52f27d9a2ec2b9d7 Reviewed-on: https://go-review.googlesource.com/130995 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Showing
Please
register
or
sign in
to comment