From eb21ae0eca92536d4fa2a7b46390cabcc20f83a5 Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Tue, 16 Dec 2014 19:49:29 +0000 Subject: [PATCH] relax the binary resource checks. The example file has qres\0\0\0\1 --- magic/Magdir/qt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/magic/Magdir/qt b/magic/Magdir/qt index a0146390..72e6ff3a 100644 --- a/magic/Magdir/qt +++ b/magic/Magdir/qt @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------ -# $File: qt,v 1.1 2014/12/12 16:48:39 christos Exp $ +# $File: qt,v 1.2 2014/12/16 19:49:29 christos Exp $ # qt: file(1) magic for Qt # http://doc.qt.io/qt-5/resources.html @@ -9,8 +9,7 @@ # https://qt.gitorious.org/qt/qtbase/source/\ # 5367fa356233da4c0f28172a8f817791525f5457:\ # src/tools/rcc/rcc.cpp#L840 -0 string qres ->4 belong 0 Qt Binary Resource file +0 string qres\0\0 Qt Binary Resource file 0 search/1024 The\040Resource\040Compiler\040for\040Qt Qt C-code resource file # https://qt.gitorious.org/qt/qtbase/source/\ -- 2.50.0