]> git.donarmstrong.com Git - debbugs.git/commitdiff
* fix extraneous semicolon
authorDon Armstrong <don@donarmstrong.com>
Fri, 5 Feb 2010 07:38:18 +0000 (23:38 -0800)
committerDon Armstrong <don@donarmstrong.com>
Fri, 5 Feb 2010 07:38:18 +0000 (23:38 -0800)
Debbugs/Status.pm

index 5b6e9dcf9963ddd141453909cee26e2fe5d1dac7..8b4b9b045164363d14371e5336223ac20f373663 100644 (file)
@@ -619,7 +619,7 @@ The following functions are exported with the :versions tag
 
      addfoundversions($status,$package,$version,$isbinary);
 
-
+All use of this should be phased out in favor of Debbugs::Control::fixed/found
 
 =cut
 
@@ -632,6 +632,10 @@ sub addfoundversions {
     return unless defined $version;
     undef $package if $package =~ m[(?:\s|/)];
     my $source = $package;
+    if ($package =~ s/^src://) {
+       $isbinary = 0;
+       $source = $package;
+    }
 
     if (defined $package and $isbinary) {
         my @srcinfo = binary_to_source(binary => $package,