Re: dpkg doing wrong math (0.09 = 0.9) ?-
"Roberto C. Sanchez" <firstname.lastname@example.org> 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 |