Re: Did i just made the fastest dependency checker in the world? (198 packages in 1.5 seconds)

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

 



On Tuesday 10 April 2007 16:01:53 Mark wrote:
> the result on my php (5.2.1) is: "see, 5.00504 is smaller than 5.6 like i
> said" and "see, they 1.1 is not equal to 1.01"
> those are the facts that are gonna be used in the dep checker. though i
> will probably need to break the recursive loop quite a few time if those
> strange version numbers like 1.1b2 occur...
> so jesse... how is your math going? ;)

Perhaps you're not getting it.  RPM does not compare things such as "5.00504" 
vs "5.6", rather it breaks each part separated by a period into an individual 
item and compares those items.  In effect, it compares 5 to 5, then 00504 to 
6.  Given that 00504 (which is really 504) is a larger number than 6 (or 
00006 if you rather), the 5.00504 package is rpm newer than the 5.6 package.

-- 
Jesse Keating
Release Engineer: Fedora

Attachment: pgpXmsl44vPtU.pgp
Description: PGP signature

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux