]> Cypherpunks repositories - gostls13.git/commit
os/signal: Stop restores original signal handling
authorIan Lance Taylor <iant@golang.org>
Tue, 5 Jan 2016 00:19:38 +0000 (16:19 -0800)
committerIan Lance Taylor <iant@golang.org>
Wed, 6 Jan 2016 14:25:39 +0000 (14:25 +0000)
commite24b2445b4d3fc77034b6ad42c8258d41a4133d1
tree0f835c5cd7b96ce9eeb9935e77c6b0ceb77490b9
parent91f997be723a0f88df0c42051f29c23ef90db0c5
os/signal: Stop restores original signal handling

Since Stop was introduced, it would revert to the system default for the
signal, rather than to the default Go behavior.  Change it to revert to
the default Go behavior.

Change-Id: I345467ece0e49e31b2806d6fce2f1937b17905a6
Reviewed-on: https://go-review.googlesource.com/18229
Reviewed-by: Russ Cox <rsc@golang.org>
src/os/signal/signal_test.go
src/runtime/signal1_unix.go