*To*: debian-devel@lists.debian.org*Subject*: Re: dpkg doing wrong math (0.09 = 0.9) ?-*From*: Ben Finney <bignose+hates-spam@benfinney.id.au>*Date*: Fri, 11 Aug 2006 18:00:29 +1000*Message-id*: <[🔎] 874pwjya5e.fsf@benfinney.id.au>*References*: <20060808235835.GA19278@lapse.madduck.net> <[🔎] 87mzae1a7d.fsf@mid.deneb.enyo.de> <[🔎] 44DBBD7B.8020909@teco.edu> <[🔎] 20060810232940.GA6592@chistera.yi.org> <[🔎] 20060810234736.GG17235@miami.connexer.com> <[🔎] 20060811002104.GA6951@chistera.yi.org> <[🔎] 20060811003747.GH17235@miami.connexer.com>

"Roberto C. Sanchez" <roberto@familiasanchez.net> writes: > On Fri, Aug 11, 2006 at 02:21:04AM +0200, Adeodato Simó wrote: > > * Roberto C. Sanchez [Thu, 10 Aug 2006 19:47:36 -0400]: > > > > > Except that the final comparison ignores that the number was to > > > the right of the decimal, making the zero significant. > > > > Er, read Policy 5.6.12. > > > I have read it. I was simply speaking from a mathematical perspective. It's still right from a mathematical perspective. The integers within two version numbers are compared in sequence. Leading zeros are insignificant for integers. A '.' character doesn't mean "decimal point" in a version number; Policy 5.6.12 explains what it does mean. -- \ "If it ain't bust don't fix it is a very sound principle and | `\ remains so despite the fact that I have slavishly ignored it | _o__) all my life." -- Douglas Adams | Ben Finney

**References**:**Re: dak now supports ~ in version numbers***From:*Florian Weimer <fw@deneb.enyo.de>

**dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*Michael Biebl <biebl@teco.edu>

**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*Adeodato Simó <dato@net.com.org.es>

**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*"Roberto C. Sanchez" <roberto@familiasanchez.net>

**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*Adeodato Simó <dato@net.com.org.es>

**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]***From:*"Roberto C. Sanchez" <roberto@familiasanchez.net>

- Prev by Date:
**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]** - Next by Date:
**Re: dpkg doing wrong math (0.09 = 0.9) ?-** - Previous by thread:
**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]** - Next by thread:
**Re: dpkg doing wrong math (0.09 = 0.9) ?- [was: dak now supports ~ in version numbers]** - Index(es):