[Aptitude-svn-commit] r4050 - in branches/aptitude-0.3/aptitude: . src/generic

Daniel Burrows dburrows at costa.debian.org
Tue Sep 6 18:30:11 UTC 2005


Author: dburrows
Date: Tue Sep  6 18:30:08 2005
New Revision: 4050

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/generic/immset.h
Log:
Fix a bug in the intersection check

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Tue Sep  6 18:30:08 2005
@@ -2,6 +2,10 @@
 
 	* src/generic/immset.h, tests/test_wtree.cc:
 
+	  Fix a very dumb error when intersecting against an empty set.
+
+	* src/generic/immset.h, tests/test_wtree.cc:
+
 	  Generalize the intersection routine to only find intersections
 	  matching a predicate; add hooks in the map class to test for
 	  domain intersection, containing an identical element, and

Modified: branches/aptitude-0.3/aptitude/src/generic/immset.h
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/immset.h	(original)
+++ branches/aptitude-0.3/aptitude/src/generic/immset.h	Tue Sep  6 18:30:08 2005
@@ -538,7 +538,7 @@
       if(n1.empty())
         return false;
       else if(n2.empty())
-        return true;
+        return false;
       else if(value_compare(n1.getVal(), n2.getVal()))
         {
 	  return



More information about the Aptitude-svn-commit mailing list