Skip navigation.
 
mlRe: Methods with Variable Numbers of Arguments
FROM : matt neuburg
DATE : Tue Dec 17 23:02:25 2002

On 12/17/02 at roughly 3:30 PM, thus spake Joe Osborn <<email_removed>>:

>I'm just not sure where it could happen... I'm invoking the method like
>this:
>
>    OSBlock * block = [OSBlock blockWithString:@"[self workEffectively];
>return [NSData class];" nouns:self, [NSData class]];
>
>So I don't see how anything could happen to the string constant I feed.


I didn't say it was *that* string. I said it was *a* string. When there's a retain error and a string vanishes, string pointers can shift down and start pointing at the wrong thing. Sometimes it's another string. Sometimes it's garbage. m.

matt neuburg, phd = <email_removed>, http://www.tidbits.com/matt
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlMethods with Variable Numbers of Arguments Joe Osborn Dec 14, 23:56
mlRe: Methods with Variable Numbers of Arguments Joe Osborn Dec 15, 00:17
mlRe: Methods with Variable Numbers of Arguments matt neuburg Dec 17, 18:38
mlRe: Methods with Variable Numbers of Arguments Joe Osborn Dec 17, 22:30
mlRe: Methods with Variable Numbers of Arguments matt neuburg Dec 17, 23:02
mlRe: Methods with Variable Numbers of Arguments Joe Osborn Dec 18, 05:04