Author: mlandres Date: Mon Jul 28 18:15:34 2008 New Revision: 10680 URL: http://svn.opensuse.org/viewcvs/zypp?rev=10680&view=rev Log: - Fixed SolvIterMixin::Selectable_iterator eating some solvables. Modified: trunk/libzypp/package/libzypp.changes trunk/libzypp/zypp/sat/SolvIterMixin.cc Modified: trunk/libzypp/package/libzypp.changes URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/package/libzypp.changes?r... ============================================================================== --- trunk/libzypp/package/libzypp.changes (original) +++ trunk/libzypp/package/libzypp.changes Mon Jul 28 18:15:34 2008 @@ -1,7 +1,13 @@ ------------------------------------------------------------------- +Mon Jul 28 18:13:24 CEST 2008- ma@suse.de + +- Fixed SolvIterMixin::Selectable_iterator eating some solvables. +- revision 10680 + +------------------------------------------------------------------- Fri Jul 25 20:12:55 CEST 2008 - ma@suse.de -- Several changes to make libzypp-bindings compile using the original +- Several changes to make libzypp-bindings compile using the original header files and no private copies. (bnc #391831) - revision 10668 - version 5.3.0 @@ -22,10 +28,10 @@ Thu Jul 17 09:49:40 CEST 2008 - schubi@suse.de - Allow parallel installation of packages which have been defined - in zypp.conf (parameter "multiversion") Fate #302050 + in zypp.conf (parameter "multiversion") Fate #302050 - Additional check for broken system. (defined in zypp.conv: solver.checkSystemFile) -- revision 10600 +- revision 10600 ------------------------------------------------------------------- Wed Jul 16 14:39:50 CEST 2008 - ma@suse.de Modified: trunk/libzypp/zypp/sat/SolvIterMixin.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/sat/SolvIterMixin.cc... ============================================================================== --- trunk/libzypp/zypp/sat/SolvIterMixin.cc (original) +++ trunk/libzypp/zypp/sat/SolvIterMixin.cc Mon Jul 28 18:15:34 2008 @@ -15,6 +15,7 @@ #include "zypp/sat/SolvIterMixin.h" #include "zypp/sat/Solvable.h" #include "zypp/ResPoolProxy.h" +#include "zypp/pool/PoolTraits.h" using std::endl; @@ -29,7 +30,8 @@ { bool UnifyByIdent::operator()( const Solvable & solv_r ) const { - return( solv_r && _uset->insert( solv_r.ident().id() ).second ); + // Need to use pool::ByIdent because packages and srcpackages have the same id. + return( solv_r && _uset->insert( pool::ByIdent( solv_r ).get() ).second ); } } -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org