aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2010-02-24 05:47:49 +0000
committerThierry Vignaud <tv@mandriva.org>2010-02-24 05:47:49 +0000
commitd80d3abee605d1fe8a091df4fa52af900c4045f1 (patch)
tree203e9586db64143297e5ec7e90f7e265183bd743
parent530a8f15f4e3a7fa79cfebe2142f1eb6a0c9ea0b (diff)
downloadrpmdrake-d80d3abee605d1fe8a091df4fa52af900c4045f1.tar
rpmdrake-d80d3abee605d1fe8a091df4fa52af900c4045f1.tar.gz
rpmdrake-d80d3abee605d1fe8a091df4fa52af900c4045f1.tar.bz2
rpmdrake-d80d3abee605d1fe8a091df4fa52af900c4045f1.tar.xz
rpmdrake-d80d3abee605d1fe8a091df4fa52af900c4045f1.zip
(mainwindow) fix crashing when deleting media with UTF-8 characters (#57644)
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/edit_urpm_sources.pm1
2 files changed, 3 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index c9ea6f5f..87991b6c 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- edit-urpm-sources:
+ o fix crashing when deleting media with UTF-8 characters (#57644)
+
Version 5.24 - 3 December 2009, Thierry Vignaud
- remove --root option that was deprecated since August 2007
diff --git a/Rpmdrake/edit_urpm_sources.pm b/Rpmdrake/edit_urpm_sources.pm
index d23190f4..5d3f01ab 100644
--- a/Rpmdrake/edit_urpm_sources.pm
+++ b/Rpmdrake/edit_urpm_sources.pm
@@ -1112,7 +1112,6 @@ sub mainwindow() {
$list->clear;
foreach (grep { ! $_->{external} } @{$urpm->{media}}) {
my $name = $_->{name};
- c::set_tagged_utf8($name) if utf8::valid($name);
$list->append_set($col{mainw}{is_enabled} => !$_->{ignore},
$col{mainw}{is_update} => ! !$_->{update},
$col{mainw}{type} => get_medium_type($_),