saa_fread/fwrite: when seeking, must set [rw]ptr as well
authorH. Peter Anvin <hpa@zytor.com>
Thu, 11 Oct 2007 01:07:51 +0000 (18:07 -0700)
committerH. Peter Anvin <hpa@zytor.com>
Thu, 11 Oct 2007 01:07:51 +0000 (18:07 -0700)
commitd119ce6f9a354d705396f06f86d00532836f3883
tree1a4ba20a0348ba8dfe369653c33d00f78cd62d6b
parent6867acc18ee541e361a5fa1e5a1bac3a478a3856
saa_fread/fwrite: when seeking, must set [rw]ptr as well

[rw]ptr represent the global position and need to be kept in sync with
[rw]pos:[rw]blk at all times.  Failed to do that while seeking, with
obviously bad results.
nasmlib.c