Commit aa205508 authored by mkanat%bugzilla.org's avatar mkanat%bugzilla.org

Bug 344915: Non-installed modules are reported incorrectly

Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, r=LpSolit, a=justdave
parent 47a9a892
...@@ -152,8 +152,8 @@ sub vers_cmp { ...@@ -152,8 +152,8 @@ sub vers_cmp {
my ($a, $b) = @_; my ($a, $b) = @_;
# Remove leading zeroes - Bug 344661 # Remove leading zeroes - Bug 344661
$a =~ s/^0*(.*)/$1/; $a =~ s/^0*(\d.+)/$1/;
$b =~ s/^0*(.*)/$1/; $b =~ s/^0*(\d.+)/$1/;
my @A = ($a =~ /([-.]|\d+|[^-.\d]+)/g); my @A = ($a =~ /([-.]|\d+|[^-.\d]+)/g);
my @B = ($b =~ /([-.]|\d+|[^-.\d]+)/g); my @B = ($b =~ /([-.]|\d+|[^-.\d]+)/g);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment