]> granicus.if.org Git - file/commitdiff
PR/242: Move strength to the parent pattern since setting them in "use"
authorChristos Zoulas <christos@zoulas.com>
Thu, 21 Mar 2013 17:50:02 +0000 (17:50 +0000)
committerChristos Zoulas <christos@zoulas.com>
Thu, 21 Mar 2013 17:50:02 +0000 (17:50 +0000)
pattern does not affect the parent.

magic/Magdir/elf

index c731acea430126c035a14c7b882b209475446131..bcfd02522567e569f24c8bb5457c29cdd435255b 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: elf,v 1.57 2012/11/02 21:06:27 christos Exp $
+# $File: elf,v 1.58 2012/11/06 20:43:52 christos Exp $
 # elf:  file(1) magic for ELF executables
 #
 # We have to check the byte order flag to see what byte order all the
@@ -17,7 +17,6 @@
 
 0      name            elf-le
 >16    leshort         0               no file type,
-!:strength *2
 !:mime application/octet-stream
 >16    leshort         1               relocatable,
 !:mime application/x-object
 >20    lelong          1               version 1
 
 0      string          \177ELF         ELF
+!:strength *2
 >4     byte            0               invalid class
 >4     byte            1               32-bit
 >4     byte            2               64-bit