summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 03:24:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-25 03:24:50 +0000
commit520d763d777721fd82bac7cea574e3f136efe91f (patch)
tree75193a0d5dfa994bda9e809fa5e82c7129e083da /proc.c
parentf2c33914aadc40094be33ea40bdfb369a6d92f8b (diff)
* proc.c (method_inspect): preserve encoding of the method name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index 8caabaecac..422af20c52 100644
--- a/proc.c
+++ b/proc.c
@@ -1402,7 +1402,7 @@ method_inspect(VALUE method)
}
}
rb_str_buf_cat2(str, sharp);
- rb_str_buf_cat2(str, rb_id2name(data->oid));
+ rb_str_append(str, rb_id2str(data->oid));
rb_str_buf_cat2(str, ">");
return str;