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:
3782d65
)
Use type-specific headerPut() for the case where it makes sense in relocs
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 19 Jun 2008 12:52:19 +0000
(15:52 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 19 Jun 2008 12:52:19 +0000
(15:52 +0300)
lib/rpmfi.c
patch
|
blob
|
history
diff --git
a/lib/rpmfi.c
b/lib/rpmfi.c
index
afee0fb
..
5d15aad
100644
(file)
--- a/
lib/rpmfi.c
+++ b/
lib/rpmfi.c
@@
-834,11
+834,8
@@
assert(p != NULL);
}
if (numActual) {
- struct rpmtd_s pfx;
- if (rpmtdFromStringArray(&pfx, RPMTAG_INSTPREFIXES,
- actualRelocations, numActual)) {
- headerPut(h, &pfx, HEADERPUT_DEFAULT);
- }
+ headerPutStringArray(h, RPMTAG_INSTPREFIXES,
+ actualRelocations, numActual);
}
actualRelocations = _free(actualRelocations);