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

* ext/dl/lib/dl.rb: don't require when already loaded.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
naruse 2010-06-12 15:28:47 +00:00
parent 2be632476e
commit 75033ea16f
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Jun 13 00:27:24 2010 NARUSE, Yui <naruse@ruby-lang.org>
* ext/dl/lib/dl.rb: don't require when already loaded.
Sun Jun 13 00:02:56 2010 NARUSE, Yui <naruse@ruby-lang.org>
* ext/fiddle/closure.c (dealloc): workaround fix for libffi's

View file

@ -1,7 +1,7 @@
require 'dl.so'
begin
require 'fiddle'
require 'fiddle' unless Object.const_defined?(:Fiddle)
rescue LoadError
end