[Aptitude-svn-commit] r4091 - in branches/aptitude-0.3/aptitude: .
src/generic
Daniel Burrows
dburrows at costa.debian.org
Thu Sep 15 02:06:30 UTC 2005
Author: dburrows
Date: Thu Sep 15 02:06:28 2005
New Revision: 4091
Modified:
branches/aptitude-0.3/aptitude/ChangeLog
branches/aptitude-0.3/aptitude/src/generic/resolver_manager.cc
Log:
Reset the currently selected solution to 0 when discarding the resolver.
Modified: branches/aptitude-0.3/aptitude/ChangeLog
==============================================================================
--- branches/aptitude-0.3/aptitude/ChangeLog (original)
+++ branches/aptitude-0.3/aptitude/ChangeLog Thu Sep 15 02:06:28 2005
@@ -2,6 +2,11 @@
* src/generic/resolver_manager.cc:
+ Reset the currently selected solution to 0 when discarding the
+ resolver.
+
+ * src/generic/resolver_manager.cc:
+
Don't let the solution pointer go past
one-off-the-end-of-the-list; fixes some uncaught exceptions.
Modified: branches/aptitude-0.3/aptitude/src/generic/resolver_manager.cc
==============================================================================
--- branches/aptitude-0.3/aptitude/src/generic/resolver_manager.cc (original)
+++ branches/aptitude-0.3/aptitude/src/generic/resolver_manager.cc Thu Sep 15 02:06:28 2005
@@ -207,6 +207,7 @@
{
threads::mutex::lock l2(solutions_mutex);
solutions.clear();
+ selected_solution = 0;
}
resolver=NULL;
More information about the Aptitude-svn-commit
mailing list