[Bug libstdc++/70609] std::experimental::filesystem::copy fails if the file size is 0 bytes

2016-04-09 Thread fruko_eto at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70609 --- Comment #1 from furkan --- Also worth to note that I've tested a similar program with Boost::Filesystem, QFile and Poco::File they all worked, so I don't think there is a system-related bug

[Bug libstdc++/70609] New: std::experimental::filesystem::copy fails if the file size is 0 bytes

2016-04-09 Thread fruko_eto at hotmail dot com
Priority: P3 Component: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: fruko_eto at hotmail dot com Target Milestone: --- #include #include int main() { std::ofstream o("1.txt"); o.close(); std::experimental::filesystem::c