diff options
| author | Al <26797547+Al12rs@users.noreply.github.com> | 2020-09-27 00:54:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-27 00:54:06 +0200 |
| commit | 7f4e83ea1119b8465a4a56a77106f50bae146aed (patch) | |
| tree | a028912dbbe79d23267e46db4338f083c48f6bd9 /src | |
| parent | 8e43dee79c86bf56deb98654439016205c470679 (diff) | |
TEST rem potential early return in forEachEntry()
Test to see if this fixes a bug on discord.
Diffstat (limited to 'src')
| -rw-r--r-- | src/envfs.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/envfs.cpp b/src/envfs.cpp index a8af967b..bdb11c65 100644 --- a/src/envfs.cpp +++ b/src/envfs.cpp @@ -315,11 +315,12 @@ void forEachEntryImpl( break; } } - - if (AllocSize - iosb.Information > (ULONG)FIELD_OFFSET(FILE_DIRECTORY_INFORMATION, FileName[256])) { - // NO_MORE_FILES - break; - } + + // This might be returning early in some unknown cases! Testing + //if (AllocSize - iosb.Information > (ULONG)FIELD_OFFSET(FILE_DIRECTORY_INFORMATION, FileName[256])) { + // // NO_MORE_FILES + // break; + //} } } |
