file/file-5.14-x86boot.patch
Jan Kaluza a5b3f76c0e fix #891856 - update to file-5.14
- fix #909754 - magic number for Python-3.3
- fix #912271 - do not report dwarf debug info packages as 'stripped'
- fix #882321 - do not print 'unknown capability' for ELF capabilities for
  architectures which File does not support
- fix #866000 - show proper build id for ELF binaries
- fix #860139 - better dump file recognition on big endian architectures
- remove file-static subpackage
- move python-magic .py files to python_sitearch
2013-03-22 10:38:25 +01:00

23 lines
822 B
Diff

diff --git a/magic/Magdir/filesystems b/magic/Magdir/filesystems
index 3323593..0f28d7b 100644
--- a/magic/Magdir/filesystems
+++ b/magic/Magdir/filesystems
@@ -62,7 +62,7 @@
30 search/481 \x55\xAA
# to display x86 boot sector (40) before old one (strength=50+21),Syslinux bootloader (71),SYSLINUX MBR (37+36),NetBSD mbr (110),AdvanceMAME mbr (111)
# DOS BPB information (70) and after DOS floppy (120) like in previous file version
-!:strength +72
+!:strength +0
# for sector sizes < 512 Bytes
>11 uleshort <512
>>(11.s-2) uleshort 0xAA55 x86 boot sector
@@ -1176,7 +1176,7 @@
>11 uleshort&0xf001f 0
>>11 uleshort <32769
>>>11 uleshort >31
->>>>21 ubyte&0xf0 0xF0
+>>>>21 ubyte&0xf0 0xF0 x86 boot sector
>>>>>0 ubyte 0xEB
>>>>>>1 ubyte x \b, code offset 0x%x+2
>>>>>0 ubyte 0xE9