[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: dpkg doing wrong math (0.09 = 0.9) ?-



also sprach Adam Borowski <kilobyte@angband.pl> [2006.08.11.0931 +0100]:
> Uhm, where does the "0" come from?  This is grossly unintuitive, and I would
> consider this a bug.  Both strings parse as follows:
> 
> "1."  => "", 1, "."
> "1.0" => "", 1, ".", 0

actually, you forgot the trailing ""

> And another bug: "2a.0" is _lesser_ than "2.0"!  This works as
> documented, but is totally against lexicography, expectations and
> common sense.

I'll shoot anyone who uses such a version number. :)

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <madduck@debian.org>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
"we all know linux is great...
 it does infinite loops in 5 seconds."
                                                     -- linus torvalds

Attachment: signature.asc
Description: Digital signature (GPG/PGP)


Reply to: