summaryrefslogtreecommitdiff
path: root/lib/sync.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-23 08:48:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-05-23 08:48:44 +0000
commitb4f1eaa4933185797a202e8d0486cfd15fe19457 (patch)
tree5dc70a10a2a7bc04c605f0fad5a71446e8097287 /lib/sync.rb
parent39f09ca13f5f1d421fb69656e91f896371cf101b (diff)
* 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
Diffstat (limited to 'lib/sync.rb')
-rw-r--r--lib/sync.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sync.rb b/lib/sync.rb
index 459bba732b..b97d36eb43 100644
--- a/lib/sync.rb
+++ b/lib/sync.rb
@@ -106,7 +106,7 @@ module Sync_m
defined? unlock and
defined? try_lock and
defined? synchronize)
- Sync_m.define_aliases(class<<self;self;end)
+ Sync_m.define_aliases(singleton_class)
end
sync_initialize
end