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:
775cbf8
)
Fix breakage from removedPackages changing to hash
author
Panu Matilainen
<pmatilai@redhat.com>
Fri, 7 May 2010 17:18:58 +0000
(20:18 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Fri, 7 May 2010 17:22:53 +0000
(20:22 +0300)
- tsmem->delta is still needed for tsmem->order reallocation,
zero delta causes funny effects on larger package sets (test suite
doesnt trigger this)
lib/rpmts.c
patch
|
blob
|
history
diff --git
a/lib/rpmts.c
b/lib/rpmts.c
index
1688889
..
727d775
100644
(file)
--- a/
lib/rpmts.c
+++ b/
lib/rpmts.c
@@
-918,6
+918,7
@@
rpmts rpmtsCreate(void)
}
tsmem = xcalloc(1, sizeof(*ts->members));
+ tsmem->delta = 5;
tsmem->numAddedPackages = 0;
tsmem->addedPackages = NULL;
tsmem->removedPackages = intHashCreate(128, uintId, uintCmp, NULL);