[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: c/cruft.pm: Remove "all" as "quick-scan" keyword



This is an automated email from the git hooks/post-receive script.

nthykier pushed a commit to branch master
in repository lintian.

commit 939db45c727f91bbbad1b4d07ff010a36e6bcbf2
Author: Niels Thykier <niels@thykier.net>
Date:   Wed Feb 19 22:39:03 2014 +0100

    c/cruft.pm: Remove "all" as "quick-scan" keyword
    
    Since it also matches "all" in words like "specifically" or "shall",
    it is prone to regular "false-positive" matches.  With the existing
    keywords, it is probably mostly unneeded as well.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 checks/cruft.pm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index 0334b41..83e1340 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -580,8 +580,7 @@ sub license_check {
         }
 
         if (   index($block, 'intellectual') > -1
-            && index($block, 'property') > -1
-            && index($block, 'all') > -1){
+            && index($block, 'property') > -1){
 
             # nvdia opencv infamous license
             # non-distributable

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: