https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93244
Martin Liška <marxin at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marxin at gcc dot gnu.org --- Comment #12 from Martin Liška <marxin at gcc dot gnu.org> --- commit r9-8365-g362c8772e7779d9e4730e2e51628ccaadce98bd0 Author: Jonathan Wakely <jwak...@redhat.com> Date: Thu Mar 12 17:39:04 2020 +0000 libstdc++: Ensure root-dir converted to forward slash (PR93244) Backport from mainline 2020-01-13 Jonathan Wakely <jwak...@redhat.com> 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.