Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/windirstat/llfio.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-10-14 21:08:11 +0300
committerNiall Douglas (s [underscore] sourceforge {at} nedprod [dot] com) <spamtrap@nedprod.com>2019-10-14 21:08:11 +0300
commitc1bda00d382112db52104748d1f2a9c81ad8288c (patch)
tree519d48bdf60463648422ac72915ececacc275513 /programs
parent733a2f18a2a5a306ec508c28ab4b2e9c80ca2dd3 (diff)
Fix broken programs build due to path view refactor.
Diffstat (limited to 'programs')
-rw-r--r--programs/illegal-codepoints/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/programs/illegal-codepoints/main.cpp b/programs/illegal-codepoints/main.cpp
index d00130d5..a86d0c4c 100644
--- a/programs/illegal-codepoints/main.cpp
+++ b/programs/illegal-codepoints/main.cpp
@@ -6142,7 +6142,7 @@ int main()
buffer[1] = (llfio::filesystem::path::value_type) n;
buffer[2] = 'z';
buffer[3] = 0;
- llfio::path_view leaf(buffer, 3);
+ llfio::path_view leaf(buffer, 3, true);
auto h = llfio::file(testdir, leaf, llfio::file_handle::mode::write, llfio::file_handle::creation::if_needed);
if(h)
{
@@ -6166,7 +6166,7 @@ int main()
auto &entry = entries[n];
if(entry.second == status::created)
{
- if(item.leafname == llfio::path_view(entry.first.data(), 3))
+ if(item.leafname == llfio::path_view(entry.first.data(), 3, true))
{
entry.second = status::found;
break;