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:
ea6171d
)
Disable header i18n lookup in headerCopyTags() (RhBug:578299)
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 1 Apr 2010 06:15:06 +0000
(09:15 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 1 Apr 2010 06:15:06 +0000
(09:15 +0300)
- without HEADERGET_RAW here, only one of the translations in header
(whatever happens to be "current" locale) gets copied
lib/headerutil.c
patch
|
blob
|
history
diff --git
a/lib/headerutil.c
b/lib/headerutil.c
index
aa0c443
..
04de26d
100644
(file)
--- a/
lib/headerutil.c
+++ b/
lib/headerutil.c
@@
-99,7
+99,7
@@
void headerCopyTags(Header headerFrom, Header headerTo,
for (p = tagstocopy; *p != 0; p++) {
if (headerIsEntry(headerTo, *p))
continue;
- if (!headerGet(headerFrom, *p, &td,
HEADERGET_MINMEM
))
+ if (!headerGet(headerFrom, *p, &td,
(HEADERGET_MINMEM|HEADERGET_RAW)
))
continue;
(void) headerPut(headerTo, &td, HEADERPUT_DEFAULT);
rpmtdFreeData(&td);