unix: update Select to use newselect on ppc64x

Analog to the runtime package, Select should be using newselect
instead of select. This change addresses this problem and regenerates
zsyscall_linux_* for ppc64 and ppc64le.

Updates golang/go#21946

Change-Id: I7ed5c2490ba2ce556f143f8e8377572ab345f7b8
Reviewed-on: https://go-review.googlesource.com/65091
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Lynn Boger <laboger@linux.vnet.ibm.com>
This commit is contained in:
Carlos Eduardo Seo
2017-09-22 12:34:23 +00:00
committed by Lynn Boger
parent 2320a9c158
commit 429f518978
4 changed files with 10 additions and 3 deletions
+7
View File
@@ -192,6 +192,13 @@ func TestGetrlimit(t *testing.T) {
}
}
func TestSelect(t *testing.T) {
_, err := unix.Select(0, nil, nil, nil, &unix.Timeval{0, 0})
if err != nil {
t.Fatalf("Select: %v", err)
}
}
// utilities taken from os/os_test.go
func touch(t *testing.T, name string) {