summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--eval.c2
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bb5cb48c7..2a7535469 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed Aug 25 15:18:52 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * eval.c (rb_longjmp): Exception#to_str is no longer defined.
+
Tue Aug 24 16:41:48 2004 Shugo Maeda <shugo@ruby-lang.org>
* lib/cgi/session.rb (CGI::Session::FileStore#initialize): do not
@@ -914,7 +918,7 @@ Wed Jun 23 00:10:17 2004 Hirokazu Yamamoto <ocean@m2.ccsnet.ne.jp>
Wed Jun 23 00:00:25 2004 Nobuyoshi Nakada <nobu@ruby-lang.org>
- * eval.c (return_jump, break_jump): raise unexpceted local jump
+ * eval.c (return_jump, break_jump): raise unexpected local jump
exception directly. [ruby-dev:23740]
* io.c (rb_io_initialize): should check fcntl result. [ruby-dev:23742]
diff --git a/eval.c b/eval.c
index d3472da40..462950bc9 100644
--- a/eval.c
+++ b/eval.c
@@ -4310,7 +4310,7 @@ rb_longjmp(tag, mesg)
PUSH_TAG(PROT_NONE);
if ((status = EXEC_TAG()) == 0) {
- StringValue(e);
+ e = rb_obj_as_string(e);
warn_printf("Exception `%s' at %s:%d - %s\n",
rb_obj_classname(ruby_errinfo),
ruby_sourcefile, ruby_sourceline,