llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.members
Martin Storsjö f15377084c [libcxx] [test] Use string().c_str() to convert a std::filesystem::path to a const char*
On Windows, path::value_type is wchar_t, so one can't pass the return
value of path::c_str() directly to std::remove().

This matches what was done for tests under std/input.output/filesystems
in 81db3c31aa and
3784bdf217.

Differential Revision: https://reviews.llvm.org/D97458
2021-02-26 00:10:47 +02:00
..
close.pass.cpp [libc++] Set __file_ to 0 in basic_filebuf::close() even if fclose fails 2019-07-22 19:54:34 +00:00
open_path.pass.cpp [libcxx] [test] Use string().c_str() to convert a std::filesystem::path to a const char* 2021-02-26 00:10:47 +02:00
open_pointer.pass.cpp Add include for 'test_macros.h' to all the tests that were missing them. Thanks to Zoe for the (big, but simple) patch. NFC intended. 2019-05-31 18:35:30 +00:00