Re: [v3 patch] Fix some Filesystem TS operations

2015-05-20 Thread Jonathan Wakely
On 15/05/15 19:37 +0100, Jonathan Wakely wrote: Testing revealed a few bugs in how I handled paths that don't exist. The new __gnu_test::nonexistent_path() function is a bit hacky but should be good enough for the testsuite. This makes it even hackier but avoids linker warnings for using the

[v3 patch] Fix some Filesystem TS operations

2015-05-15 Thread Jonathan Wakely
Testing revealed a few bugs in how I handled paths that don't exist. The new __gnu_test::nonexistent_path() function is a bit hacky but should be good enough for the testsuite. I've also made filesystem::temp_directory_path() check the TMP, TEMPDIR and TEMP environment variables, as suggested in

Re: [v3 patch] Fix some Filesystem TS operations

2015-05-15 Thread Jonathan Wakely
On 15/05/15 19:37 +0100, Jonathan Wakely wrote: I've also made filesystem::temp_directory_path() check the TMP, TEMPDIR and TEMP environment variables, as suggested in [fs.op.temp_dir_path] at http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2014/n4099.html#fs.op.temp_dir_path rather than my