]> Cypherpunks repositories - gostls13.git/commit
runtime: only permit SetCgoTraceback to be called once
authorIan Lance Taylor <iant@golang.org>
Thu, 2 Jun 2016 19:01:03 +0000 (12:01 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 2 Jun 2016 19:24:55 +0000 (19:24 +0000)
commit03abde49713b46366fa47a037040697c8fdad3bb
tree8256b1d64c6136cc89eaaa0cd28ae63b893ec62f
parent88e0ec2979bb39bd8811ec50a69fcb5007a24623
runtime: only permit SetCgoTraceback to be called once

Accept a duplicate call, but nothing else.

Change-Id: Iec24bf5ddc3b0f0c559ad2158339aca698601743
Reviewed-on: https://go-review.googlesource.com/23692
Run-TryBot: Ian Lance Taylor <iant@golang.org>
Reviewed-by: Dmitry Vyukov <dvyukov@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/traceback.go