problem closing file handle
problem closing file handle
- Subject: problem closing file handle
- From: Daniel Luis dos Santos <email@hidden>
- Date: Fri, 8 Feb 2008 12:26:58 +0000
Hello,
I have the following code :
- (int)useArchive: (NSString*)path {
if (nil == path)
return -1;
NSFileHandle *fileHandle = [NSFileHandle
fileHandleForReadingAtPath: path];
if (nil == fileHandle)
return -1;
[fileHandle closeFile];
...
When I run it, while stepping through the closing of the file handle,
the gdb window shows the
error :
2008-02-08 11:56:09.166 TesterBundleDebugger[408] *** -[NSCFArray
appendString:]: selector not recognized [self = 0x30a9a0]
2008-02-08 11:56:09.167 TesterBundleDebugger[408] *** Uncaught
exception: <NSInvalidArgumentException> *** -[NSCFArray
appendString:]: selector not recognized [self = 0x30a9a0]
I don't understand what is happening.
Help me.
_______________________________________________
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