summaryrefslogtreecommitdiff
path: root/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'error.c')
-rw-r--r--error.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/error.c b/error.c
index 7163f62609..4c8aea5964 100644
--- a/error.c
+++ b/error.c
@@ -6,7 +6,7 @@
$Date$
created at: Mon Aug 9 16:11:34 JST 1993
- Copyright (C) 1993-1996 Yukihiro Matsumoto
+ Copyright (C) 1993-1998 Yukihiro Matsumoto
************************************************/
@@ -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("#<");