Commit fecaa443 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent a2b08874
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment