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 (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

Reply via email to