mvadkert / rpms / file

Forked from rpms/file 5 years ago
Clone
ff0750f
From 3938a505b79d24ad76dc42151994740159cb8d60 Mon Sep 17 00:00:00 2001
ff0750f
From: Ondrej Dubaj <odubaj@redhat.com>
ff0750f
Date: Thu, 24 Jan 2019 08:36:04 +0100
ff0750f
Subject: [PATCH] Fixed bug missidentifying netpbm files (#856092)
ff0750f
ff0750f
---
ff0750f
 magic/Magdir/images | 12 ++++++------
ff0750f
 1 file changed, 6 insertions(+), 6 deletions(-)
ff0750f
ff0750f
diff --git a/magic/Magdir/images b/magic/Magdir/images
ff0750f
index 5cd9fab..e16d028 100644
ff0750f
--- a/magic/Magdir/images
ff0750f
+++ b/magic/Magdir/images
ff0750f
@@ -175,42 +175,42 @@
ff0750f
 >0	regex/4		P1[\040\t\f\r\n]
ff0750f
 >>0	use		netpbm
ff0750f
 >>0	string		x	\b, bitmap
ff0750f
-!:strength + 45
ff0750f
+!:strength + 65
ff0750f
 !:mime	image/x-portable-bitmap
ff0750f
 
ff0750f
 0	search/1	P2
ff0750f
 >0	regex/4		P2[\040\t\f\r\n]
ff0750f
 >>0	use		netpbm
ff0750f
 >>0	string		x	\b, greymap
ff0750f
-!:strength + 45
ff0750f
+!:strength + 65
ff0750f
 !:mime	image/x-portable-greymap
ff0750f
 
ff0750f
 0	search/1	P3
ff0750f
 >0	regex/4		P3[\040\t\f\r\n]
ff0750f
 >>0	use		netpbm
ff0750f
 >>0	string		x	\b, pixmap
ff0750f
-!:strength + 45
ff0750f
+!:strength + 65
ff0750f
 !:mime	image/x-portable-pixmap
ff0750f
 
ff0750f
 0	string		P4
ff0750f
 >0	regex/4		P4[\040\t\f\r\n]
ff0750f
 >>0	use		netpbm
ff0750f
 >>0	string		x	\b, rawbits, bitmap
ff0750f
-!:strength + 45
ff0750f
+!:strength + 65
ff0750f
 !:mime	image/x-portable-bitmap
ff0750f
 
ff0750f
 0	string		P5
ff0750f
 >0	regex/4		P5[\040\t\f\r\n]
ff0750f
 >>0	use		netpbm
ff0750f
 >>0	string		x	\b, rawbits, greymap
ff0750f
-!:strength + 45
ff0750f
+!:strength + 65
ff0750f
 !:mime	image/x-portable-greymap
ff0750f
 
ff0750f
 0	string		P6
ff0750f
 >0	regex/4		P6[\040\t\f\r\n]
ff0750f
 >>0	use		netpbm
ff0750f
 >>0	string		x	\b, rawbits, pixmap
ff0750f
-!:strength + 45
ff0750f
+!:strength + 65
ff0750f
 !:mime	image/x-portable-pixmap
ff0750f
 
ff0750f
 0	string		P7		Netpbm PAM image file
ff0750f
-- 
ff0750f
2.17.1
ff0750f