]> Cypherpunks repositories - gostls13.git/commit
syscall: use pipe instead of pipe2 on NetBSD
authorBenny Siegert <bsiegert@gmail.com>
Mon, 4 Jun 2012 15:29:34 +0000 (01:29 +1000)
committerJoel Sing <jsing@google.com>
Mon, 4 Jun 2012 15:29:34 +0000 (01:29 +1000)
commit677cdb800d85025b01173e44925189c822869168
tree439c0e93823b84ca31e1f82f210b9b0ea910314d
parentafeaf554aa5dd34b0def3f18a37dd500aebd0695
syscall: use pipe instead of pipe2 on NetBSD

pipe2 is equivalent to pipe with flags set to 0.
However, pipe2 was only added recently. Using pipe
instead improves compatibility with NetBSD 5.

R=jsing
CC=golang-dev
https://golang.org/cl/6268045
src/pkg/syscall/syscall_netbsd.go
src/pkg/syscall/zsyscall_netbsd_386.go
src/pkg/syscall/zsyscall_netbsd_amd64.go