Skip to content

Commit

Permalink
Merge pull request #14 from MacroModel/trcrsired-master
Browse files Browse the repository at this point in the history
fix nt filesystem
  • Loading branch information
MacroModel authored Nov 8, 2024
2 parents bae8b8d + 78fce39 commit 828db91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fast_io_hosted/filesystem/nt.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ inline nt_dirent *set_nt_dirent(nt_dirent *entry, bool start)
::std::byte buffer[ul32_buffer_size];
::fast_io::win32::nt::dir_information d_info{buffer};
auto status{nt_query_directory_file<(family == nt_family::zw)>(entry->d_handle, nullptr, nullptr, nullptr, __builtin_addressof(block), d_info.DirInfo, ul32_buffer_size,
file_information_class::FileFullDirectoryInformation, true, nullptr, start)};
file_information_class::FileIdFullDirectoryInformation, true, nullptr, start)};
if (status)
{
if (status == 2147483654) [[likely]]
Expand Down

0 comments on commit 828db91

Please sign in to comment.