]> granicus.if.org Git - file/commitdiff
add mime types from Guy Helmer
authorChristos Zoulas <christos@zoulas.com>
Thu, 21 May 2015 18:28:41 +0000 (18:28 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 21 May 2015 18:28:41 +0000 (18:28 +0000)
magic/Magdir/cafebabe
magic/Magdir/mach

index a7da2138a060945eeb9b7e135406759218133131..0c4a89f1413fcc976aeb169c4368afe8209ca532 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: cafebabe,v 1.18 2015/02/05 19:04:03 christos Exp $
+# $File: cafebabe,v 1.19 2015/05/21 18:28:41 christos Exp $
 # Cafe Babes unite!
 #
 # Since Java bytecode and Mach-O universal binaries have the same magic number,
 
 0      belong          0xcafebabe
 >4     belong          1               Mach-O universal binary with 1 architecture:
+!:mime application/x-mach-binary
 >>8    use             mach-o          \b
 >4     belong          >1
 >>4    belong          <20             Mach-O universal binary with %d architectures:
+!:mime application/x-mach-binary
 >>>8   use             mach-o          \b
 >>>28  use             mach-o          \b
 >>4    belong          >2
index 23b9f8a126044658a5198971300b7d1e3964ff9e..7782e5bec04c604e9e42d49ff61c3db6642f9d69 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------
-# $File: mach,v 1.19 2014/04/30 21:41:02 christos Exp $
+# $File: mach,v 1.20 2015/05/21 18:28:41 christos Exp $
 # Mach has two magic numbers, 0xcafebabe and 0xfeedface.
 # Unfortunately the first, cafebabe, is shared with
 # Java ByteCode, so they are both handled in the file "cafebabe".
 #
 0      lelong&0xfffffffe       0xfeedface      Mach-O
 !:strength +1
+!:mime application/x-mach-binary
 >0     use     \^mach-o-be
 
 0      belong&0xfffffffe       0xfeedface      Mach-O
 !:strength +1
+!:mime application/x-mach-binary
 >0     use     mach-o-be