From: Don Armstrong <don@volo>
Date: Sat, 8 Jul 2006 07:32:25 +0000 (-0700)
Subject:  * Merge changes from Sesse which fix source packages no binary of the same name
X-Git-Tag: release/2.6.0~604^2
X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=0f6b886c5057cb89ff4b041ac0c69f315fc8467c;p=debbugs.git

 * Merge changes from Sesse which fix source packages no binary of the same name
---

diff --git a/scripts/errorlib.in b/scripts/errorlib.in
index 562f0b2d..d26381e6 100755
--- a/scripts/errorlib.in
+++ b/scripts/errorlib.in
@@ -281,6 +281,7 @@ sub addfoundversions {
             return;
         }
         # Otherwise, an unqualified version will have to do.
+        undef $source;
     }
 
     # Strip off various kinds of brain-damage.
@@ -315,6 +316,7 @@ sub removefoundversions {
             return;
         }
         # Otherwise, an unqualified version will have to do.
+        undef $source;
     }
 
     foreach my $ver (split /[,\s]+/, $version) {
@@ -341,6 +343,7 @@ sub addfixedversions {
             return;
         }
         # Otherwise, an unqualified version will have to do.
+        undef $source;
     }
 
     # Strip off various kinds of brain-damage.
@@ -375,6 +378,7 @@ sub removefixedversions {
             return;
         }
         # Otherwise, an unqualified version will have to do.
+        undef $source;
     }
 
     foreach my $ver (split /[,\s]+/, $version) {