mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* thread.c (ruby_suppress_tracing): get rid of clobbering by
longjmp. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
c4b17fc135
commit
56e358d5f9
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Fri Oct 2 15:34:15 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* thread.c (ruby_suppress_tracing): get rid of clobbering by
|
||||
longjmp.
|
||||
|
||||
Fri Oct 2 09:20:35 2009 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* eval.c (rb_origenviron): remove unused old variable.
|
||||
|
|
3
thread.c
3
thread.c
|
@ -4011,7 +4011,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) {
|
||||
|
|
Loading…
Reference in a new issue