mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/memory_status.rb: suppress warning.
A patch from NAKAMURA Usaku. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
16c34f9df0
commit
592e87e1f8
2 changed files with 13 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
Wed Dec 5 16:54:28 2012 Koichi Sasada <ko1@atdot.net>
|
||||
|
||||
* test/ruby/memory_status.rb: suppress warning.
|
||||
A patch from NAKAMURA Usaku.
|
||||
|
||||
Wed Dec 5 16:06:54 2012 Eric Hodel <drbrain@segment7.net>
|
||||
|
||||
* lib/rdoc/parser/changelog.rb: Parse more ChangeLog file variations.
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
require_relative "envutil"
|
||||
|
||||
module Memory
|
||||
keys = []
|
||||
vals = []
|
||||
|
@ -18,12 +20,16 @@ module Memory
|
|||
begin
|
||||
require 'fiddle/import'
|
||||
rescue LoadError
|
||||
require 'dl/import'
|
||||
suppress_warning do
|
||||
require 'dl/import'
|
||||
end
|
||||
end
|
||||
begin
|
||||
require 'fiddle/types'
|
||||
rescue LoadError
|
||||
require 'dl/types'
|
||||
suppress_warning do
|
||||
require 'dl/types'
|
||||
end
|
||||
end
|
||||
|
||||
module Win32
|
||||
|
|
Loading…
Reference in a new issue