Browse Source

Disable detection of Algol68 files, way too many false positives

Christoph Biedl 7 years ago
parent
commit
c6a16d247d
2 changed files with 35 additions and 0 deletions
  1. 34 0
      debian/patches/local.disable-algol68-detection.patch
  2. 1 0
      debian/patches/series

+ 34 - 0
debian/patches/local.disable-algol68-detection.patch

@@ -0,0 +1,34 @@
+Subject: Disable detection of Algol68 files
+Author: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
+Date: 2016-12-13
+Forwarded: http://mx.gw.com/pipermail/file/2016/002174.html
+
+--- a/magic/Magdir/algol68
++++ b/magic/Magdir/algol68
+@@ -3,16 +3,16 @@
+ # $File: algol68,v 1.2 2016/10/17 14:17:48 christos Exp $
+ # algol68:  file(1) magic for Algol 68 source
+ #
+-0	search/8192	(input,			Algol 68 source text
+-!:mime	text/x-Algol68
+-0	regex		\^PROC			Algol 68 source text
+-!:mime	text/x-Algol68
+-0	regex           MODE[\t\ ]		Algol 68 source text
+-!:mime	text/x-Algol68
+-0	regex          	REF[\t\ ]		Algol 68 source text
+-!:mime	text/x-Algol68
+-0	regex          	FLEX[\t\ ]\*\\[		Algol 68 source text
+-!:mime	text/x-Algol68
++#0	search/8192	(input,			Algol 68 source text
++#!:mime	text/x-Algol68
++#0	regex		\^PROC			Algol 68 source text
++#!:mime	text/x-Algol68
++#0	regex           MODE[\t\ ]		Algol 68 source text
++#!:mime	text/x-Algol68
++#0	regex          	REF[\t\ ]		Algol 68 source text
++#!:mime	text/x-Algol68
++#0	regex          	FLEX[\t\ ]\*\\[		Algol 68 source text
++#!:mime	text/x-Algol68
+ #0	regex          	[\t\ ]OD		Algol 68 source text
+ #!:mime	text/x-Algol68
+ #0	regex          	[\t\ ]FI		Algol 68 source text

+ 1 - 0
debian/patches/series

@@ -7,3 +7,4 @@ local.don-t-include-libs-in-build.patch
 local.mention-posixly-correct-dependent-behaviour-in-usage-message.patch
 local.report-gz-as-application-gzip.patch
 local.disable-detection-of-vax-coff-executables.patch
+local.disable-algol68-detection.patch