ruby-changes:13410
From: nobu <ko1@a...>
Date: Fri, 2 Oct 2009 15:39:56 +0900 (JST)
Subject: [ruby-changes:13410] Ruby:r25180 (trunk): * thread.c (ruby_suppress_tracing): get rid of clobbering by
nobu 2009-10-02 15:34:18 +0900 (Fri, 02 Oct 2009) New Revision: 25180 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=25180 Log: * thread.c (ruby_suppress_tracing): get rid of clobbering by longjmp. Modified files: trunk/ChangeLog trunk/thread.c Index: ChangeLog =================================================================== --- ChangeLog (revision 25179) +++ ChangeLog (revision 25180) @@ -1,3 +1,8 @@ +Fri Oct 2 15:34:15 2009 Nobuyoshi Nakada <nobu@r...> + + * thread.c (ruby_suppress_tracing): get rid of clobbering by + longjmp. + Fri Oct 2 09:20:35 2009 NAKAMURA Usaku <usa@r...> * eval.c (rb_origenviron): remove unused old variable. Index: thread.c =================================================================== --- thread.c (revision 25179) +++ thread.c (revision 25180) @@ -4011,7 +4011,8 @@ 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) { -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/