ruby-changes:32079
From: nobu <ko1@a...>
Date: Fri, 13 Dec 2013 09:56:14 +0900 (JST)
Subject: [ruby-changes:32079] nobu:r44158 (trunk): * remove trailing spaces.
nobu 2013-12-13 09:56:06 +0900 (Fri, 13 Dec 2013) New Revision: 44158 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=44158 Log: * remove trailing spaces. Modified files: trunk/lib/rubygems.rb Index: lib/rubygems.rb =================================================================== --- lib/rubygems.rb (revision 44157) +++ lib/rubygems.rb (revision 44158) @@ -764,9 +764,9 @@ module Gem https://github.com/ruby/ruby/blob/trunk/lib/rubygems.rb#L764 # Safely read a file in binary mode on all platforms. def self.read_binary(path) - File.open path, binary_mode do |f| + File.open path, binary_mode do |f| f.flock(File::LOCK_EX) - f.read + f.read end end -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/