Tomasz Kalisiak

Results 29 comments of Tomasz Kalisiak

> Perhaps if it's not adding more files, and not returning no-more-files, it should double the buffer and retry? The buffer does not seem to be full. I made it...

Here is my test folder. Let me know if you can reproduce the issue. https://mega.nz/file/tRc3HBKZ#iIHjyBU3fzdeLfc2hPx9n4qxuH68jKD33Pn6tBUSv20

``` System type 64-bit operating system, x64-based processor Edition Windows 10 Education Version 22H2 Installed on ‎26/‎10/‎2020 OS build 19045.4651 Experience Windows Feature Experience Pack 1000.19060.1000.0 ``` The filesystem is...

Here is my full code: https://github.com/Bobini1/RhythmGame/blob/b3adb12b0dc5656db21a570d26fd9df8bec7d5bc/src/resource_managers/SongDbScanner.cpp

Upon further investigation: - `total_items` is 735, despite the folder containing 733 files (edit: it contains `.` and `..`). The required buffer size calculated by llfio is 83880. - The...

Is it reasonable to expect to always be able fetch all directory entries at once? NTFS supports up to UINT_MAX in a folder, right? You wouldn't be able to read...

Yes, it is a 64-bit exe: ``` PE signature found File Type: EXECUTABLE IMAGE FILE HEADER VALUES 8664 machine (x64) 8 number of sections 66A7B04C time date stamp Mon Jul...

Alright, I'll try it out today. 👍

Tested! Unfortunately, the problem persists. The main change in `read` seems to be this: `if((NTSTATUS) 0x80000006l /*STATUS_NO_MORE_FILES*/ == ntstat || ntstat < 0 || (buffer_->FileNameLength == 0 && buffer_->NextEntryOffset ==...

OK, I was a bit confused before, I wasn't exactly right when I said everything was filled. - `_buffer` from line 337 contains all filenames. - `buffer` from line 388...