]> 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 74a347d50ef174afcea3021d84d59faf8f1b2690..74f0738df9542aa0f8589dcb0810d467909c13da 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: cafebabe,v 1.17 2015/01/01 17:07:00 christos Exp $
+# $File: cafebabe,v 1.18 2015/02/05 19:04:03 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 7a1f31156233cd1841e8872288a1fc9c90eff968..9ab009f497cfbda5cb6c8a999235b27c3901de88 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------
-# $File: mach,v 1.18 2014/03/29 15:40:34 christos Exp $
+# $File: mach,v 1.19 2014/04/30 21:41:02 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