diff options
author | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-20 18:22:03 +0000 |
---|---|---|
committer | ttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-07-20 18:22:03 +0000 |
commit | 1ebcad550f1c300b6b525c53f74e32626c9d943f (patch) | |
tree | 9b5ed624733486797e808144bf3c82c530ea67c2 /ext/dl | |
parent | 433920226600a38b8d2287a5c78aa711bd9acd1b (diff) | |
download | ruby-1ebcad550f1c300b6b525c53f74e32626c9d943f.tar.gz |
bugfix for Importable.callback().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/dl')
-rw-r--r-- | ext/dl/lib/dl/import.rb | 2 |
1 files changed, 1 insertions, 1 deletions
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", |