ntdll: Leave NtQueryDirectoryFile early when a non-wildcard mask is used in the getdi...
commit96b7c71cfe5acb9b319697dcff93b2e814c8b00f
authorAlexandre Julliard <julliard@winehq.org>
Mon, 1 Jul 2013 17:49:46 +0000 (1 19:49 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 1 Jul 2013 17:51:20 +0000 (1 19:51 +0200)
tree100624f90ccec8b2aec28d9710be350faa5a833d
parent60d29d1d0d478f94e4375f8fac4fca1d30e843fa
ntdll: Leave NtQueryDirectoryFile early when a non-wildcard mask is used in the getdirentries case.

This avoids having to retry the getdirentries call which may fail if
the buffer size is too small.
dlls/ntdll/directory.c