summaryrefslogtreecommitdiffstats
path: root/ext
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-04 11:29:56 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-04 11:29:56 +0000
commitb180697f8c3d00228126fc83849b2f045b04a39b (patch)
treee96a4ff37c51410cc427b23c4df01960c25bbe93 /ext
parentf6baf7eb796154e8f8ba884f05f436c0f85e395c (diff)
downloadruby-b180697f8c3d00228126fc83849b2f045b04a39b.tar.gz
ruby-b180697f8c3d00228126fc83849b2f045b04a39b.tar.xz
ruby-b180697f8c3d00228126fc83849b2f045b04a39b.zip
DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr)
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/sym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/sym.c b/ext/dl/sym.c
index aab581b54..137b47525 100644
--- a/ext/dl/sym.c
+++ b/ext/dl/sym.c
@@ -412,7 +412,7 @@ rb_dlsym_call(int argc, VALUE argv[], VALUE self)
if( TYPE(argv[i]) != T_STRING ){
raise(rb_eDLError, "#%d must be a string",i);
};
- ANY2S(args[i]) = DLSTR(argv[i]);
+ ANY2S(args[i]) = DLSTR(RSTRING(argv[i])->ptr);
};
PUSH_P(ftype);
break;