Re: Cocoa-dev Digest, Vol 6, Issue 1355
Re: Cocoa-dev Digest, Vol 6, Issue 1355
- Subject: Re: Cocoa-dev Digest, Vol 6, Issue 1355
- From: dct <email@hidden>
- Date: Tue, 22 Sep 2009 14:21:11 -0700
On Sep 21, 2009, Greg Guerin wrote:
How do you know the original file at path0 contained several thousand
bytes?
Because I put them there:
[hndl0 writeData:[NSData dataWithBytes:buffer length:lngth]];
and checked them:
bytes = [hndl0 seekToEndOfFile];
Is there a possibility it was a file with an empty data-fork but a
non-empty resource fork?
I don't think so given that seekToEndOFile worked as expected.
Also, if the old code ran without any problem, why change it?
-- GG
There's the rub. The original code used methods that are now
deprecated.
Don
_______________________________________________
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