kernel32: In FindFirstFileExW(), call NtQueryDirectoryFile() again to determine if it read all files.

Alexandre Julliard julliard at winehq.org
Tue Feb 4 03:54:35 CST 2014


Ken Thomases <ken at codeweavers.com> writes:

> Previously, it only checked if the first call failed to fill the buffer.  This
> is unreliable since the underlying implementation may be forced to return
> a short buffer by the semantics of the system calls used.  In particular,
> getdirentries() on Mac OS X can only read at the resolution of whole blocks
> rather than individual directory entries for AFP-mounted volumes.

It would be better to fix the ntdll side.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list