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:
a366612
)
Permit i18nstring in headerPutString()
author
Panu Matilainen
<pmatilai@redhat.com>
Thu, 7 Aug 2008 15:44:03 +0000
(18:44 +0300)
committer
Panu Matilainen
<pmatilai@redhat.com>
Thu, 7 Aug 2008 15:44:03 +0000
(18:44 +0300)
lib/header.c
patch
|
blob
|
history
diff --git
a/lib/header.c
b/lib/header.c
index
2f3d7a0
..
fa38c89
100644
(file)
--- a/
lib/header.c
+++ b/
lib/header.c
@@
-1631,7
+1631,7
@@
int headerPutString(Header h, rpmTag tag, const char *val)
const void *sptr = NULL;
/* string arrays expect char **, arrange that */
- if (type == RPM_STRING_ARRAY_TYPE) {
+ if (type == RPM_STRING_ARRAY_TYPE
|| type == RPM_I18NSTRING_TYPE
) {
sptr = &val;
} else if (type == RPM_STRING_TYPE) {
sptr = val;