git://project.juiblex.co.uk
/
razor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
e975bd2
)
fix find_package_matching to not accidentally skip some packages
author
Dan Winship
<danw@gnome.org>
Thu, 20 Mar 2008 18:36:50 +0000 (14:36 -0400)
committer
Dan Winship
<danw@gnome.org>
Thu, 20 Mar 2008 18:36:50 +0000 (14:36 -0400)
razor.c
patch
|
blob
|
history
diff --git
a/razor.c
b/razor.c
index
0dd6955
..
4eac237
100644
(file)
--- a/
razor.c
+++ b/
razor.c
@@
-2209,7
+2209,8
@@
find_package_matching(struct razor_transaction_resolver *trans, int installed,
} else {
while (prop >= props && prop->type != match_type)
prop--;
- while (prop > props + 1 && (prop - 1)->type == match_type)
+ while (prop > props + 1 && (prop - 1)->name == prop->name &&
+ (prop - 1)->type == match_type)
prop--;
}