aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-19 15:19:26 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-09-19 15:19:26 +0000
commit16e44fd4f92479d63c28c2cafe45d1105dbcafe8 (patch)
treed4d1e7b4222180d2e5ba786ef4772c35cacbc301
parent05d84ba93633efc5d6c1473bdd41c8e6fa0a8117 (diff)
downloadrpmdrake-16e44fd4f92479d63c28c2cafe45d1105dbcafe8.tar
rpmdrake-16e44fd4f92479d63c28c2cafe45d1105dbcafe8.tar.gz
rpmdrake-16e44fd4f92479d63c28c2cafe45d1105dbcafe8.tar.bz2
rpmdrake-16e44fd4f92479d63c28c2cafe45d1105dbcafe8.tar.xz
rpmdrake-16e44fd4f92479d63c28c2cafe45d1105dbcafe8.zip
Fix bug 18617, alphabetical sort perturbed by locale
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 6525abff..badc838a 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -654,7 +654,7 @@ or you already installed all of them."));
my $pkgs_times = 'rpm -q --qf "%{name}-%{version}-%{release} %{installtime}\n" `urpmi_rpm-find-leaves`';
sort { $b->[1] <=> $a->[1] } grep { exists $pkgs->{$_->[0]} } map { [ split ] } `$pkgs_times`;
},
- flat => sub { sort { uc($a->[0]) cmp uc($b->[0]) } @_ },
+ flat => sub { no locale; sort { uc($a->[0]) cmp uc($b->[0]) } @_ },
by_medium => sub { sort { $a->[2] <=> $b->[2] || uc($a->[0]) cmp uc($b->[0]) } @_ },
);
if ($flat) {