This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/83279] std::experimental::filesystem::copy_file can't copy larger files than 2.0GiB
- From: "redi at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 14 Dec 2017 20:47:10 +0000
- Subject: [Bug libstdc++/83279] std::experimental::filesystem::copy_file can't copy larger files than 2.0GiB
- Auto-submitted: auto-generated
- References: <bug-83279-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83279
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> ---
"sendfile() will transfer at most 0x7ffff000 (2,147,479,552) bytes, returning
the number of bytes actually transferred. (This is true on both 32-bit and
64-bit systems.)"
Oops.