Ken Thomases ken@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.