Re: copyfile(3) recursively with COPYFILE_RECURSIVE ?
Re: copyfile(3) recursively with COPYFILE_RECURSIVE ?
- Subject: Re: copyfile(3) recursively with COPYFILE_RECURSIVE ?
- From: Jerry Krinock <email@hidden>
- Date: Sun, 25 Jul 2010 22:20:02 -0700
Although COPYFILE_RECURSIVE is not defined in my system headers (10.6.3), I looked at the published open-source code [1]. There are three versions there: 41, 42 and 66. Although the headers in versions 41 and 42 look like the headers on my system, version 66 defines COPYFILE_RECURSIVE as (1<<15). And when I use this in my tool, voila -- it works, but only on Mac OS 10.6. Running on Mac OS 10.5, it only copies the folder.
On 2010 Jul 25, at 20:51, Michael Smith wrote:
> As always with an issue like this, please file a bug and cite the bug number when you post to the list.
Yes I shall file a bug, but I'm going to wait a couple days first, to see if anyone offers an explanation. Having written a file-copy program once myself, I find it hard to believe that the new header with the flag to make it recursive had been left out of the headers *accidentally*.
[1] http://www.opensource.apple.com/source/copyfile/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden