• Russ Cox's avatar
    syscall: correct WSTOPPED on OS X · acd858ee
    Russ Cox authored
    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
    acd858ee
exec.go 4.25 KB