[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:
>>> 126.96.36.199 has been included on CD2, but it hasn't yet been officially
>>> so it isn't on pbidir.
>>> Since 188.8.131.52 != 184.108.40.206, it registers an update available :)
>> Thanks Tim. I see, but isn't it a PBI Updater bug then? Like change
>> 220.127.116.11 != 18.104.22.168 to 22.214.171.124 > 126.96.36.199 ?
>> Then it sees 188.8.131.52 isn't greater than 184.108.40.206 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 220.127.116.11 != 18.104.22.168, then it assumes it needs to
> update to 22.214.171.124.
> 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
126.96.36.199 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