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.
Showing
- libstdc++-v3/ChangeLog 8 additions, 0 deletionslibstdc++-v3/ChangeLog
- libstdc++-v3/include/bits/fs_path.h 7 additions, 0 deletionslibstdc++-v3/include/bits/fs_path.h
- libstdc++-v3/testsuite/27_io/filesystem/path/generic/generic_string.cc 11 additions, 0 deletions...testsuite/27_io/filesystem/path/generic/generic_string.cc
- libstdc++-v3/testsuite/27_io/filesystem/path/generic/utf.cc 64 additions, 0 deletionslibstdc++-v3/testsuite/27_io/filesystem/path/generic/utf.cc
- libstdc++-v3/testsuite/27_io/filesystem/path/generic/wchar_t.cc 64 additions, 0 deletions...c++-v3/testsuite/27_io/filesystem/path/generic/wchar_t.cc
Loading
Please register or sign in to comment