summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--eval.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 59c08cc555..7f9603f859 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Thu Oct 9 19:11:44 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * eval.c (rb_thread_start_0): non-volatile should be restored from
+ volatile.
+
Thu Oct 9 17:43:36 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
* eval.c (proc_save_safe_level, proc_get_safe_level,
diff --git a/eval.c b/eval.c
index fa0daaa732..033134cb38 100644
--- a/eval.c
+++ b/eval.c
@@ -9436,11 +9436,12 @@ rb_thread_start_0(fn, arg, th)
curr_thread = th;
th->result = (*fn)(arg, th);
}
+ th = th_save;
}
else if (TAG_DST()) {
+ th = th_save;
th->result = prot_tag->retval;
}
- th = th_save;
POP_TAG();
status = th->status;