Permalink
Browse files
sip_copy_proc: Avoid COPYFILE_CLONE
Apple broke the copyfile(3) interface with macOS 10.13.3 High Sierra as there is no way any more to make it follow symlinks when COPYFILE_CLONE is used. According to rdar://problem/36469208 this change was intentional. Instead of adding more conditionals to check whether the file to clone is actually a symlink, just do not attempt to clone it at all but make a normal copy. This will usually only take a few megabytes of disk space anyway. Closes: https://trac.macports.org/ticket/55575 (cherry picked from commit 995dde8)
- Loading branch information