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

[lintian] 01/01: coll/strings: Stop extracting elf-index - it is not used



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

nthykier pushed a commit to branch master
in repository lintian.

commit 2134a3d6a652044e5544fe8dd4288a9c82540514
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Oct 11 17:56:12 2014 +0200

    coll/strings: Stop extracting elf-index - it is not used
    
    Signed-off-by: Niels Thykier <niels@thykier.net>
---
 collection/strings | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/collection/strings b/collection/strings
index a6ce8bf..635f7b8 100755
--- a/collection/strings
+++ b/collection/strings
@@ -53,8 +53,6 @@ sub collect {
 
     $info = Lintian::Collect->new($pkg, $type, $dir);
 
-    open(my $elf_fd, '>', "$dir/elf-index");
-
     # The directory is required, even if it would be empty.
     mkdir("$dir/strings");
 
@@ -74,8 +72,6 @@ sub collect {
         my $filename = $bin->name;
         my $finfo = $info->file_info($bin);
         next unless $finfo =~ m/\bELF\b/o;
-        printf {$elf_fd} "$filename\n";
-
         next if $bin =~ m,^usr/lib/debug/,;
         if ($bin =~ m/[:\n\r]/) {
             # Do these "interesting cases" manual
@@ -108,7 +104,6 @@ sub collect {
                 '|', ['gzip', '-9nc']);
         }
     }
-    close($elf_fd);
 
     return;
 }

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


Reply to: