aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/runtime.c
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@golang.org>2010-06-28 17:14:17 -0700
committerIan Lance Taylor <iant@golang.org>2010-06-28 17:14:17 -0700
commit807605d0fc8a4c4ca46458773bf5ca2263d2c1d9 (patch)
tree874a5f530fcc161ed8e863f5ff6753c8d587db33 /src/pkg/runtime/runtime.c
parentd4384ff7f560ea3867749ccab4e6ad65767f0c6c (diff)
downloadgo-807605d0fc8a4c4ca46458773bf5ca2263d2c1d9.tar.xz
Only catch all signals if os/signal package imported.
Fixes #776. R=rsc CC=golang-dev https://golang.org/cl/1745041
Diffstat (limited to 'src/pkg/runtime/runtime.c')
-rw-r--r--src/pkg/runtime/runtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pkg/runtime/runtime.c b/src/pkg/runtime/runtime.c
index e83006c19d..25a6f26bdf 100644
--- a/src/pkg/runtime/runtime.c
+++ b/src/pkg/runtime/runtime.c
@@ -278,7 +278,7 @@ check(void)
if(z != 4)
throw("cas4");
- initsig();
+ initsig(0);
}
/*