From 1ebcad550f1c300b6b525c53f74e32626c9d943f Mon Sep 17 00:00:00 2001 From: ttate Date: Tue, 20 Jul 2004 18:22:03 +0000 Subject: bugfix for Importable.callback(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/dl/lib/dl/import.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/dl/lib/dl/import.rb b/ext/dl/lib/dl/import.rb index 1ca715664b..1ab5145def 100644 --- a/ext/dl/lib/dl/import.rb +++ b/ext/dl/lib/dl/import.rb @@ -81,7 +81,7 @@ module DL " args = enc.call(args) if enc", " r,rs = #{func}(*args)", " r = renc.call(r) if rdec", - " rs = dec.call(rs) if dec", + " rs = dec.call(rs) if (dec && rs)", " @retval = r", " @args = rs", " @retval", -- cgit v1.2.3