Re: [PATCH] libstdc++/71038 fix error checks in filesystem::copy_file

2016-05-10 Thread Jonathan Wakely
On 10/05/16 17:40 +0200, Jacques du Rand wrote: How do i unsubscribe? The same way you subscribed, or by looking at the headers of mails from the list, or by using the form at https://gcc.gnu.org/lists.html

[PATCH] libstdc++/71038 fix error checks in filesystem::copy_file

2016-05-10 Thread Jonathan Wakely
This is a very silly error, but only shows up when !_GLIBCXX_USE_SENDFILE so I missed it. PR libstdc++/71038 * src/filesystem/ops.cc (do_copy_file): Fix backwards conditions. * testsuite/experimental/filesystem/operations/copy_file.cc: New test. Tested x86_64-linux and x8