1
0
mirror of https://github.com/golang/go synced 2024-11-13 18:50:24 -07:00

runtime: fix build on openbsd

R=golang-dev, jsing
CC=golang-dev
https://golang.org/cl/7312104
This commit is contained in:
Georg Reinke 2013-02-17 02:06:59 +11:00 committed by Joel Sing
parent c02d18ab34
commit f1037f0e86

View File

@ -172,7 +172,7 @@ runtime·minit(void)
// Initialize signal handling
m->gsignal = runtime·malg(32*1024);
runtime·signalstack((byte*)m->gsignal->stackguard - StackGuard, 32*1024);
runtime·sigprocmask(SIG_SETMASK, &sigset_none, nil, sizeof sigset_none);
runtime·sigprocmask(SIG_SETMASK, sigset_none);
}
void