summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-21 13:30:00 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-09-21 13:30:00 +0000
commit5c6ede680b84fc7fa9473cec58a28a18a8e27cb0 (patch)
treeee85506b3f0ec83df06494fa46200200e603117e
parentf0434309688c439c1723261677f7a82a5e1b2e51 (diff)
* eval.c (rb_thread_raise): no need to save dead thread context.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog8
-rw-r--r--eval.c2
-rw-r--r--version.h4
3 files changed, 11 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index ce0e8b8c76..78cc3b537a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+Sat Sep 21 22:23:41 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+
+ * eval.c (rb_thread_raise): no need to save dead thread context.
+
+Sat Sep 21 00:00:24 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
+
+ * parse.y (whole_match_p): avoid overrun.
+
Fri Sep 20 23:02:01 2002 Nobuyoshi Nakada <nobu.nokada@softhome.net>
* parse.y (block_append): eliminate unused literal nodes.
diff --git a/eval.c b/eval.c
index 800d001cce..1bbf65f109 100644
--- a/eval.c
+++ b/eval.c
@@ -9037,7 +9037,7 @@ rb_thread_raise(argc, argv, th)
rb_f_raise(argc, argv);
}
- if (THREAD_SAVE_CONTEXT(curr_thread)) {
+ if (!rb_thread_dead(curr_thread) && THREAD_SAVE_CONTEXT(curr_thread)) {
return th->thread;
}
diff --git a/version.h b/version.h
index 58a00fcd41..aca48dda57 100644
--- a/version.h
+++ b/version.h
@@ -1,4 +1,4 @@
#define RUBY_VERSION "1.7.3"
-#define RUBY_RELEASE_DATE "2002-09-20"
+#define RUBY_RELEASE_DATE "2002-09-21"
#define RUBY_VERSION_CODE 173
-#define RUBY_RELEASE_CODE 20020920
+#define RUBY_RELEASE_CODE 20020921