aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/formatting.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2007-09-10 16:53:02 +0000
committerThierry Vignaud <tv@mandriva.org>2007-09-10 16:53:02 +0000
commita29fa866dbb7dfa41a18da4d636639fb39634b72 (patch)
tree6525d6f41575774d8b17e4355c76f6839aa0726c /Rpmdrake/formatting.pm
parent9baa2fb0728794eaccc785570fd8a48523e75773 (diff)
downloadrpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.tar
rpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.tar.gz
rpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.tar.bz2
rpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.tar.xz
rpmdrake-a29fa866dbb7dfa41a18da4d636639fb39634b72.zip
(rpm_summary) kill it; since perl-URPM-1.56, perl knows that strings from rpm
headers are UTF-8, thus fixing a crash (#33283)
Diffstat (limited to 'Rpmdrake/formatting.pm')
-rw-r--r--Rpmdrake/formatting.pm8
1 files changed, 1 insertions, 7 deletions
diff --git a/Rpmdrake/formatting.pm b/Rpmdrake/formatting.pm
index 567855dc..0da48a43 100644
--- a/Rpmdrake/formatting.pm
+++ b/Rpmdrake/formatting.pm
@@ -33,15 +33,9 @@ use ugtk2 qw(escape_text_for_TextView_markup_format);
use Exporter;
our @ISA = qw(Exporter);
-our @EXPORT = qw(format_field format_header localtime2changelog my_fullname pkg2medium rpm_description rpm_summary split_fullname urpm_name);
+our @EXPORT = qw(format_field format_header localtime2changelog my_fullname pkg2medium rpm_description split_fullname urpm_name);
-sub rpm_summary {
- my ($summary) = @_;
- utf8::decode($summary) if !utf8::is_utf8($summary);
- $summary;
-}
-
sub rpm_description {
my ($description) = @_;
utf8::decode($description);