Commit Graph

8 Commits

Author SHA1 Message Date
Rafael Ávila de Espíndola
eb955913be Bug 670951 - Don't crash if there is a X86 file but not a PPC one. r=ted. 2011-09-23 22:10:10 -04:00
Benjamin Smedberg
aff23a9b85 Bug 579178 part D - When unifying as sorted-matching, keep version A as the unified version, not the sorted version, r=ted 2010-08-05 10:11:39 -04:00
Benjamin Smedberg
23983fddf6 Unify should ensure that when a .manifest file is being compared, if the last line doesn't end with a newline, it should add one so that lines don't get munged together incorrectly. rs=ted 2010-06-29 19:19:23 -04:00
Ted Mielczarek
44ff4cff9b bug 551941 - fix 'unify' to recognize 64-bit Mach-O files. r=bsmedberg 2010-03-17 11:55:56 -04:00
Ted Mielczarek
5f4393a339 bug 526668 - add option to 'unify' to allow files to match if their sorted contents match. r=bsmedberg 2009-11-05 09:04:49 -05:00
Ted Mielczarek
9bae5b3712 bug 518641 - fix the "unify" script to properly handle Java .class files. r=bsmedberg
Java .class files and Mach-O fat binaries use the same 4-byte magic
number at the start of the file. 'unify' uses the magic number to detect
Mach-O binaries, so it chokes on Java .class files. This change makes us
use the same heuristic as file(1), which is to check the second 4 bytes
in the file. Java class files put a version number there, and Mach-O
fat binaries put the number of contained architectures there. Conveniently,
Mach defines only 18 architectures, and Java's lowest shipping version
number is 43, so there's no overlap in valid values.
2009-09-29 08:31:50 -04:00
mark@moxienet.com
4858aa08ba 330890 unify does not preserve the execute bit when copying non-Mach-O files. Strengthen unify's file mode management, and avoid a possible race if multiple unifies are pointed at the same target. r=preed 2006-03-18 14:31:17 +00:00
mark@moxienet.com
17333cd6a1 324855 unify, a script to produce a universal binary .app from CPU-specific bits. r=josh r=bsmedberg 2006-02-21 20:37:50 +00:00