Re: [ NSKeyedArchiver ] archiveRootObject:toFile: hoses my directory's permissions
Re: [ NSKeyedArchiver ] archiveRootObject:toFile: hoses my directory's permissions
- Subject: Re: [ NSKeyedArchiver ] archiveRootObject:toFile: hoses my directory's permissions
- From: Greg Guerin <email@hidden>
- Date: Sat, 30 May 2009 15:46:55 -0700
Erg Consultant wrote:
BOOL flushed = NO;
What purpose does this variable serve?
pathUtils = [ [ mypathUtils alloc ] init ];
Post the code for this class's alloc and init.
registryFileFullPath = [ pathUtils registryFileFullPath ];
Post the code for the registryFileFullPath method.
When run, what is the actual value of registryFileFullPath at this
point in time?
For the actual pathname, do all the directories leading up to it
exist? Are they searchable (have x bit set)? Is the last one writable?
What userid is the process running as?
if( lastFlushTime )
{
[ lastFlushTime release ];
}
Conditional structures like this are unnecessary: nil is a valid
receiver of the release message. This differs from many other
languages, where nil (or null, or NULL) represents an invalid
reference which must not be messaged or dereferenced.
-- GG
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden