[Aptitude-devel] r3238 - in branches/aptitude-0.3/aptitude: . src/generic/problemresolver

Daniel Burrows dburrows@costa.debian.org
Sun, 01 May 2005 15:55:41 +0000


Author: dburrows
Date: Sun May  1 15:55:38 2005
New Revision: 3238

Modified:
   branches/aptitude-0.3/aptitude/ChangeLog
   branches/aptitude-0.3/aptitude/src/generic/problemresolver/test.cc
Log:
Fix dummy_universe::broken_under; also commit stuff I stupidly didn't
include before thanks to running from a subsubdir.

Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog	(original)
+++ branches/aptitude-0.3/aptitude/ChangeLog	Sun May  1 15:55:38 2005
@@ -1,5 +1,19 @@
 2005-05-01  Daniel Burrows  <dburrows@debian.org>
 
+	* src/generic/problemresolver/test.cc:
+
+	  Fix dummy_universe::broken_under (it was returning false for all
+	  dependencies except totally unsatisfiable ones (i.e., deps with
+	  no solvers whatsoever).
+
+	* src/generic/problemresolver/test.cc:
+
+	  Always enable debugging.
+
+	* src/generic/problemresolver/test.cc:
+
+	  Fix a refcounting error.
+
 	* src/generic/aptcache.cc:
 
 	  Fix the dumper to conform to the test input format.

Modified: branches/aptitude-0.3/aptitude/src/generic/problemresolver/test.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/problemresolver/test.cc	(original)
+++ branches/aptitude-0.3/aptitude/src/generic/problemresolver/test.cc	Sun May  1 15:55:38 2005
@@ -466,7 +466,7 @@
 
       for(dummy_dep::solver_iterator i=real_dep->solvers_begin();
 	  i!=real_dep->solvers_end(); ++i)
-	if(s.ver_installed(get_source()))
+	if(s.ver_installed(*i))
 	  return false;
 
       return true;