diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-14 07:58:23 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2012-02-14 07:58:23 +0000 |
commit | 2349592a517c89621560462ff9a36413b21f074c (patch) | |
tree | d2e83479150e02a3240514d4de589a695dc585a4 /lib | |
parent | 39432526b68e90906f25742b2736a2b2141f2d2d (diff) |
merge revision(s) 33254:
* lib/rake/file_list.rb (Rake::FileList#egrep): there is no need to
open files in binary mode.
see more details in https://github.com/jimweirich/rake/issues/74
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_3@34596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rake/file_list.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rake/file_list.rb b/lib/rake/file_list.rb index 9f780346f3..e49ccd0147 100644 --- a/lib/rake/file_list.rb +++ b/lib/rake/file_list.rb @@ -286,7 +286,7 @@ module Rake matched = 0 each do |fn| begin - open(fn, "rb", *options) do |inf| + open(fn, "r:ascii-8bit", *options) do |inf| count = 0 inf.each do |line| count += 1 |