Package: libmagic1
Version: 5.04-5

Some of the messages describing MS-DOS executables are formatted
incorrectly, using "\b" (the "don't add whitespace before this message"
code) in the wrong place so that files will be described, for example,
like this:

doom-1.9u/doom.exe:      MS-DOS executable ,\b LE for MS-DOS, DOS4GW DOS 
extender (embedded)
doom2-1.9/doom2.exe:     MS-DOS executable ,\b LE for MS-DOS, DOS4GW DOS 
extender (embedded)
heretic-1.0/heretic.exe: MS-DOS executable ,\b LE for MS-DOS, DOS4GW DOS 
extender (embedded)

Enclosed is a patch which fixes these mistakes so that files will be
described as follows:

doom-1.9u/doom.exe:      MS-DOS executable, LE for MS-DOS, DOS4GW DOS extender 
(embedded)
doom2-1.9/doom2.exe:     MS-DOS executable, LE for MS-DOS, DOS4GW DOS extender 
(embedded)
heretic-1.0/heretic.exe: MS-DOS executable, LE for MS-DOS, DOS4GW DOS extender 
(embedded)
diff -Naurp file-5.04.old/magic/Magdir/msdos file-5.04/magic/Magdir/msdos
--- file-5.04.old/magic/Magdir/msdos	2009-09-19 16:28:11.000000000 +0000
+++ file-5.04/magic/Magdir/msdos	2010-11-27 19:11:02.000000000 +0000
@@ -209,8 +209,8 @@
 # calculations (next embedded executable would be at &(&2*512+&0-2)
 # I suspect there are only LE executables in these multi-exe files
 >>>>&(2.s-514)	string	BW
->>>>>0x240	search/0x100	DOS/4G ,\b LE for MS-DOS, DOS4GW DOS extender (embedded)
->>>>>0x240	search/0x100	!DOS/4G ,\b BW collection for MS-DOS
+>>>>>0x240	search/0x100	DOS/4G	\b, LE for MS-DOS, DOS4GW DOS extender (embedded)
+>>>>>0x240	search/0x100	!DOS/4G	\b, BW collection for MS-DOS
 
 # This sequence skips to the first COFF segment, usually .text
 >(4.s*512)	leshort		0x014c \b, COFF

Reply via email to