summaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-08-25 06:19:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-08-25 06:19:01 +0000
commitc56fa679d61ce945e4c61f08946a457fc1f3c615 (patch)
tree638e6bf33b1ebb879bdf478d8b14dff90b1ee6ca /eval.c
parentef79c91721f6174b55bad6a4aa0701dae1aece6e (diff)
downloadruby-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
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
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,