On Mar 21, 2012, at 6:00 PM, Grandinetti Philip wrote:

> I am confused about different behavior I'm seeing with CFData and NSData.    
> If I create a new project in XCode 4.3.1 as a Core Foundation command line 
> tool, and enter the code below…

You've triggered a bug!

And it took me a long time, but I found it. The bug is in 
__CFDataRoundUpCapacity, and has to do with a bad (1 << ….) which should be (1L 
<< …).


I'll file a report.


--
Seth Willits

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to