[PC-BSD Testing] Friday 8th build
bigboss64 at ippimail.com
Sat Sep 8 14:27:48 PDT 2007
Kris Moore wrote:
> Charles A. Landemaine wrote:
>> On Sat, September 8, 2007 11:23 am, Tim McCormick wrote:
>>> 188.8.131.52 has been included on CD2, but it hasn't yet been officially
>>> so it isn't on pbidir.
>>> Since 184.108.40.206 != 220.127.116.11, it registers an update available :)
>> Thanks Tim. I see, but isn't it a PBI Updater bug then? Like change
>> 18.104.22.168 != 22.214.171.124 to 126.96.36.199 > 188.8.131.52 ?
>> Then it sees 184.108.40.206 isn't greater than 220.127.116.11 and it says there's no
>> Just my 2 pence :)
> It actually just returns what the "current" version on PBIDir is
> supposed to be, so if 18.104.22.168 != 22.214.171.124, then it assumes it needs to
> update to 126.96.36.199.
> I'm not sure how we'd want to fix this, what about when the version
> number is something like 1.0.0rc1.b1004 or something? :)
How is it done???
You can't really compare floating point numbers 100% reliably any way and I
don't know of any suitable method if doing <= and >= for strings in any common
Personally, I'd say just make it a simple version number, e.g. 2005 instead of
188.8.131.52 since it's much easier to compare agasn't any other version. That way
you can stuff the version into a variable and treat it as an integer for
My 2 cents.
Email and shopping with the feelgood factor!
55% of income to good causes. http://www.ippimail.com
More information about the Testing