Mailinglist Archive: zypp-commit (366 mails)

< Previous Next >
[zypp-commit] r10005 - /trunk/libzypp/zypp/Locks.cc
  • From: jreidinger@xxxxxxxxxxxxxxxx
  • Date: Fri, 09 May 2008 11:45:16 -0000
  • Message-id: <20080509114516.EB58B2DE4C@xxxxxxxxxxxxxxxx>
Author: jreidinger
Date: Fri May 9 13:45:16 2008
New Revision: 10005

URL: http://svn.opensuse.org/viewcvs/zypp?rev=10005&view=rev
Log:
fix bug if locks intersect

Modified:
trunk/libzypp/zypp/Locks.cc

Modified: trunk/libzypp/zypp/Locks.cc
URL:
http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/Locks.cc?rev=10005&r1=10004&r2=10005&view=diff
==============================================================================
--- trunk/libzypp/zypp/Locks.cc (original)
+++ trunk/libzypp/zypp/Locks.cc Fri May 9 13:45:16 2008
@@ -346,12 +346,13 @@
switch( contains(q,solvs) )
{
case 0:
- return false;
+ return false; //another lock
case 1:
cs = SavingLocksReport::SAME_RESULTS;
break;
case 2:
cs = SavingLocksReport::INTERSECT;
+ break;
default:
return true;
}

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages