Re: [PATCH] Five patches for std::experimental::filesystem

2016-11-12 Thread Jonathan Wakely
On 10/11/16 17:29 +, Chris Fairles wrote: "cannot check is file is empty" -> *if This patch fixes the typo. I haven't looked at the failure yet. Will commit to trunk shortly. commit 9882c567342019c9561b44e611af9d42cdf23f3b Author: Jonathan Wakely Date: Sat Nov 12 20:14:07 2016 +

Re: [PATCH] Five patches for std::experimental::filesystem

2016-11-04 Thread Christophe Lyon
On 2 November 2016 at 10:09, Christophe Lyon wrote: > On 27 October 2016 at 15:34, Jonathan Wakely wrote: >> On 26/10/16 09:24 +0200, Christophe Lyon wrote: >>> >>> Hi Jonathan, >>> >>> On 25 October 2016 at 17:32, Jonathan Wakely wrote: Two more fixes for the filesystem TS, and improv

Re: [PATCH] Five patches for std::experimental::filesystem

2016-11-02 Thread Christophe Lyon
On 27 October 2016 at 15:34, Jonathan Wakely wrote: > On 26/10/16 09:24 +0200, Christophe Lyon wrote: >> >> Hi Jonathan, >> >> On 25 October 2016 at 17:32, Jonathan Wakely wrote: >>> >>> Two more fixes for the filesystem TS, and improved tests. >>> >>> Handle negative times in filesystem::last_

Re: [PATCH] Five patches for std::experimental::filesystem

2016-10-27 Thread Jonathan Wakely
On 26/10/16 09:24 +0200, Christophe Lyon wrote: Hi Jonathan, On 25 October 2016 at 17:32, Jonathan Wakely wrote: Two more fixes for the filesystem TS, and improved tests. Handle negative times in filesystem::last_write_time * src/filesystem/ops.cc (last_write_time(const pat

Re: [PATCH] Five patches for std::experimental::filesystem

2016-10-26 Thread Jonathan Wakely
On 24/10/16 17:50 +0100, Jonathan Wakely wrote: Make directory iterators become end iterator on error * src/filesystem/dir.cc (open_dir): Return same value for errors whether ignored or not. (_Dir::advance(error_code*, directory_options)): Return false on error. (d

Re: [PATCH] Five patches for std::experimental::filesystem

2016-10-26 Thread Christophe Lyon
Hi Jonathan, On 25 October 2016 at 17:32, Jonathan Wakely wrote: > Two more fixes for the filesystem TS, and improved tests. > > Handle negative times in filesystem::last_write_time > * src/filesystem/ops.cc >(last_write_time(const path&, file_time_type, error_code&)): Handle

Re: [PATCH] Five patches for std::experimental::filesystem

2016-10-25 Thread Jonathan Wakely
Two more fixes for the filesystem TS, and improved tests. Handle negative times in filesystem::last_write_time * src/filesystem/ops.cc (last_write_time(const path&, file_time_type, error_code&)): Handle negative times correctly. * testsuite/experimental/filesyst

[PATCH] Five patches for std::experimental::filesystem

2016-10-24 Thread Jonathan Wakely
These implement DR resolutions and fix bugs. Fix error handling in filesystem::is_empty * src/filesystem/ops.cc (is_empty): Fix error handling. * testsuite/experimental/filesystem/operations/is_empty.cc: New test. PR71337 fix filesystem::temp_directory_path error handlin