Re: NSTask autorelease OR retain/release -> SIGBUS
Re: NSTask autorelease OR retain/release -> SIGBUS
- Subject: Re: NSTask autorelease OR retain/release -> SIGBUS
- From: Nick Zitzmann <email@hidden>
- Date: Thu, 3 Apr 2003 16:32:01 -0800
On Thursday, April 3, 2003, at 03:59 PM, Seth Delackner wrote:
NSString* myPath = "/my/binary/path";
Here you're setting an NSString object using a C string.
Try this instead:
NSString *myPath = @"/my/binary/path";
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Building the future and keeping the past alive are one and the same
thing." - Metal Gear Solid 2
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.