[前][次][番号順一覧][スレッド一覧]

ruby-changes:9903

From: nobu <ko1@a...>
Date: Mon, 12 Jan 2009 13:41:04 +0900 (JST)
Subject: [ruby-changes:9903] Ruby:r21444 (ruby_1_8): * eval.c (rb_thread_start_0): must use ruby_longjmp instead of

nobu	2009-01-12 13:40:48 +0900 (Mon, 12 Jan 2009)

  New Revision: 21444

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=21444

  Log:
    * eval.c (rb_thread_start_0): must use ruby_longjmp instead of
      longjmp.

  Modified files:
    branches/ruby_1_8/ChangeLog
    branches/ruby_1_8/eval.c

Index: ruby_1_8/ChangeLog
===================================================================
--- ruby_1_8/ChangeLog	(revision 21443)
+++ ruby_1_8/ChangeLog	(revision 21444)
@@ -1,3 +1,8 @@
+Mon Jan 12 13:41:33 2009  Nobuyoshi Nakada  <nobu@r...>
+
+	* eval.c (rb_thread_start_0): must use ruby_longjmp instead of
+	  longjmp.
+
 Sun Jan 11 20:19:38 2009  Masatoshi SEKI  <m_seki@m...>
 
 	* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
Index: ruby_1_8/eval.c
===================================================================
--- ruby_1_8/eval.c	(revision 21443)
+++ ruby_1_8/eval.c	(revision 21444)
@@ -12414,7 +12414,7 @@
 	th->anchor = ip;
 	thread_insert(th);
 	curr_thread = th;
-	longjmp((prot_tag = ip->tag)->buf, TAG_THREAD);
+	ruby_longjmp((prot_tag = ip->tag)->buf, TAG_THREAD);
     }
 
     if (ruby_block) {		/* should nail down higher blocks */

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]