1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

if dlload fail to load a library, it should raise an error.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
ttate 2005-06-08 14:38:02 +00:00
parent 8d5e6a0fc6
commit c2e1ef22b9

View file

@ -49,7 +49,7 @@ module DL
begin begin
DL.dlopen(lib) DL.dlopen(lib)
rescue DLError rescue DLError
nil raise(DLError, "can't load #{lib}")
end end
end end
}.flatten() }.flatten()