]> Cypherpunks repositories - gostls13.git/commit
runtime: fix build on linux
authorRuss Cox <rsc@golang.org>
Fri, 15 Feb 2013 17:18:33 +0000 (12:18 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 15 Feb 2013 17:18:33 +0000 (12:18 -0500)
commitc7f7bbbf03415e1805e503846627f2e08423c360
tree8ef2e49d555a6febdccda01d89df9123b929e742
parentf8f2727ab50decb8db6d2235e77e8079b8d22eba
runtime: fix build on linux

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
src/pkg/runtime/runtime.h
src/pkg/runtime/signal_linux_386.c
src/pkg/runtime/signal_linux_amd64.c
src/pkg/runtime/signal_linux_arm.c
src/pkg/runtime/thread_darwin.c
src/pkg/runtime/thread_freebsd.c
src/pkg/runtime/thread_linux.c
src/pkg/runtime/thread_netbsd.c
src/pkg/runtime/thread_openbsd.c