]> Cypherpunks repositories - gostls13.git/commit
syscall: correct WSTOPPED on OS X
authorRuss Cox <rsc@golang.org>
Tue, 18 Jan 2011 19:02:41 +0000 (14:02 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 18 Jan 2011 19:02:41 +0000 (14:02 -0500)
commitacd858eee024469103bce2b9a669e2e96ccbf189
treec687dc004a336f6c92e67077db92d3a5d60ac494
parent166b444a9320a6c99f3b6f1f5d2c353c02c5182f
syscall: correct WSTOPPED on OS X

Have to set #defines correctly to get correct value.
Otherwise get a mask for use in implementing WIFSTOPPED(status).

Changed WSTOPPED definition in os because on
OS X WSTOPPED and WUNTRACED have different values
even though they seem to mean the same thing.

Fixes #1374.

R=r, r2
CC=golang-dev
https://golang.org/cl/4063042
src/pkg/os/exec.go
src/pkg/syscall/mkerrors.sh
src/pkg/syscall/zerrors_darwin_386.go
src/pkg/syscall/zerrors_darwin_amd64.go