Re: ditto in ObjC or C
Re: ditto in ObjC or C
- Subject: Re: ditto in ObjC or C
- From: Bob Ippolito <email@hidden>
- Date: Tue, 3 May 2005 12:42:36 -0400
On May 3, 2005, at 11:23 AM, Finlay Dobbie wrote:
On 5/3/05, Graham J Lee <email@hidden> wrote:
In an off-list discussion with Rémy I suggested looking at the source
code for cp from Darwin 8.0 as it understands resource forks -
mentioned on-list as well as it's relevant :-)
I haven't looked, but I suspect that cp is using the (slightly odd)
fact that the resource fork is exposed as an EA in Darwin 8.0 (or at
least a special case of one). This won't work on pre-Tiger.
Correct, all of the new Darwin 8 utilities use a "copyfile" API that
is present in libSystem, but the header for it doesn't actually ship
with Xcode. See <http://bob.pythonmac.org/archives/2005/05/03/mac-os-
x-104-tigers-copyfile/> for some more information.
-bob
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden