gecko/build/macosx
Ted Mielczarek 6f1bf78be2 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.

--HG--
extra : rebase_source : 84f5382bca6fa4bde721686f029514a41dfaf6b4
2009-09-29 08:31:50 -04:00
..
permissions Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00
universal bug 518641 - fix the "unify" script to properly handle Java .class files. r=bsmedberg 2009-09-29 08:31:50 -04:00
js-icc-flight.mk bug 403224 - build config fixes to build spidermonkey with icc. r=bsmedberg 2008-03-18 10:37:00 -07:00