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:
parent
8d5e6a0fc6
commit
c2e1ef22b9
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ module DL
|
|||
begin
|
||||
DL.dlopen(lib)
|
||||
rescue DLError
|
||||
nil
|
||||
raise(DLError, "can't load #{lib}")
|
||||
end
|
||||
end
|
||||
}.flatten()
|
||||
|
|
Loading…
Reference in a new issue