projects
/
platform
/
upstream
/
libsolv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c02c490
)
- fix problem sorting
author
Michael Schroeder
<mls@suse.de>
Fri, 28 Nov 2008 17:26:21 +0000
(17:26 +0000)
committer
Michael Schroeder
<mls@suse.de>
Fri, 28 Nov 2008 17:26:21 +0000
(17:26 +0000)
src/solver.c
patch
|
blob
|
history
diff --git
a/src/solver.c
b/src/solver.c
index
d9212ad
..
354ce6d
100644
(file)
--- a/
src/solver.c
+++ b/
src/solver.c
@@
-3224,8
+3224,8
@@
problems_sortcmp(const void *ap, const void *bp)
{
Queue *job = problems_sort_data;
int af = job->elements[-a - 1] & SOLVER_ESSENTIAL;
{
Queue *job = problems_sort_data;
int af = job->elements[-a - 1] & SOLVER_ESSENTIAL;
- int bf = job->elements[-
a
- 1] & SOLVER_ESSENTIAL;
- int x =
bf - a
f;
+ int bf = job->elements[-
b
- 1] & SOLVER_ESSENTIAL;
+ int x =
af - b
f;
if (x)
return x;
}
if (x)
return x;
}