From 280a8590f98bfddbeaef3798b20512e028d99d31 Mon Sep 17 00:00:00 2001 From: Steffen Schuemann Date: Sun, 5 May 2019 09:28:03 +0200 Subject: [PATCH] Version bump, bugfix release v1.1.2 --- README.md | 10 ++++++---- include/ghc/filesystem.hpp | 2 +- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index bda1923..a7d251a 100644 --- a/README.md +++ b/README.md @@ -291,18 +291,20 @@ between this and the standard C++17 API. ### LWG Defects This implementation has switchable behavior for the LWG defects +[#2682](https://wg21.cmeerw.net/lwg/issue2682), [#2935](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2935) and [#2937](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2937). The currently selected behavior is following +[#2682](https://wg21.cmeerw.net/lwg/issue2682), [#2937](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2937) but not following [#2935](http://www.open-std.org/jtc1/sc22/wg21/docs/lwg-defects.html#2935), as I feel it is a bug to report no error on a `create_directory()` or `create_directories()` where a regular file of the same name prohibits the creation of a directory and forces the user of those functions to double-check via `fs::is_directory` if it really worked. - -Update: The more intuitive approach to directory creation of treating a file with that name as an +The more intuitive approach to directory creation of treating a file with that name as an error is also advocated by the newer paper -[WG21 P1164R0](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1164r0.pdf) +[WG21 P1164R0](http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p1164r0.pdf), the revison +P1161R1 was agreed upon on Kona 2019 meeting [see merge](https://github.com/cplusplus/draft/issues/2703) and GCC by now switched to following its proposal ([GCC #86910](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86910)). @@ -437,7 +439,7 @@ to the expected behavior. ## Release Notes -### v1.1.2 (wip) +### [v1.1.2](https://github.com/gulrak/filesystem/releases/tag/v1.1.2) * Bugfix for ([#11](https://github.com/gulrak/filesystem/issues/11)), `fs::path::lexically_normal()` had some issues with `".."`-sequences. diff --git a/include/ghc/filesystem.hpp b/include/ghc/filesystem.hpp index 3657df7..39c1361 100644 --- a/include/ghc/filesystem.hpp +++ b/include/ghc/filesystem.hpp @@ -159,7 +159,7 @@ //- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - // ghc::filesystem version in decimal (major * 10000 + minor * 100 + patch) -#define GHC_FILESYSTEM_VERSION 10101L +#define GHC_FILESYSTEM_VERSION 10102L namespace ghc { namespace filesystem {