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:
d12fe78
)
Use transaction string pool for rpmlib() dependencies too
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 13 Sep 2012 08:55:52 +0000
(11:55 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 13 Sep 2012 08:55:52 +0000
(11:55 +0300)
- This wasn't possible with the former static rpmlib() dependency set
as it would've kept the potentially huge global pool referenced
throughout process lifetime.
lib/depends.c
patch
|
blob
|
history
diff --git
a/lib/depends.c
b/lib/depends.c
index
f9d21c3
..
c100451
100644
(file)
--- a/
lib/depends.c
+++ b/
lib/depends.c
@@
-532,7
+532,7
@@
retry:
*/
if (dsflags & RPMSENSE_RPMLIB) {
if (tsmem->rpmlib == NULL)
- rpmdsRpmlib
(
&(tsmem->rpmlib), NULL);
+ rpmdsRpmlib
Pool(tsmem->pool,
&(tsmem->rpmlib), NULL);
if (tsmem->rpmlib != NULL && rpmdsSearch(tsmem->rpmlib, dep) >= 0) {
rpmdsNotify(dep, "(rpmlib provides)", rc);