separate the mach-o java and jar entries since they cannot share mime types.
authorChristos Zoulas <christos@zoulas.com>
Tue, 23 Sep 2008 14:26:32 +0000 (14:26 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 23 Sep 2008 14:26:32 +0000 (14:26 +0000)
magic/Magdir/cafebabe

index db385eaab819a856a422c4c59953baefa2712cc5..2168d95139d820c85eff5fea9684bd50333e6eb3 100644 (file)
 # (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