>>>>> On Mon, 14 Sep 2015, Kent Fredric wrote:

> On 14 September 2015 at 23:38, Ulrich Mueller <u...@gentoo.org> wrote:
>> That is, versions 1.020.3 and 1.02.3 will be considered equal.

> It seems that it may not have been implemented that way .

> Or am I expecting the wrong things when I read that logic and expect that:

>  emerge --ignore-default-opts -vaO =dev-lang/perl-5.022.0
>  emerge --ignore-default-opts -vaO =dev-lang/perl-5.0220.0

> Should both match dev-lang/perl-5.22.0 ?

No, 5.022.0 and 5.0220.0 are equal to each other, but they are not
equal to 5.22.0. Algorithm 3 will remove any trailing zeros of the
component, so you'll end up with "022", "022". and "22", which are
compared using stringwise comparison.

Ulrich

Attachment: pgp5YJzKOz0J9.pgp
Description: PGP signature

Reply via email to