Mailinglist Archive: zypp-commit (171 mails)

< Previous Next >
[zypp-commit] <sat-solver> master : - do not enter solvable data when not in leaf level
  • From: Michael Schroeder <mls@xxxxxxx>
  • Date: Mon, 29 Jun 2009 19:19:24 +0200
  • Message-id: <E1MLKWL-0004ye-Fy@xxxxxxxxxxxxxxxx>
ref: refs/heads/master
commit cf1d6ba3c1a262c80a1113ba708b9269e6ee7a0a
Author: Michael Schroeder <mls@xxxxxxx>
Date: Mon Jun 29 19:19:24 2009 +0200

- do not enter solvable data when not in leaf level
---
src/repodata.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/repodata.c b/src/repodata.c
index 319f9ab..fb88153 100644
--- a/src/repodata.c
+++ b/src/repodata.c
@@ -1069,7 +1069,7 @@ dataiterator_step(Dataiterator *di)
if (di->repodataid >= 0)
{
di->repodataid = 0; /* reset repodata iterator */
- if (di->solvid > 0 && !(di->flags & SEARCH_NO_STORAGE_SOLVABLE)
&& (!di->keyname || (di->keyname >= SOLVABLE_NAME && di->keyname <=
RPM_RPMDBID)))
+ if (di->solvid > 0 && !(di->flags & SEARCH_NO_STORAGE_SOLVABLE)
&& (!di->keyname || (di->keyname >= SOLVABLE_NAME && di->keyname <=
RPM_RPMDBID)) && di->nparents == di->nkeynames)
{
di->key = solvablekeys + (di->keyname ? di->keyname -
SOLVABLE_NAME : 0);
di->data = 0;
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages