projects
/
tools
/
librpm-tizen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e4b829
)
Don't include packages multiple times in ordering
author
ewt
<devnull@localhost>
Tue, 8 Jul 1997 18:48:36 +0000
(18:48 +0000)
committer
ewt
<devnull@localhost>
Tue, 8 Jul 1997 18:48:36 +0000
(18:48 +0000)
CVS patchset: 1734
CVS date: 1997/07/08 18:48:36
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
c5977d2
..
6636ab0
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-787,6
+787,10
@@
static int addOrderedPack(rpmDependencies rpmdep,
/* let this package satisfy its own predependencies */
if (match == package) continue;
+ /* the package has already been selected */
+ if (selected[match - rpmdep->addedPackages.list] == SELECTED)
+ continue;
+
if (addOrderedPack(rpmdep, match, ordering, orderNumPtr,
selected, 1)) return 1;
}