mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
ntdll: Fix restart size calculation.
This commit is contained in:
parent
3daa153b29
commit
edd4356dba
1 changed files with 1 additions and 1 deletions
|
@ -1812,7 +1812,7 @@ static int read_directory_getdirentries( int fd, IO_STATUS_BLOCK *io, void *buff
|
|||
if (res > 0 && (single_entry || io->Information + max_dir_info_size(class) > length))
|
||||
{
|
||||
lseek( fd, (unsigned long)restart_pos, SEEK_SET );
|
||||
size = (char *)de - data;
|
||||
size = (char *)de + de->d_reclen - data;
|
||||
io->Information = restart_info_pos;
|
||||
last_info = restart_last_info;
|
||||
goto restart;
|
||||
|
|
Loading…
Reference in a new issue