Hey folks, I am in the middle of cleaning up code and moving it to 10.5+ 64bit. For most things it's quite straight forward, but one of the deprecations to get rid of is:
stringWithCString:length cString must not be NULL. cString should contain characters in the default C-string encoding. This method converts length * sizeof(char) bytes from cString and doesn’t stop short at a NULL character. The docs say one should use instead stringWithCString:encoding A C array of bytes. The array must end with a NULL character; intermediate NULL characters are not allowed. But that doesn't look like a real replacement. Shouldn't there be a stringWithCString:length:encoding What am I missing? Pointers? Comments? Suggestions? cheers -- Torsten _______________________________________________ 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com