diff options
Diffstat (limited to 'src/envfs.cpp')
| -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; + //} } } |
