update again
OBS-URL: https://build.opensuse.org/package/show/Base:System/rpm?expand=0&rev=651
This commit is contained in:
parent
aa7c464ad1
commit
87d7dcbddc
@ -139,7 +139,7 @@ decoding works, otherwise iso-8859-1.
|
||||
/**
|
||||
+ * Retrieve text and convert to locale.
|
||||
+ */
|
||||
+static int localeTag(Header h, rpmTag tag, rpmtd td)
|
||||
+static int localeTag(Header h, rpmTag tag, rpmtd td, headerGetFlags hgflags)
|
||||
+{
|
||||
+ int rc;
|
||||
+ rc = headerGet(h, tag, td, HEADERGET_ALLOC);
|
||||
@ -174,12 +174,12 @@ decoding works, otherwise iso-8859-1.
|
||||
|
||||
+static int changelognameTag(Header h, rpmtd td, headerGetFlags hgflags)
|
||||
+{
|
||||
+ return localeTag(h, RPMTAG_CHANGELOGNAME, td);
|
||||
+ return localeTag(h, RPMTAG_CHANGELOGNAME, td, hgflags);
|
||||
+}
|
||||
+
|
||||
+static int changelogtextTag(Header h, rpmtd td, headerGetFlags hgflags)
|
||||
+{
|
||||
+ return localeTag(h, RPMTAG_CHANGELOGTEXT, td);
|
||||
+ return localeTag(h, RPMTAG_CHANGELOGTEXT, td, hgflags);
|
||||
+}
|
||||
+
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user