]> granicus.if.org Git - file/commitdiff
PR/468: decrease the strength of windows short magic so that HFS magic
authorChristos Zoulas <christos@zoulas.com>
Mon, 27 Jul 2015 15:24:00 +0000 (15:24 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 27 Jul 2015 15:24:00 +0000 (15:24 +0000)
works

magic/Magdir/windows

index e60f69c71acbcc4eef54ecdcd8962bf25aae82c5..c03b7184d147170e4486d5ccfe0a970002d28cb7 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: windows,v 1.9 2014/09/23 23:42:44 christos Exp $
+# $File: windows,v 1.10 2014/09/24 19:52:46 christos Exp $
 # windows:  file(1) magic for Microsoft Windows
 #
 # This file is mainly reserved for files where programs
 # http://read.pudn.com/downloads3/sourcecode/windows/248345/win2k/private/windows/setup/setupapi/inf.h__.htm
 # GRR: line below too general as it catches also PDP-11 UNIX/RT ldp
 0              leshort&0xFeFe  0x0000          
+!:strength -5
 # test for unused null bits in PNF_FLAGs
 >4     ulelong&0xFCffFe00      0x00000000      
 # only found 58h for Offset of WinDirPath immediately after _PNF_HEADER structure