The following commit has been merged in the master branch:
commit 2fcad28b12227d25db257238cc4d5d0600d6dbeb
Author: Paul Wise <[email protected]>
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 <[email protected]>

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


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to