Skip to content
Browse files

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.
  • Loading branch information...
1 parent 7ab1de3 commit ac22d6ccbfbfe447fc19073874d7c29903dfd48f @jacknagel jacknagel committed
Showing with 0 additions and 3 deletions.
  1. +0 −3 Library/Homebrew/mach.rb
3 Library/Homebrew/mach.rb
@@ -66,9 +66,6 @@ def mach_data
- # 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.

0 comments on commit ac22d6c

Please sign in to comment.
Something went wrong with that request. Please try again.