mirror of
https://github.com/golang/sys.git
synced 2026-02-09 04:06:04 +03:00
Follow CL 165217 which did this for package syscall. Android O seems to require Pipe to call the pipe2 system call. But kernel version 2.6.23 only supports pipe, not pipe2. So try pipe2 first, then fall back to pipe. Updates golang/go#30549 Change-Id: Icf21433fa046ff137c0265fa96410229def482f7 Reviewed-on: https://go-review.googlesource.com/c/sys/+/165297 Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
57 KiB
57 KiB