Blame SOURCES/file-5.04-generic-msdos.patch

a2822c
diff --git a/magic/Magdir/msdos b/magic/Magdir/msdos
a2822c
index d1a19a6..9e89f11 100644
a2822c
--- a/magic/Magdir/msdos
a2822c
+++ b/magic/Magdir/msdos
a2822c
@@ -319,9 +319,9 @@
a2822c
 # but it isn't feasible to match all COM files since there must be at least
a2822c
 # two dozen different one-byte "magics".
a2822c
 # test too generic ?
a2822c
-0	byte		0xe9		DOS executable (COM)
a2822c
->0x1FE leshort		0xAA55		\b, boot code
a2822c
->6	string		SFX\ of\ LHarc	(%s)
a2822c
+#0	byte		0xe9		DOS executable (COM)
a2822c
+#>0x1FE leshort		0xAA55		\b, boot code
a2822c
+#>6	string		SFX\ of\ LHarc	(%s)
a2822c
 
a2822c
 # DOS device driver updated by Joerg Jenderek at May 2011
a2822c
 # http://maben.homeip.net/static/S100/IBM/software/DOS/DOS%20techref/CHAPTER.009
a2822c
@@ -396,28 +396,28 @@
a2822c
 #>4	uleshort&0x4000			0x4000			\b,control strings-support)
a2822c
 
a2822c
 # test too generic ?
a2822c
-0	byte		0x8c		DOS executable (COM)
a2822c
+#0	byte		0x8c		DOS executable (COM)
a2822c
 # updated by Joerg Jenderek at Oct 2008
a2822c
 0	ulelong		0xffff10eb	DR-DOS executable (COM)
a2822c
 # byte 0xeb conflicts with "sequent" magic leshort 0xn2eb
a2822c
-0	ubeshort&0xeb8d	>0xeb00		
a2822c
+#0	ubeshort&0xeb8d	>0xeb00		
a2822c
 # DR-DOS STACKER.COM SCREATE.SYS missed
a2822c
->0	byte		0xeb
a2822c
->>0x1FE leshort		0xAA55		DOS executable (COM), boot code
a2822c
->>85	string		UPX		DOS executable (COM), UPX compressed
a2822c
->>4	string		\ $ARX		DOS executable (COM), ARX self-extracting archive
a2822c
->>4	string		\ $LHarc	DOS executable (COM), LHarc self-extracting archive
a2822c
->>0x20e string		SFX\ by\ LARC	DOS executable (COM), LARC self-extracting archive
a2822c
+#>0	byte		0xeb
a2822c
+#>>0x1FE leshort		0xAA55		DOS executable (COM), boot code
a2822c
+#>>85	string		UPX		DOS executable (COM), UPX compressed
a2822c
+#>>4	string		\ $ARX		DOS executable (COM), ARX self-extracting archive
a2822c
+#>>4	string		\ $LHarc	DOS executable (COM), LHarc self-extracting archive
a2822c
+#>>0x20e string		SFX\ by\ LARC	DOS executable (COM), LARC self-extracting archive
a2822c
 # updated by Joerg Jenderek at Oct 2008
a2822c
 #0	byte		0xb8		COM executable
a2822c
-0	uleshort&0x80ff	0x00b8		
a2822c
+#0	uleshort&0x80ff	0x00b8		
a2822c
 # modified by Joerg Jenderek
a2822c
->1	lelong		!0x21cd4cff	COM executable for DOS
a2822c
+#>1	lelong		!0x21cd4cff	COM executable for DOS
a2822c
 # http://syslinux.zytor.com/comboot.php
a2822c
 # (32-bit COMBOOT) programs *.C32 contain 32-bit code and run in flat-memory 32-bit protected mode
a2822c
 # start with assembler instructions mov eax,21cd4cffh
a2822c
-0	uleshort&0xc0ff	0xc0b8		
a2822c
->1	lelong		0x21cd4cff	COM executable (32-bit COMBOOT)
a2822c
+#0	uleshort&0xc0ff	0xc0b8		
a2822c
+#>1	lelong		0x21cd4cff	COM executable (32-bit COMBOOT)
a2822c
 # syslinux:doc/comboot.txt
a2822c
 # A COM32R program must start with the byte sequence B8 FE 4C CD 21 (mov
a2822c
 # eax,21cd4cfeh) as a magic number.
a2822c
@@ -437,27 +437,27 @@
a2822c
 # GRR search is not working
a2822c
 #2	search/28	\xcd\x21	COM executable for MS-DOS
a2822c
 #WHICHFAT.cOM
a2822c
-2	string	\xcd\x21		COM executable for DOS
a2822c
+#2	string	\xcd\x21		COM executable for DOS
a2822c
 #DELTREE.cOM DELTREE2.cOM
a2822c
-4	string	\xcd\x21		COM executable for DOS
a2822c
+#4	string	\xcd\x21		COM executable for DOS
a2822c
 #IFMEMDSK.cOM ASSIGN.cOM COMP.cOM
a2822c
-5	string	\xcd\x21		COM executable for DOS
a2822c
+#5	string	\xcd\x21		COM executable for DOS
a2822c
 #DELTMP.COm HASFAT32.cOM
a2822c
-7	string	\xcd\x21		
a2822c
->0	byte	!0xb8			COM executable for DOS
a2822c
+#7	string	\xcd\x21		
a2822c
+#>0	byte	!0xb8			COM executable for DOS
a2822c
 #COMP.cOM MORE.COm
a2822c
-10	string	\xcd\x21		
a2822c
->5	string	!\xcd\x21		COM executable for DOS
a2822c
+#10	string	\xcd\x21		
a2822c
+#>5	string	!\xcd\x21		COM executable for DOS
a2822c
 #comecho.com
a2822c
-13	string	\xcd\x21		COM executable for DOS
a2822c
+#13	string	\xcd\x21		COM executable for DOS
a2822c
 #HELP.COm EDIT.coM
a2822c
-18	string	\xcd\x21		COM executable for MS-DOS
a2822c
+#18	string	\xcd\x21		COM executable for MS-DOS
a2822c
 #NWRPLTRM.COm
a2822c
-23	string	\xcd\x21		COM executable for MS-DOS
a2822c
+#23	string	\xcd\x21		COM executable for MS-DOS
a2822c
 #LOADFIX.cOm LOADFIX.cOm
a2822c
-30	string	\xcd\x21		COM executable for MS-DOS
a2822c
+#30	string	\xcd\x21		COM executable for MS-DOS
a2822c
 #syslinux.com 3.11
a2822c
-70	string	\xcd\x21		COM executable for DOS
a2822c
+#70	string	\xcd\x21		COM executable for DOS
a2822c
 # many compressed/converted COMs start with a copy loop instead of a jump
a2822c
 0x6	search/0xa	\xfc\x57\xf3\xa5\xc3	COM executable for MS-DOS
a2822c
 0x6	search/0xa	\xfc\x57\xf3\xa4\xc3	COM executable for DOS