1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
nobu 2002-09-21 13:30:00 +00:00
parent f043430968
commit 5c6ede680b
3 changed files with 11 additions and 3 deletions

View file

@ -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.

2
eval.c
View file

@ -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;
}

View file

@ -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