• Joel Sing's avatar
    runtime: fix sigaction struct on freebsd · 556dd0bf
    Joel Sing authored
    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
    556dd0bf
signal_freebsd_amd64.c 4.27 KB