mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/openssl/lib/openssl/x509-internal.rb, lib/forwardable.rb,
lib/irb/cmd/fork.rb, lib/mutex_m.rb, lib/shell/process-controller.rb, lib/sync.rb, object.c: suppress warnings patched by Benoit Daloze at [ruby-core:30366]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
39f09ca13f
commit
b4f1eaa493
8 changed files with 13 additions and 8 deletions
|
@ -1,4 +1,9 @@
|
||||||
Sun May 23 17:40:34 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun May 23 17:48:39 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* ext/openssl/lib/openssl/x509-internal.rb, lib/forwardable.rb,
|
||||||
|
lib/irb/cmd/fork.rb, lib/mutex_m.rb,
|
||||||
|
lib/shell/process-controller.rb, lib/sync.rb, object.c:
|
||||||
|
suppress warnings patched by Benoit Daloze at [ruby-core:30366].
|
||||||
|
|
||||||
* parse.y (warn_balanced): no warning for singleton class.
|
* parse.y (warn_balanced): no warning for singleton class.
|
||||||
[ruby-core:30366]
|
[ruby-core:30366]
|
||||||
|
|
|
@ -135,7 +135,7 @@ module OpenSSL
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
class <<self
|
class << self
|
||||||
def parse_rfc2253(str, template=OBJECT_TYPE_TEMPLATE)
|
def parse_rfc2253(str, template=OBJECT_TYPE_TEMPLATE)
|
||||||
ary = OpenSSL::X509::Name::RFC2253DN.scan(str)
|
ary = OpenSSL::X509::Name::RFC2253DN.scan(str)
|
||||||
self.new(ary, template)
|
self.new(ary, template)
|
||||||
|
|
|
@ -135,7 +135,7 @@ module Forwardable
|
||||||
FORWARDABLE_VERSION = "1.1.0"
|
FORWARDABLE_VERSION = "1.1.0"
|
||||||
|
|
||||||
@debug = nil
|
@debug = nil
|
||||||
class<<self
|
class << self
|
||||||
attr_accessor :debug
|
attr_accessor :debug
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ module IRB
|
||||||
def execute(&block)
|
def execute(&block)
|
||||||
pid = send ExtendCommand.irb_original_method_name("fork")
|
pid = send ExtendCommand.irb_original_method_name("fork")
|
||||||
unless pid
|
unless pid
|
||||||
class<<self
|
class << self
|
||||||
alias_method :exit, ExtendCommand.irb_original_method_name('exit')
|
alias_method :exit, ExtendCommand.irb_original_method_name('exit')
|
||||||
end
|
end
|
||||||
if iterator?
|
if iterator?
|
||||||
|
|
|
@ -52,7 +52,7 @@ module Mutex_m
|
||||||
defined? unlock and
|
defined? unlock and
|
||||||
defined? try_lock and
|
defined? try_lock and
|
||||||
defined? synchronize)
|
defined? synchronize)
|
||||||
Mutex_m.define_aliases(class<<self;self;end)
|
Mutex_m.define_aliases(singleton_class)
|
||||||
end
|
end
|
||||||
mu_initialize
|
mu_initialize
|
||||||
end
|
end
|
||||||
|
|
|
@ -23,7 +23,7 @@ class Shell
|
||||||
@BlockOutputMonitor = Mutex.new
|
@BlockOutputMonitor = Mutex.new
|
||||||
@BlockOutputCV = ConditionVariable.new
|
@BlockOutputCV = ConditionVariable.new
|
||||||
|
|
||||||
class<<self
|
class << self
|
||||||
extend Forwardable
|
extend Forwardable
|
||||||
|
|
||||||
def_delegator("@ProcessControllersMonitor",
|
def_delegator("@ProcessControllersMonitor",
|
||||||
|
|
|
@ -106,7 +106,7 @@ module Sync_m
|
||||||
defined? unlock and
|
defined? unlock and
|
||||||
defined? try_lock and
|
defined? try_lock and
|
||||||
defined? synchronize)
|
defined? synchronize)
|
||||||
Sync_m.define_aliases(class<<self;self;end)
|
Sync_m.define_aliases(singleton_class)
|
||||||
end
|
end
|
||||||
sync_initialize
|
sync_initialize
|
||||||
end
|
end
|
||||||
|
|
2
object.c
2
object.c
|
@ -608,7 +608,7 @@ rb_obj_tap(VALUE obj)
|
||||||
* def self.one() end
|
* def self.one() end
|
||||||
* def two() end
|
* def two() end
|
||||||
* def Chatty.three() end
|
* def Chatty.three() end
|
||||||
* class <<self
|
* class << self
|
||||||
* remove_method :three
|
* remove_method :three
|
||||||
* remove_method :one
|
* remove_method :one
|
||||||
* end
|
* end
|
||||||
|
|
Loading…
Add table
Reference in a new issue