Re: copyfile(3) recursively with COPYFILE_RECURSIVE ?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Jerry Krinock