]> granicus.if.org Git - file/commitdiff
Strengthen the magic to avoid mis-detection (Joerg Jenderek)
authorChristos Zoulas <christos@zoulas.com>
Mon, 17 Jun 2013 19:22:47 +0000 (19:22 +0000)
committerChristos Zoulas <christos@zoulas.com>
Mon, 17 Jun 2013 19:22:47 +0000 (19:22 +0000)
magic/Magdir/database

index a44ecb79d9225edafdb83ceaa55c326a71399335..5c38f5c2db671d08ab47079a67bd75d725e5ea7a 100644 (file)
@@ -1,6 +1,6 @@
 
 #------------------------------------------------------------------------------
-# $File: database,v 1.32 2013/02/06 14:18:52 christos Exp $
+# $File: database,v 1.33 2013/03/09 22:36:00 christos Exp $
 # database:  file(1) magic for various databases
 #
 # extracted from header/code files by Graeme Wilford (eep2gw@ee.surrey.ac.uk)
 >>>>>>>8       ubelong         0               
 # skip MM*DD*.bin by test for for reserved NULL byte
 >>>>>>>>508    ubelong         0               
->>>>>>>>>0     use             xbase-memo-print
+# real memo files should contain text here
+>>>>>>>>>520   ubelong         >0x20202019     
+>>>>>>>>>>520  ubelong         <0xFEFEFEFF     
+>>>>>>>>>>>0   use             xbase-memo-print
 # garbage PCX , ZIP , JAR , XPI 
 >>>>>>>8       default         x