| Age | Commit message (Collapse) | Author |
|
Fixes #22090.
|
|
|
|
Also adds some reusable constants into the global Hardware::CPU
namespace, available on both OS X and Linux.
|
|
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.
|
|
Closes #16344.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
c.f. #12810.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
|
|
- 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>
|
|
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>
|