diff options
| author | Jack Nagel | 2014-10-11 01:45:36 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-10-11 01:45:36 -0500 |
| commit | 6684269479a045c5cba2b1c544100a9193dcbbbb (patch) | |
| tree | 0934c35ed711c762f579156d3219a2f0f41c4383 /Library/Homebrew | |
| parent | f8c1116599ac69be6308796cdabdc620dd72f1d0 (diff) | |
| download | homebrew-6684269479a045c5cba2b1c544100a9193dcbbbb.tar.bz2 | |
Revert "Handle read(n) returning nil"
This reverts commit 578cb637594d32b86322be29205329d700ad75ca.
Diffstat (limited to 'Library/Homebrew')
| -rw-r--r-- | Library/Homebrew/mach.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/mach.rb b/Library/Homebrew/mach.rb index ff3b76d2d..de38d296b 100644 --- a/Library/Homebrew/mach.rb +++ b/Library/Homebrew/mach.rb @@ -60,7 +60,7 @@ module MachO offsets = [] mach_data = [] - header = (read(8) || "").unpack("N2") + header = read(8).unpack("N2") case header[0] when 0xcafebabe # universal header[1].times do |i| |
