[libcxx-commits] [libcxx] [libc++] use copy_file_range for fs::copy (PR #109211)

Jannik Glückert via libcxx-commits libcxx-commits at lists.llvm.org
Mon Jan 6 15:54:43 PST 2025


Jannik2099 wrote:

> Looks like on linux this code must compile with _FILE_OFFSET_BITS 64

largefile handling isn't that simple on linux sadly, especially once multiple libcs are involved.

I've changed it to just use the linux-specific `loff_t`, which is also what we did for libstdc++. See the linked PR

https://github.com/llvm/llvm-project/pull/109211


More information about the libcxx-commits mailing list