mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
07e54ed140
commit
556556e450
1 changed files with 1 additions and 1 deletions
|
@ -261,7 +261,7 @@ rb_dlsym_inspect(VALUE self)
|
||||||
str = dlmalloc(str_size);
|
str = dlmalloc(str_size);
|
||||||
snprintf(str, str_size - 1,
|
snprintf(str, str_size - 1,
|
||||||
"#<DL::Symbol:0x%x func=0x%x '%s'>",
|
"#<DL::Symbol:0x%x func=0x%x '%s'>",
|
||||||
sym, sym->func, RSTRING(proto)->len);
|
sym, sym->func, RSTRING(proto)->ptr);
|
||||||
val = rb_tainted_str_new2(str);
|
val = rb_tainted_str_new2(str);
|
||||||
dlfree(str);
|
dlfree(str);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue