summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-23 10:01:08 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>1998-01-23 10:01:08 +0000
commitdb34086b5be1f5751156f39fb99bfc94b716df0f (patch)
treeb3f0c7a6c7e7ccf65ed1649979ec758736463a9e /error.c
parentf31c91fd29b704d89aaca1541cddcb60305be76b (diff)
*** empty log message ***
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/v1_1r@49 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'error.c')
-rw-r--r--error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/error.c b/error.c
index bdc38ecb55..4c8aea5964 100644
--- a/error.c
+++ b/error.c
@@ -254,7 +254,7 @@ exc_inspect(exc)
klass = CLASS_OF(exc);
if (RSTRING(exc)->len == 0) {
- return rb_class_path(klass);
+ return str_dup(rb_class_path(klass));
}
str = str_new2("#<");