From 556556e450b2864c07c22ffa0370262c76d8ff1c Mon Sep 17 00:00:00 2001 From: ttate Date: Thu, 4 Apr 2002 11:17:23 +0000 Subject: [PATCH] bugfix (a few bugs seems to be remaining yet.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2336 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/sym.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dl/sym.c b/ext/dl/sym.c index 48b9dcfb27..aab581b543 100644 --- a/ext/dl/sym.c +++ b/ext/dl/sym.c @@ -261,7 +261,7 @@ rb_dlsym_inspect(VALUE self) str = dlmalloc(str_size); snprintf(str, str_size - 1, "#", - sym, sym->func, RSTRING(proto)->len); + sym, sym->func, RSTRING(proto)->ptr); val = rb_tainted_str_new2(str); dlfree(str);