ruby-changes:7759
From: akira <ko1@a...>
Date: Wed, 10 Sep 2008 10:23:59 +0900 (JST)
Subject: [ruby-changes:7759] Ruby:r19280 (trunk): * lib/sync.rb (Sync_m#sync_exclusive): fixed
akira 2008-09-10 10:22:35 +0900 (Wed, 10 Sep 2008) New Revision: 19280 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=19280 Log: * lib/sync.rb (Sync_m#sync_exclusive): fixed typo. [ruby-dev:36233] [RubyForge#11680] Modified files: trunk/ChangeLog trunk/lib/sync.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 19279) +++ ChangeLog (revision 19280) @@ -1,3 +1,8 @@ +Wed Sep 10 10:12:29 2008 akira yamada <akira@a...> + + * lib/sync.rb (Sync_m#sync_exclusive): fixed + typo. [ruby-dev:36233] [RubyForge#11680] + Wed Sep 10 01:57:23 2008 Tanaka Akira <akr@f...> * tool/transcode-tblgen.rb (StrSet#hash): cache hash value. Index: lib/sync.rb =================================================================== --- lib/sync.rb (revision 19279) +++ lib/sync.rb (revision 19280) @@ -126,9 +126,9 @@ # locking methods. def sync_try_lock(mode = EX) - return unlock if sync_mode == UN + return unlock if mode == UN @sync_mutex.synchronize do - ret = sync_try_lock_sub(sync_mode) + ret = sync_try_lock_sub(mode) end ret end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/