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

Re: 0.01-6 > 0.1-3 ?????

Hi Firewall :P

> Ive read that a few times and still dont think i undersstand it properly,
> can someone rephrase it in laymans terms ?
> I cant see any way of interpreting the policy in which 0.1 == 0.01, 0 is a
> digit which still has to be compared, it looks to me like it has to be a
> bug in dpkg.

no, it means you split up the string into individual parts separated by
the non-digit characters (. - etc)

For each part *individually* you compare the numeric values.

So,  3.01-4 is split up into '3', '01', '4'

so, for 0.1 and 0.01 you are comparing 01 to 1, which are obviously 
the same.  


Attachment: pgpT5fAOJ6_3h.pgp
Description: PGP signature

Reply to: