The assumed Seek() position in the file cache was off by one byte.
This commit is contained in:
parent
6b1c597cba
commit
ba0893c915
@ -305,7 +305,7 @@ Free_VecPooled( APTR poolHeader,
|
||||
if ( (offset < sysfile->iobuf_start) || (offset + count > sysfile->iobuf_end) )
|
||||
{
|
||||
/* requested offset implies we need a buffer refill */
|
||||
if ( !sysfile->iobuf_end || offset != (sysfile->iobuf_end + 1) )
|
||||
if ( !sysfile->iobuf_end || offset != sysfile->iobuf_end )
|
||||
{
|
||||
/* a physical seek is necessary */
|
||||
Seek( sysfile->file, offset, OFFSET_BEGINNING );
|
||||
|
Loading…
Reference in New Issue
Block a user