* No double seek,

This commit is contained in:
Michael Van Canneyt 2024-08-19 15:08:34 +02:00
parent 2d7c39d984
commit c1a482a13e

View File

@ -1581,8 +1581,7 @@ begin
end;
Result:=FS.Seek(fd,Offset,lWhence,NewPos);
if Result=WASI_ESUCCESS then
Result:=FS.Seek(fd,Offset,lWhence,NewPos);
SetMemInfoInt64(newOffsetPtr,NewPos);
SetMemInfoInt64(newOffsetPtr,NewPos);
except
On E : Exception do
Result:=ErrorToCode(E);