1 |
On 14 September 2015 at 23:38, Ulrich Mueller <ulm@g.o> wrote: |
2 |
> Comparison in Algorithm 2 only takes place for the zeroth component |
3 |
> (i.e., "1", for the example above). |
4 |
> |
5 |
> For all following numeric components Algorithm 3 is called. For the |
6 |
> next component, the condition in line 1 is true, so it will remove |
7 |
> trailing zeros (i.e., both "020" and "02" will become "02") and then |
8 |
> it will use stringwise comparison. |
9 |
> |
10 |
> That is, versions 1.020.3 and 1.02.3 will be considered equal. |
11 |
|
12 |
It seems that it may not have been implemented that way . |
13 |
|
14 |
Or am I expecting the wrong things when I read that logic and expect that: |
15 |
|
16 |
emerge --ignore-default-opts -vaO =dev-lang/perl-5.022.0 |
17 |
emerge --ignore-default-opts -vaO =dev-lang/perl-5.0220.0 |
18 |
|
19 |
Should both match dev-lang/perl-5.22.0 ? |
20 |
|
21 |
-- |
22 |
Kent |
23 |
|
24 |
KENTNL - https://metacpan.org/author/KENTNL |