Browse Source

Fixed to properly catch multiply defined symbols.

tags/v0.9.3
Michael Brown 19 years ago
parent
commit
d94cb57143
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/util/symcheck.pl

+ 1
- 1
src/util/symcheck.pl View File

@@ -39,7 +39,7 @@ while ( ( my $symbol, my $info ) = each %$symbols ) {
39 39
     $problems->{$_}->{nonexistent}->{$symbol} = 1 foreach @requires;
40 40
   } elsif ( @provides > 1 ) {
41 41
     # Symbol defined in multiple objects
42
-    $problems->{$_}->{multiples}->{$symbol} = 1 foreach @requires;
42
+    $problems->{$_}->{multiples}->{$symbol} = 1 foreach @provides;
43 43
   }
44 44
   if ( @requires == 0 ) {
45 45
     # Symbol not required

Loading…
Cancel
Save