]> Cypherpunks repositories - gostls13.git/commit
syscall: fix TestForeground for AIX
authorClément Chigot <clement.chigot@atos.net>
Thu, 25 Oct 2018 09:32:35 +0000 (11:32 +0200)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 25 Oct 2018 16:03:56 +0000 (16:03 +0000)
commitf98ac8519257f8e4d2e886b84ccab628eeb61244
treea8e77829814eec0681431f7f1003a483d387c1d7
parentc8b2ac68906a154c470a845172f133aceae7c5c7
syscall: fix TestForeground for AIX

On AIX, sys.Pgid must be a int32 and not a int64 as on Solaris for ioctl
syscall.
Pid_t type can be used to provide the same code in both OS. But pid_t
must be added to ztypes_solaris_amd64.go.

Change-Id: I1dbe57f099f9e5ac9491aaf246a521137eea5014
Reviewed-on: https://go-review.googlesource.com/c/144539
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/syscall/exec_libc.go
src/syscall/syscall_aix.go
src/syscall/types_aix.go
src/syscall/types_solaris.go
src/syscall/zsyscall_aix_ppc64.go
src/syscall/ztypes_aix_ppc64.go
src/syscall/ztypes_solaris_amd64.go