realbasic-nug
[Top] [All Lists]

Re: Two Scary Mac Bugs (just in time for Halloween)

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Two Scary Mac Bugs (just in time for Halloween)
From: Norman Palardy <npalardy@great-white-software.com>
Date: Fri, 31 Oct 2008 13:30:37 -0600
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <1B64814F-C276-4958-8DE3-1B55DDD6C588@declareSub.com>
References: <C5308623.696E4%lists@redcort.com> <6055FFFB-04FC-4C22-9A35-53F60DFC6158@declareSub.com> <31A3CD45-2354-475E-B51E-8BF3509F8D76@great-white-software.com> <1B64814F-C276-4958-8DE3-1B55DDD6C588@declareSub.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com

On 31-Oct-08, at 1:15 PM, Charles Yeomans wrote:

I think that the fact that the value returned by d.Lookup depends on Intel v. PPC is a bug. That CType(43, Int32) and CType(43, Int64) may have different hash values means that the correct return value should be false.

Yes it should behave the same on both platforms (I overlooked that) and that should be a bug report.
My bad :)

But I'm not surprised that an int32 and int64 do not retrieve lookup the same item in the dictionary as their hashes are different (like strings with different encodings)




_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>