From 62e79c8d09d978f0f9106ebc7694d4fc55fc3241 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Wed, 4 Jun 2014 15:37:36 -0500 Subject: [PATCH] audit: read formula text in binmode --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 54046e48db..1182e73285 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -56,7 +56,7 @@ end class FormulaText def initialize path - @text = path.open('r') { |f| f.read } + @text = path.open("rb", &:read) end def without_patch