summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--eval.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8ecb0a7996..967b4ebafb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Mon Jan 12 13:41:33 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * eval.c (rb_thread_start_0): must use ruby_longjmp instead of
+ longjmp.
+
Sun Jan 11 20:19:38 2009 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
* lib/erb.rb (PercentScanner): remove PercentScanner. fixed % after
diff --git a/eval.c b/eval.c
index 0052afd46c..8829dbdd05 100644
--- a/eval.c
+++ b/eval.c
@@ -12414,7 +12414,7 @@ rb_thread_start_0(fn, arg, th)
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 */