From: Clément Chigot Date: Fri, 30 Aug 2019 08:49:10 +0000 (+0200) Subject: syscall: fix coredump bit for aix/ppc64 X-Git-Tag: go1.14beta1~1257 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=87113f7eadf6d8b12279709f05c0359b54b194ea;p=gostls13.git syscall: fix coredump bit for aix/ppc64 Change-Id: I92173c3b5f842b829aac7c4d7abbe8b5113e530a Reviewed-on: https://go-review.googlesource.com/c/go/+/191787 Run-TryBot: Clément Chigot TryBot-Result: Gobot Gobot Reviewed-by: Tobias Klauser --- diff --git a/src/syscall/syscall_aix.go b/src/syscall/syscall_aix.go index ade2a9d367..d8010d35ce 100644 --- a/src/syscall/syscall_aix.go +++ b/src/syscall/syscall_aix.go @@ -494,7 +494,7 @@ func (w WaitStatus) Signal() Signal { func (w WaitStatus) Continued() bool { return w&0x01000000 != 0 } -func (w WaitStatus) CoreDump() bool { return w&0x200 == 0 } +func (w WaitStatus) CoreDump() bool { return w&0x80 == 0x80 } func (w WaitStatus) TrapCause() int { return -1 }