[Bug libstdc++/93244] std::filesystem::path::generic_string doesn't convert the first slash on Windows

marxin at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue May 12 08:15:10 GMT 2020


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93244

--- Comment #14 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to CVS Commits from comment #13)
> The master branch has been updated by Martin Liska <marxin@gcc.gnu.org>:
> 
> https://gcc.gnu.org/git/gitweb.cgi?p=gcc.git;
> h=af213b4c4ca30e55de64f8b1e0bf442df08f3e6d
> 
> commit r10-5851-gaf213b4c4ca30e55de64f8b1e0bf442df08f3e6d
> Author: Jonathan Wakely <jwakely@redhat.com>
> Date:   Mon Jan 13 10:02:39 2020 +0000
> 
>     libstdc++: Ensure root-dir converted to forward slash (PR93244)
>     
>             PR libstdc++/93244
>             * include/bits/fs_path.h (path::generic_string<C,A>)
>             [_GLIBCXX_FILESYSTEM_IS_WINDOWS]: Convert root-dir to
> forward-slash.
>             * testsuite/27_io/filesystem/path/generic/generic_string.cc:
> Check
>             root-dir is converted to forward slash in generic pathname.
>             * testsuite/27_io/filesystem/path/generic/utf.cc: New test.
>             * testsuite/27_io/filesystem/path/generic/wchar_t.cc: New test.

Please ignore this message, it comes from a testing script.


More information about the Gcc-bugs mailing list