Commit Graph
8 Commits
Author SHA1 Message Date
Jack Nagel ac22d6ccbf 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.
2013-03-11 17:41:21 -05:00
Shaun Jackman 076fcd11b0 Portability fixes to run Homebrew on Linux systems
Closes #16344.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-03-11 18:26:25 +00:00
Adam Vandenberg 1b4c28ab49 Architecture: add flag for ppc support 2013-02-03 21:07:59 -08:00
Jack Nagel 8af25edcf8 mach-o: use any? instead of map and include?
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-08-21 13:45:35 -05:00
Jack Nagel 898c93aa4e Teach Mach-O machinery about bundles
c.f. #12810.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16 11:43:43 -05:00
Jack Nagel 1354366f4e Fix indentation in MachO#mach_data
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-06-16 11:11:09 -05:00
Jack Nagel 0dc6ed0677 archs_for_command: use new Mach-O Pathname methods
- Reimplement archs_for_command on top of the new Mach-O methods
 - Move ArchitectureListExtension to mach.rb
 - Add a test for the ArchitectureListExtension

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30 22:32:48 -05:00
Jack Nagel 96fb03750e Pathname: add Mach-O module
The MachO module contains methods for learning about Mach-O binaries,
and can be used where one might normally shell out to file(1).

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-05-30 22:32:48 -05:00