ntdll: Don't abort directory search in single entry mode when a file is ignored.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48960
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
feature/deterministic
Alexandre Julliard 2020-04-20 17:41:12 +02:00
parent a2b08874cc
commit fecaa443b5
1 changed files with 1 additions and 1 deletions

View File

@ -2008,7 +2008,7 @@ NTSTATUS WINAPI DECLSPEC_HOTPATCH NtQueryDirectoryFile( HANDLE handle, HANDLE ev
{
status = get_dir_data_entry( data, buffer, io, length, info_class, &last_info );
if (!status || status == STATUS_BUFFER_OVERFLOW) data->pos++;
if (single_entry) break;
if (single_entry && last_info) break;
}
if (!last_info) status = STATUS_NO_MORE_FILES;