]> Cypherpunks repositories - gostls13.git/commit
runtime: simplify signalstack by dropping nil as argument
authorIan Lance Taylor <iant@golang.org>
Tue, 27 Sep 2016 14:20:10 +0000 (07:20 -0700)
committerIan Lance Taylor <iant@golang.org>
Tue, 27 Sep 2016 17:08:29 +0000 (17:08 +0000)
commit097a581dc0d97efac1dfbe5d79819bbf6bf681a7
treeeb4ad196d4a24eb8c65d347112282476c4c8e73f
parent60482d8a8b11a3dfdf9b582b9f666694d84bb9c4
runtime: simplify signalstack by dropping nil as argument

Change the two calls to signalstack(nil) to inline the code
instead (it's two lines).

Change-Id: Ie92a05494f924f279e40ac159f1b677fda18f281
Reviewed-on: https://go-review.googlesource.com/29854
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/runtime/os_netbsd.go
src/runtime/signal_unix.go