Test: $ perl -e 'print "ABC", "\xff\xff", "\x00"x70000, "DEF"' > abc.data $ cat abc.magic 0 string ABC ABC test file format >(3.s) search/0x3000 DEF \b, DEF sub type $ file -m abc.magic abc.data abc.data: ABC test file format, DEF sub type
From: Arfrever Frehtes Taifersar Arahesis
… magic so that they does not get recognized as lotus 123 files. From Christoph Biedl
…files (Christoph Biedl)
- Fix "long" formats which in magic "long" == 32 bit, which is not what "long" means in "C".
Verify that PR/336 is addressed also.
…encoding should have set looks_text correctly before, and file_ascmagic already calls file_ascmagic_with_encoding if it needs to.
…ries that don't yet have descriptions.
…unting the number of actual matching characters specified in them.
…ce this is an error.