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

[SCM] Debian package checker branch, master, updated. 1.24.2-44-g250c5fc



The following commit has been merged in the master branch:
commit 250c5fc85c669b8691a946d8991bea98d8ff1a53
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Tue Jul 29 23:55:59 2008 +0100

    Fix a logic error in the SONAME parsing introduced when switching to Collect

diff --git a/checks/binaries b/checks/binaries
index 981b6aa..7832c20 100644
--- a/checks/binaries
+++ b/checks/binaries
@@ -47,8 +47,12 @@ foreach my $file (keys %{$info->objdump_info}) {
     my $objdump = $info->objdump_info->{$file};
     $file = './' . $file;
 
-    $SONAME{$file} = $objdump->{SONAME} if defined $objdump->{SONAME};
-
+    if (defined $objdump->{SONAME}) {
+	foreach my $soname (@{$objdump->{SONAME}}) {
+	    $SONAME{$soname} ||= [];
+	    push @{$SONAME{$soname}}, $file;
+	}
+    }
     foreach my $symbol (@{$objdump->{SYMBOLS}}) {
 	my ($foo, $sec, $sym) = @{$symbol};
 	if ($arch ne 'hppa') {

-- 
Debian package checker


Reply to: