Re: 0.01-6 > 0.1-3 ?????
Alan Shutko wrote:
>
> Federico Di Gregorio <fog@initd.org> writes:
>
> > that's right. dpkg compares numbers ... numerically. so 0.01 and 0.1 are
> > equivalent. then -6 > -3.
>
> What exactly do you mean by numerically? Is 0.00001 == 0.01 == 0.1 ==
> 1.0 == 10 == 100000? What should be watched out for?
>
point in versions is not decimal separator, but major or minor version
separator. So
0.00001 == 0.01 == 0.1
all means
major version=0
first minor version=1
but not equal to 1.0, which would mean
major version=1
first minor version=0
and also different to 10 or 100000, which would just mean major versions
10 or 100000
Cheers,
--
=====================================================================
Agustin Martin Domingo, Dpto. de Fisica, ETS Arquitectura Madrid,
(U. Politecnica de Madrid) tel: +34 91-336-6536, Fax: +34 91-336-6554,
email:agmartin@aq.upm.es, http://corbu.aq.upm.es/~agmartin/welcome.html
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: