• Russ Cox's avatar
    runtime: fix build on linux · c7f7bbbf
    Russ Cox authored
    In addition to the compile failure fixed in signal*.c,
    preserving the signal mask led to very strange crashes.
    Testing shows that looking for SIG_IGN is all that
    matters to get along with nohup, so reintroduce
    sigset_zero instead of trying to preserve the signal mask.
    
    TBR=iant
    CC=golang-dev
    https://golang.org/cl/7323067
    c7f7bbbf
signal_linux_amd64.c 4.34 KB