aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-10 16:54:37 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-10 16:54:37 +0000
commitb47d94cd4520aad225d7958cb5e2a59cf5037d67 (patch)
tree713405cfaa176fbd3a75e7de97542a4b1985a4f5 /Rpmdrake/pkg.pm
parente960261f9f6acc62c8d560b6010da396d9a4f390 (diff)
downloadrpmdrake-b47d94cd4520aad225d7958cb5e2a59cf5037d67.tar
rpmdrake-b47d94cd4520aad225d7958cb5e2a59cf5037d67.tar.gz
rpmdrake-b47d94cd4520aad225d7958cb5e2a59cf5037d67.tar.bz2
rpmdrake-b47d94cd4520aad225d7958cb5e2a59cf5037d67.tar.xz
rpmdrake-b47d94cd4520aad225d7958cb5e2a59cf5037d67.zip
(run_rpm) do not try to convert into UTF-8, thus fixing a SIGV loop while
inserting file list of "balazar" package
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 41cc9556..f1de896a 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -84,7 +84,7 @@ sub run_rpm {
foreach (qw(LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL)) {
local $ENV{$_} = $ENV{$_} . '.UTF-8' if !/UTF-8/;
}
- my @l = map { to_utf8($_) } `@_`;
+ my @l = `@_`;
wantarray() ? @l : join('', @l);
}