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

[SCM] Debian package checker branch, master, updated. 2.5.4-15-g179cb26



The following commit has been merged in the master branch:
commit 179cb265ef4c2a98385c40bd87eb8434f628b0e1
Author: Niels Thykier <niels@thykier.net>
Date:   Thu Dec 1 23:40:34 2011 +0100

    Capture STDERR of readelf in coll/objdump-info
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/collection/objdump-info b/collection/objdump-info
index a2a0508..51fdb1b 100755
--- a/collection/objdump-info
+++ b/collection/objdump-info
@@ -106,7 +106,7 @@ while (<FILES>) {
                 my @sections;
                 my @symbol_versions;
 
-                if (open(PIPE, '-|', 'readelf', '-W', '-l', '-t', '-d', '-V', $bin)) {
+                if (open(PIPE, '-|', "readelf -W -l -t -d -V \Q$bin\E 2>&1")) {
                     my $section = '';
                     my %program_headers;
 
@@ -178,7 +178,7 @@ while (<FILES>) {
                     close PIPE;
                 }
 
-                if (open(PIPE, '-|', 'readelf', '-W', '-s', '-D', $bin)) {
+                if (open(PIPE, '-|', "readelf -W -s -D \Q$bin\E 2>&1")) {
                     print OUT "DYNAMIC SYMBOL TABLE:\n";
 
                     while(<PIPE>) {

-- 
Debian package checker


Reply to: