From: Christos Zoulas Date: Tue, 23 Sep 2008 14:26:32 +0000 (+0000) Subject: separate the mach-o java and jar entries since they cannot share mime types. X-Git-Tag: FILE5_05~332 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=736fd7f4bf3bc8e18d24694ad80473531b5e2d62;p=file separate the mach-o java and jar entries since they cannot share mime types. --- diff --git a/magic/Magdir/cafebabe b/magic/Magdir/cafebabe index db385eaa..2168d951 100644 --- a/magic/Magdir/cafebabe +++ b/magic/Magdir/cafebabe @@ -12,16 +12,18 @@ # (and use as a hack). Let's not use 18, because the Mach-O people # might add another one or two as time goes by... # -0 beshort 0xcafe ->2 beshort 0xbabe +0 belong 0xcafebabe !:mime application/x-java-applet ->>2 belong >30 compiled Java class data, ->>>6 beshort x version %d. ->>>4 beshort x \b%d ->>4 belong 1 Mach-O fat file with 1 architecture ->>4 belong >1 ->>>4 belong <20 Mach-O fat file with %ld architectures ->2 beshort 0xd00d JAR compressed with pack200, +>4 belong >30 compiled Java class data, +>>6 beshort x version %d. +>>4 beshort x \b%d + +0 belong 0xcafebabe +>4 belong 1 Mach-O fat file with 1 architecture +>4 belong >1 +>>4 belong <20 Mach-O fat file with %ld architectures + +0 belong 0xcafed00d JAR compressed with pack200, >>5 byte x version %d. >>4 byte x \b%d !:mime application/x-java-pack200