From d94cb571434ab1339a7906893826f744327cb826 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Sat, 23 Apr 2005 14:54:30 +0000 Subject: [PATCH] Fixed to properly catch multiply defined symbols. --- src/util/symcheck.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/symcheck.pl b/src/util/symcheck.pl index 06398865..5fb3c954 100755 --- a/src/util/symcheck.pl +++ b/src/util/symcheck.pl @@ -39,7 +39,7 @@ while ( ( my $symbol, my $info ) = each %$symbols ) { $problems->{$_}->{nonexistent}->{$symbol} = 1 foreach @requires; } elsif ( @provides > 1 ) { # Symbol defined in multiple objects - $problems->{$_}->{multiples}->{$symbol} = 1 foreach @requires; + $problems->{$_}->{multiples}->{$symbol} = 1 foreach @provides; } if ( @requires == 0 ) { # Symbol not required