diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 02:36:23 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-12-05 02:36:23 +0000 |
commit | e88b960b0a5482c68a01add985b63392f20bcbb3 (patch) | |
tree | 5f28957913cd42f749071bc19cec57710faad72c /thread.c | |
parent | fba7863392bdf1c968f574de129c14ae30784f88 (diff) |
merges r25180 from trunk into ruby_1_9_1.
--
* thread.c (ruby_suppress_tracing): get rid of clobbering by
longjmp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@26000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'thread.c')
-rw-r--r-- | thread.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -3762,7 +3762,8 @@ VALUE ruby_suppress_tracing(VALUE (*func)(VALUE, int), VALUE arg, int always) { rb_thread_t *th = GET_THREAD(); - int state, raised, tracing; + int state, tracing; + volatile int raised; VALUE result = Qnil; if ((tracing = th->tracing) != 0 && !always) { |