The following commit has been merged in the master branch:
commit 179cb265ef4c2a98385c40bd87eb8434f628b0e1
Author: Niels Thykier <[email protected]>
Date:   Thu Dec 1 23:40:34 2011 +0100

    Capture STDERR of readelf in coll/objdump-info
    
    Signed-off-by: Niels Thykier <[email protected]>

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


-- 
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