aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--URPM.xs4
1 files changed, 2 insertions, 2 deletions
diff --git a/URPM.xs b/URPM.xs
index 87ba3d6..fa44578 100644
--- a/URPM.xs
+++ b/URPM.xs
@@ -2248,7 +2248,7 @@ void Pkg_distepoch(pkg)
PPCODE:
#ifdef RPMTAG_DISTEPOCH
if (pkg->h) {
- XPUSHs(sv_2mortal(newSVpv_utf8(get_name(pkg->h, RPMTAG_DISTEPOCH), 0)));
+ XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_DISTEPOCH), 0)));
}
#else
croak("distepoch isn't available with this rpm version");
@@ -2258,7 +2258,7 @@ void Pkg_disttag(pkg)
URPM::Package pkg
PPCODE:
if (pkg->h) {
- XPUSHs(sv_2mortal(newSVpv_utf8(get_name(pkg->h, RPMTAG_DISTTAG), 0)));
+ XPUSHs(sv_2mortal(newSVpv(get_name(pkg->h, RPMTAG_DISTTAG), 0)));
}
void