From 2b6c425c916cc8ff58654e7964fe55719f189e78 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Mon, 8 Aug 2011 08:56:17 +0000 Subject: [PATCH] fix weak dbase magic --- magic/Magdir/msdos | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/magic/Magdir/msdos b/magic/Magdir/msdos index b33d5049..90ed562f 100644 --- a/magic/Magdir/msdos +++ b/magic/Magdir/msdos @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: msdos,v 1.73 2011/05/18 18:11:23 christos Exp $ +# $File: msdos,v 1.74 2011/06/06 13:01:41 christos Exp $ # msdos: file(1) magic for MS-DOS files # @@ -638,12 +638,14 @@ 0 lelong 0x08084b50 TurboC Font file # WARNING: below line conflicts with Infocom game data Z-machine 3 -0 byte 0x03 DBase 3 data file ->0x04 lelong 0 (no records) ->0x04 lelong >0 (%ld records) -0 byte 0x83 DBase 3 data file with memo(s) ->0x04 lelong 0 (no records) ->0x04 lelong >0 (%ld records) +0 byte 0x03 +>0x02 byte <0x13 DBase 3 data file +>>0x04 lelong 0 (no records) +>>0x04 lelong >0 (%ld records) +0 byte 0x83 +>0x02 byte <0x13 DBase 3 data file with memo(s) +>>0x04 lelong 0 (no records) +>>0x04 lelong >0 (%ld records) 0 leshort 0x0006 DBase 3 index file 0 string PMCC Windows 3.x .GRP file 1 string RDC-meg MegaDots -- 2.40.0