Revert using fcopyfile(3) to implement sys::fs::copy_file(Twine, int) on macOS
authorAdrian Prantl <aprantl@apple.com>
Wed, 24 Apr 2019 19:08:43 +0000 (19:08 +0000)
committerAdrian Prantl <aprantl@apple.com>
Wed, 24 Apr 2019 19:08:43 +0000 (19:08 +0000)
commitc90ff5e123c5d759697b866a75594d465a8a0591
treefe52558d74d3d2f592ee224a78d619b2489a0276
parent91cee68e1f0fe3aa22513af6fa6d7308150bcfc9
Revert using fcopyfile(3) to implement sys::fs::copy_file(Twine, int) on macOS

It turns out that I mesread the man page and fcopyfile(3) does not
actually support COPYFILE_CLONE for files.

<rdar://problem/50148757>

llvm-svn: 359127
llvm/lib/Support/Path.cpp
llvm/lib/Support/Unix/Path.inc