Commit f45ea277 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* Fix an issue with reading of files that are still growing in size. This...

* Fix an issue with reading of files that are still growing in size. This fixes bugzilla report 2130. Fix by Todd Lutton (tlutton at aol.com).
parent 3c2fbd3a
......@@ -422,6 +422,7 @@ static int Read( access_t *p_access, uint8_t *p_buffer, int i_len )
else if ( p_sys->file[i_file]->i_size != stat_info.st_size )
{
p_access->info.i_size += (stat_info.st_size - p_sys->file[i_file]->i_size );
p_sys->file[i_file]->i_size = stat_info.st_size;
p_access->info.i_update |= INPUT_UPDATE_SIZE;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment