diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-08-25 06:19:01 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-08-25 06:19:01 +0000 |
commit | c56fa679d61ce945e4c61f08946a457fc1f3c615 (patch) | |
tree | 638e6bf33b1ebb879bdf478d8b14dff90b1ee6ca | |
parent | ef79c91721f6174b55bad6a4aa0701dae1aece6e (diff) | |
download | ruby-c56fa679d61ce945e4c61f08946a457fc1f3c615.tar.gz ruby-c56fa679d61ce945e4c61f08946a457fc1f3c615.tar.xz ruby-c56fa679d61ce945e4c61f08946a457fc1f3c615.zip |
* eval.c (rb_longjmp): Exception#to_str is no longer defined.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | eval.c | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -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] @@ -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, |