From 5f8d02cbbc1686390d6965adfa12100ddd586109 Mon Sep 17 00:00:00 2001 From: ttate Date: Thu, 4 Apr 2002 11:29:56 +0000 Subject: [PATCH] DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2337 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 aab581b543..137b47525a 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;