mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-23 18:26:15 +00:00
Bug 344915: Non-installed modules are reported incorrectly
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=colin, r=LpSolit, a=justdave
This commit is contained in:
parent
05e9335fb1
commit
59339f08d8
@ -152,8 +152,8 @@ sub vers_cmp {
|
||||
my ($a, $b) = @_;
|
||||
|
||||
# Remove leading zeroes - Bug 344661
|
||||
$a =~ s/^0*(.*)/$1/;
|
||||
$b =~ s/^0*(.*)/$1/;
|
||||
$a =~ s/^0*(\d.+)/$1/;
|
||||
$b =~ s/^0*(\d.+)/$1/;
|
||||
|
||||
my @A = ($a =~ /([-.]|\d+|[^-.\d]+)/g);
|
||||
my @B = ($b =~ /([-.]|\d+|[^-.\d]+)/g);
|
||||
|
Loading…
Reference in New Issue
Block a user