diff options
author | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2009-08-04 16:47:17 +0000 |
---|---|---|
committer | Per Øyvind Karlsen <peroyvind@mandriva.org> | 2009-08-04 16:47:17 +0000 |
commit | bd5e189d25331d33f0eb3f47f80c1761f9e432ea (patch) | |
tree | 32a4af87088297d4b1822ea594f49a11a6706130 | |
parent | 60a68bb04c7d15d8ca98fcb05e0d18f11370fe08 (diff) | |
download | perl-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.xs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |