]> Cypherpunks repositories - gostls13.git/commit
runtime: fix sigaction struct on freebsd
authorJoel Sing <jsing@google.com>
Sun, 17 Feb 2013 16:23:29 +0000 (03:23 +1100)
committerJoel Sing <jsing@google.com>
Sun, 17 Feb 2013 16:23:29 +0000 (03:23 +1100)
commit556dd0bfbd52876933ef0454ca86f492c618f342
treef46c778fd422cd5ccf37835923c4d37127db79ce
parent23093f86eebbefb0cf11298c45513da360d2b48d
runtime: fix sigaction struct on freebsd

Fix the sa_mask member of the sigaction struct - on FreeBSD this is
declared as a sigset_t, which is an array of four unsigned ints.
Replace the current int64 with Sigset from defs_freebsd_GOARCH, which
has the correct definition.

Unbreaks the FreeBSD builds.

R=golang-dev, dave, minux.ma
CC=golang-dev
https://golang.org/cl/7333047
src/pkg/runtime/signal_freebsd_386.c
src/pkg/runtime/signal_freebsd_amd64.c
src/pkg/runtime/signal_freebsd_arm.c