aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2009-08-04 16:47:17 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2009-08-04 16:47:17 +0000
commitbd5e189d25331d33f0eb3f47f80c1761f9e432ea (patch)
tree32a4af87088297d4b1822ea594f49a11a6706130
parent60a68bb04c7d15d8ca98fcb05e0d18f11370fe08 (diff)
downloadperl-URPM-bd5e189d25331d33f0eb3f47f80c1761f9e432ea.tar
perl-URPM-bd5e189d25331d33f0eb3f47f80c1761f9e432ea.tar.gz
perl-URPM-bd5e189d25331d33f0eb3f47f80c1761f9e432ea.tar.bz2
perl-URPM-bd5e189d25331d33f0eb3f47f80c1761f9e432ea.tar.xz
perl-URPM-bd5e189d25331d33f0eb3f47f80c1761f9e432ea.zip
disttag & distepoch isn't utf8…
-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