diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-09-19 15:19:26 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-09-19 15:19:26 +0000 |
commit | 16e44fd4f92479d63c28c2cafe45d1105dbcafe8 (patch) | |
tree | d4d1e7b4222180d2e5ba786ef4772c35cacbc301 | |
parent | 05d84ba93633efc5d6c1473bdd41c8e6fa0a8117 (diff) | |
download | rpmdrake-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-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |