]> 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 3f7bded3e1529091b261e08047c07bf979ff6bf4..fb2bc5fa082c6f33bc3ed3b2783c657c61f6e333 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: windows,v 1.10 2014/09/24 19:52:46 christos Exp $
+# $File: windows,v 1.11 2015/07/27 15:24:00 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