[yast-commit] r39826 - in /trunk/pkg-bindings: VERSION package/yast2-pkg-bindings.changes src/Source.cc
Author: lslezak Date: Tue Jul 31 10:41:58 2007 New Revision: 39826 URL: http://svn.opensuse.org/viewcvs/yast?rev=39826&view=rev Log: - Pkg::SourceGetCurrent() - return correct IDs (fixed nasty off by one bug) (#295901) - 2.15.37 Modified: trunk/pkg-bindings/VERSION trunk/pkg-bindings/package/yast2-pkg-bindings.changes trunk/pkg-bindings/src/Source.cc Modified: trunk/pkg-bindings/VERSION URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/VERSION?rev=39826&r1=39825&r2=39826&view=diff ============================================================================== --- trunk/pkg-bindings/VERSION (original) +++ trunk/pkg-bindings/VERSION Tue Jul 31 10:41:58 2007 @@ -1 +1 @@ -2.15.36 +2.15.37 Modified: trunk/pkg-bindings/package/yast2-pkg-bindings.changes URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/package/yast2-pkg-bindings.changes?rev=39826&r1=39825&r2=39826&view=diff ============================================================================== --- trunk/pkg-bindings/package/yast2-pkg-bindings.changes (original) +++ trunk/pkg-bindings/package/yast2-pkg-bindings.changes Tue Jul 31 10:41:58 2007 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Tue Jul 31 10:35:56 CEST 2007 - lslezak@suse.cz + +- Pkg::SourceGetCurrent() - return correct IDs (fixed nasty off + by one bug) (#295901) +- 2.15.37 + +------------------------------------------------------------------- Mon Jul 30 15:06:16 CEST 2007 - lslezak@suse.cz - download missing metadata before building the cache (required Modified: trunk/pkg-bindings/src/Source.cc URL: http://svn.opensuse.org/viewcvs/yast/trunk/pkg-bindings/src/Source.cc?rev=39826&r1=39825&r2=39826&view=diff ============================================================================== --- trunk/pkg-bindings/src/Source.cc (original) +++ trunk/pkg-bindings/src/Source.cc Tue Jul 31 10:41:58 2007 @@ -411,11 +411,9 @@ { YCPList res; - unsigned long index = 0; - for( std::vector<YRepo_Ptr>::const_iterator it = repos.begin(); it != repos.end() ; ++it ) + std::vector<YRepo_Ptr>::size_type index = 0; + for( std::vector<YRepo_Ptr>::const_iterator it = repos.begin(); it != repos.end() ; ++it, ++index ) { - index++; - // ignore disabled sources if requested if (enabled->value()) { -- To unsubscribe, e-mail: yast-commit+unsubscribe@opensuse.org For additional commands, e-mail: yast-commit+help@opensuse.org
participants (1)
-
lslezak@svn.opensuse.org