From: Christos Zoulas Date: Fri, 4 Apr 2008 14:57:49 +0000 (+0000) Subject: We don't support >= or <=; fix the magic. X-Git-Tag: FILE4_25~50 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d9201700918a53853434e3cece1441b73236da70;p=file We don't support >= or <=; fix the magic. --- diff --git a/magic/Magdir/audio b/magic/Magdir/audio index 832ad88e..3a9c176c 100644 --- a/magic/Magdir/audio +++ b/magic/Magdir/audio @@ -273,7 +273,7 @@ >22 belong&0x00ffffff x %d Hz, >18 beshort =0 no loop, >18 beshort =-1 loop, ->21 ubyte <=127 note %d, +>21 ubyte <128 note %d, >22 byte =0 replay 5.485 KHz >22 byte =1 replay 8.084 KHz >22 byte =2 replay 10.971 Khz diff --git a/magic/Magdir/database b/magic/Magdir/database index cae67fc6..2e6ad2fd 100644 --- a/magic/Magdir/database +++ b/magic/Magdir/database @@ -234,7 +234,7 @@ 0 string PGDMP PostgreSQL custom database dump >5 byte x - v%d >6 byte x \b.%d ->5 beshort <=0x100 \b-0 +>5 beshort <0x101 \b-0 >5 beshort >0x100 >>7 byte x \b-%d diff --git a/magic/Magdir/freebsd b/magic/Magdir/freebsd index ee710fab..be304177 100644 --- a/magic/Magdir/freebsd +++ b/magic/Magdir/freebsd @@ -128,10 +128,10 @@ # What are you laughing about? 0 lelong 011421044151 ld.so hints file (Little Endian >4 lelong >0 \b, version %d) ->4 belong <=0 \b) +>4 belong <1 \b) 0 belong 011421044151 ld.so hints file (Big Endian >4 belong >0 \b, version %d) ->4 belong <=0 \b) +>4 belong <1 \b) # # Files generated by FreeBSD scrshot(1)/vidcontrol(1) utilities diff --git a/magic/Magdir/linux b/magic/Magdir/linux index d4ae0f01..393f79cf 100644 --- a/magic/Magdir/linux +++ b/magic/Magdir/linux @@ -83,7 +83,7 @@ # Linux kernel boot images (i386 arch) (Wolfram Kleff) 514 string HdrS Linux kernel >510 leshort 0xAA55 x86 boot executable ->>518 leshort >=0x200 +>>518 leshort >0x1ff >>529 byte 0 zImage, >>>529 byte 1 bzImage, >>>(526.s+0x200) string >\0 version %s,