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

[SCM] Debian package checker branch, master, updated. 2.5.4-61-g2fcad28



The following commit has been merged in the master branch:
commit 2fcad28b12227d25db257238cc4d5d0600d6dbeb
Author: Paul Wise <pabs@debian.org>
Date:   Mon Dec 19 17:00:31 2011 +0800

    Also detect COFF object files as Windows binaries.
    
    Changes to the orignal patch:
     - Merged the if statement with the conditional above it.
    
    Acked-by: Niels Thykier <niels@thykier.net>

diff --git a/checks/cruft b/checks/cruft
index 25ee03b..6fd9d39 100644
--- a/checks/cruft
+++ b/checks/cruft
@@ -147,7 +147,7 @@ for my $file (keys(%$file_info)) {
     next if ($file =~ m,(?:^|/)t(?:est(?:s(?:et)?)?)?/,);
     if ($file_info->{$file} =~ m/\bELF\b/) {
         tag 'source-contains-prebuilt-binary', $file;
-    } elsif ($file_info->{$file} =~ m/\bPE(32|64)\b/) {
+    } elsif ($file_info->{$file} =~ m/\b(?:PE(?:32|64)|COFF executable)\b/) {
         tag 'source-contains-prebuilt-windows-binary', $file;
     }
 }

-- 
Debian package checker


Reply to: