mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 10:41:12 +00:00
ntdll: Don't reduce the size of the local buffer when we come to read another batch of entries.
In the wildcard case, we can't know how much to reduce it by anyway.
This commit is contained in:
parent
42470bae67
commit
fed9f67bc4
1 changed files with 0 additions and 3 deletions
|
@ -1849,9 +1849,6 @@ static int read_directory_getdirentries( int fd, IO_STATUS_BLOCK *io, void *buff
|
|||
continue;
|
||||
}
|
||||
if (size < initial_size) break; /* already restarted once, give up now */
|
||||
size = min( size, length - io->Information );
|
||||
/* if size is too small don't bother to continue */
|
||||
if (size < max_dir_info_size(class) && last_info) break;
|
||||
restart_last_info = last_info;
|
||||
restart_info_pos = io->Information;
|
||||
restart:
|
||||
|
|
Loading…
Reference in a new issue