From: Christos Zoulas Date: Sat, 11 Jul 2015 14:40:10 +0000 (+0000) Subject: since this is a used by all NetPBM images, don't call it PPM. X-Git-Tag: FILE5_25~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee7bc44703221de755088a29dfd2a1f1eec72369;p=file since this is a used by all NetPBM images, don't call it PPM. --- diff --git a/magic/Magdir/images b/magic/Magdir/images index 1aa666c5..460c3ba5 100644 --- a/magic/Magdir/images +++ b/magic/Magdir/images @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: images,v 1.105 2015/02/14 17:30:03 christos Exp $ +# $File: images,v 1.106 2015/02/22 01:26:05 christos Exp $ # images: file(1) magic for image formats (see also "iff", and "c-lang" for # XPM bitmaps) # @@ -37,7 +37,7 @@ # The next byte following the magic is always whitespace. # strength is changed to try these patterns before "x86 boot sector" 0 name netpbm ->3 regex/s =[0-9]{1,50}\ [0-9]{1,50} Netpbm PPM image data +>3 regex/s =[0-9]{1,50}\ [0-9]{1,50} Netpbm image data >>&0 regex =[0-9]{1,50} \b, size = %s x >>>&0 regex =[0-9]{1,50} \b %s @@ -59,7 +59,6 @@ !:strength + 45 !:mime image/x-portable-pixmap - 0 string P4 >0 use netpbm >>0 string x \b, rawbits, bitmap