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>
This commit is contained in:
parent
a2b08874cc
commit
fecaa443b5
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue