diff options
| author | Jack Nagel | 2013-03-11 17:41:20 -0500 |
|---|---|---|
| committer | Jack Nagel | 2013-03-11 17:41:21 -0500 |
| commit | 6197eae3d4eefd621c857773020c0c2a05e1674b (patch) | |
| tree | f48f702482533055411870132e689e7b313de241 /Library | |
| parent | 0f9910d352e460fe7d93544d91cdc1eb53a9631c (diff) | |
| download | brew-6197eae3d4eefd621c857773020c0c2a05e1674b.tar.bz2 | |
mach.rb: remove incorrect comment
IO#read does not raise EOFError, it just returns an empty string for
each call after it consumes the underlying file or stream.
This module is going to be refactored and the begin/rescue is going to
be removed anyway.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/mach.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb index 537b2588e..44726ac5f 100644 --- a/Library/Homebrew/mach.rb +++ b/Library/Homebrew/mach.rb @@ -66,9 +66,6 @@ module MachO end mach_data rescue - # read() will raise if it sees EOF, which should only happen if the - # file is < 8 bytes. Otherwise, we raise if the file is not a Mach-O - # binary. In both cases, we want to return an empty array. [] end end |
