projects
/
platform
/
upstream
/
rpm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a867e67
)
Fix ordering with --nodeps.
author
Panu Matilainen
<pmatilai@redhat.com>
Mon, 9 Jul 2007 08:47:48 +0000
(11:47 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Mon, 9 Jul 2007 08:47:48 +0000
(11:47 +0300)
This adds unneeded second rpmalMakeIndex() call to normal path, the index
creation needs some kind of tracking mechanism to avoid this...
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
3d16ca2
..
13150da
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-1234,9
+1234,11
@@
int rpmtsOrder(rpmts ts)
int qlen;
int i, j;
-#ifdef DYING
+ /*
+ * XXX FIXME: this gets needlesly called twice on normal usage patterns,
+ * should track the need for generating the index somewhere
+ */
rpmalMakeIndex(ts->addedPackages);
-#endif
(void) rpmswEnter(rpmtsOp(ts, RPMTS_OP_ORDER), 0);