summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-09 12:40:17 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-12-09 12:40:17 +0000
commit3629264d825c52c44eb89bf1cb0aad246bb09941 (patch)
tree88a488bf26a0d4dad3a4fef5380d430e905391ef
parentbf3d17c672abb63f2884126c4dceb8986b2285d6 (diff)
downloadruby-3629264d825c52c44eb89bf1cb0aad246bb09941.tar.gz
ruby-3629264d825c52c44eb89bf1cb0aad246bb09941.tar.xz
ruby-3629264d825c52c44eb89bf1cb0aad246bb09941.zip
* eval.c (ruby_cleanup): keep the exception till after END blocks.
[ruby-core:09675] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog5
-rw-r--r--eval.c1
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index fe1cb60a8..b887c0947 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sat Dec 9 21:39:24 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * eval.c (ruby_cleanup): keep the exception till after END blocks.
+ [ruby-core:09675]
+
Sat Dec 9 11:22:00 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* lib/irb/locale.rb (IRB::Locale::search_file): ues File.exist?
diff --git a/eval.c b/eval.c
index 1e582dcbc..dc70f6611 100644
--- a/eval.c
+++ b/eval.c
@@ -1553,7 +1553,6 @@ ruby_cleanup(int ex)
PUSH_THREAD_TAG();
if ((state = EXEC_TAG()) == 0) {
ruby_finalize_0();
- if (ruby_errinfo) err = ruby_errinfo;
rb_thread_cleanup();
rb_thread_wait_other_threads();
}