Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Jun 2004 11:57:24 +0400
From:      Sergey Matveychuk <sem@ciam.ru>
To:        Chuck Swiger <cswiger@mac.com>
Cc:        Oliver Eikemeier <eikemeier@fillmore-labs.com>
Subject:   Re: Ports with version numbers going backwards: devel/ode
Message-ID:  <40E120E4.60201@ciam.ru>
In-Reply-To: <40E05CBE.40507@mac.com>
References:  <5BD6716A-C917-11D8-9FE1-00039312D914@fillmore-labs.com> <40E05CBE.40507@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Swiger wrote:

> Consider perl-5.006 versus perl-5.6.  Should they be equal, or should 

It's consequence of old perl's crazy version scheme.

> Sergy is saying .006 < .6, or ought to be, rather than equal.  Basicly, 
> use the presence of a leading zero to indicate the version # should be 
> considered via a decimal math comparision, rather than "version # as 
> integer counter".

I thought so first. But now I see we can't do a decimal math comparision 
because of ending zeros significance.

Example: .006 < .0060 < .06 < .6 < .60

If there is a zero in version number, we can't drop it. Neither leading 
one nor ending one.

-- 
Sem.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40E120E4.60201>