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

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