[project @ 2000-01-17 12:30:07 by simonmar] Seeking didn't take into account the size of the current buffer (although it seems the intention was there: the proper offset was calculated, just never used).
[project @ 2000-01-17 12:30:07 by simonmar]
Seeking didn't take into account the size of the current buffer
(although it seems the intention was there: the proper offset was
calculated, just never used).

This fixes the io013 failure.

frantisekfarka/ghc-dsi,wxwxwwxxx/ghc,mfine/ghc,acowley/ghc,sgillespie/ghc,GaloisInc/halvm-ghc,christiaanb/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,ilyasergey/GHC-XAppFix,holzensp/ghc,TomMD/ghc,acowley/ghc,acowley/ghc,vTurbine/ghc,ghc-android/ghc,mfine/ghc,vTurbine/ghc,mcschroeder/ghc,GaloisInc/halvm-ghc,anton-dessiatov/ghc,lukexi/ghc-7.8-arm64,nathyong/microghc-ghc,anton-dessiatov/ghc,shlevy/ghc,mcmaniac/ghc,shlevy/ghc,GaloisInc/halvm-ghc,siddhanathan/ghc,mfine/ghc,mettekou/ghc,olsner/ghc,snoyberg/ghc,christiaanb/ghc,forked-upstream-packages-for-ghcjs/ghc,lukexi/ghc,nkaretnikov/ghc,acowley/ghc,sdiehl/ghc,AlexanderPankiv/ghc,oldmanmike/ghc,wxwxwwxxx/ghc,green-haskell/ghc,fmthoma/ghc,ilyasergey/GHC-XAppFix,holzensp/ghc,mettekou/ghc,ryantm/ghc,vTurbine/ghc,wxwxwwxxx/ghc,jstolarek/ghc,hferreiro/replay,oldmanmike/ghc,jstolarek/ghc,vikraman/ghc,nomeata/ghc,wxwxwwxxx/ghc,AlexanderPankiv/ghc,spacekitteh/smcghc,hferreiro/replay,ekmett/ghc,frantisekfarka/ghc-dsi,GaloisInc/halvm-ghc,sgillespie/ghc,mcmaniac/ghc,gridaphobe/ghc,anton-dessiatov/ghc,nushio3/ghc,da-x/ghc,nushio3/ghc,lukexi/ghc-7.8-arm64,ezyang/ghc,sgillespie/ghc,ilyasergey/GHC-XAppFix,nathyong/microghc-ghc,oldmanmike/ghc,gridaphobe/ghc,nathyong/microghc-ghc,ekmett/ghc,da-x/ghc,snoyberg/ghc,nkaretnikov/ghc,olsner/ghc,olsner/ghc,green-haskell/ghc,forked-upstream-packages-for-ghcjs/ghc,mcschroeder/ghc,ghc-android/ghc,elieux/ghc,olsner/ghc,ezyang/ghc,anton-dessiatov/ghc,nkaretnikov/ghc,anton-dessiatov/ghc,siddhanathan/ghc,sdiehl/ghc,nomeata/ghc,olsner/ghc,vikraman/ghc,elieux/ghc,mettekou/ghc,vikraman/ghc,mfine/ghc,TomMD/ghc,urbanslug/ghc,da-x/ghc,holzensp/ghc,ml9951/ghc,ekmett/ghc,fmthoma/ghc,jstolarek/ghc,nomeata/ghc,olsner/ghc,green-haskell/ghc,vikraman/ghc,gridaphobe/ghc,ghc-android/ghc,urbanslug/ghc,fmthoma/ghc,urbanslug/ghc,shlevy/ghc,christiaanb/ghc,hferreiro/replay,sgillespie/ghc,fmthoma/ghc,snoyberg/ghc,nushio3/ghc,ghc-android/ghc,mettekou/ghc,frantisekfarka/ghc-dsi,tjakway/ghcjvm,ryantm/ghc,spacekitteh/smcghc,urbanslug/ghc,siddhanathan/ghc,lukexi/ghc,gridaphobe/ghc,spacekitteh/smcghc,GaloisInc/halvm-ghc,acowley/ghc,sgillespie/ghc,lukexi/ghc,ml9951/ghc,ekmett/ghc,gridaphobe/ghc,sgillespie/ghc,ghc-android/ghc,mcmaniac/ghc,holzensp/ghc,da-x/ghc,ml9951/ghc,vTurbine/ghc,ezyang/ghc,mfine/ghc,sdiehl/ghc,tibbe/ghc,spacekitteh/smcghc,snoyberg/ghc,siddhanathan/ghc,AlexanderPankiv/ghc,snoyberg/ghc,hferreiro/replay,AlexanderPankiv/ghc,anton-dessiatov/ghc,shlevy/ghc,urbanslug/ghc,spacekitteh/smcghc,gcampax/ghc,nkaretnikov/ghc,christiaanb/ghc,sdiehl/ghc,tjakway/ghcjvm,vikraman/ghc,forked-upstream-packages-for-ghcjs/ghc,ml9951/ghc,vTurbine/ghc,mettekou/ghc,olsner/ghc,jstolarek/ghc,gcampax/ghc,hferreiro/replay,frantisekfarka/ghc-dsi,da-x/ghc,tjakway/ghcjvm,nathyong/microghc-ghc,holzensp/ghc,gcampax/ghc,nkaretnikov/ghc,gcampax/ghc,hferreiro/replay,green-haskell/ghc,elieux/ghc,gcampax/ghc,mcschroeder/ghc,vTurbine/ghc,tibbe/ghc,mcmaniac/ghc,siddhanathan/ghc,oldmanmike/ghc,TomMD/ghc,bitemyapp/ghc,da-x/ghc,mcschroeder/ghc,ml9951/ghc,tibbe/ghc,fmthoma/ghc,ezyang/ghc,acowley/ghc,gcampax/ghc,forked-upstream-packages-for-ghcjs/ghc,elieux/ghc,ezyang/ghc,nushio3/ghc,ml9951/ghc,ryantm/ghc,oldmanmike/ghc,GaloisInc/halvm-ghc,vikraman/ghc,christiaanb/ghc,mettekou/ghc,mcschroeder/ghc,christiaanb/ghc,bitemyapp/ghc,siddhanathan/ghc,green-haskell/ghc,ekmett/ghc,sdiehl/ghc,nushio3/ghc,forked-upstream-packages-for-ghcjs/ghc,tibbe/ghc,shlevy/ghc,siddhanathan/ghc,vikraman/ghc,snoyberg/ghc,shlevy/ghc,hferreiro/replay,ml9951/ghc,sdiehl/ghc,lukexi/ghc,gridaphobe/ghc,mcschroeder/ghc,elieux/ghc,anton-dessiatov/ghc,GaloisInc/halvm-ghc,AlexanderPankiv/ghc,bitemyapp/ghc,elieux/ghc,nkaretnikov/ghc,TomMD/ghc,tjakway/ghcjvm,mettekou/ghc,ilyasergey/GHC-XAppFix,shlevy/ghc,nomeata/ghc,urbanslug/ghc,vTurbine/ghc,tjakway/ghcjvm,acowley/ghc,wxwxwwxxx/ghc,lukexi/ghc-7.8-arm64,ryantm/ghc,sgillespie/ghc,urbanslug/ghc,fmthoma/ghc,TomMD/ghc,gcampax/ghc,oldmanmike/ghc,da-x/ghc,mfine/ghc,forked-upstream-packages-for-ghcjs/ghc,sdiehl/ghc,frantisekfarka/ghc-dsi,forked-upstream-packages-for-ghcjs/ghc,tibbe/ghc,TomMD/ghc,wxwxwwxxx/ghc,TomMD/ghc,mcmaniac/ghc,nathyong/microghc-ghc,AlexanderPankiv/ghc,nkaretnikov/ghc,lukexi/ghc-7.8-arm64,ghc-android/ghc,ml9951/ghc,christiaanb/ghc,nushio3/ghc,ezyang/ghc,lukexi/ghc,nathyong/microghc-ghc,lukexi/ghc-7.8-arm64,mfine/ghc,ghc-android/ghc,bitemyapp/ghc,jstolarek/ghc,oldmanmike/ghc,gridaphobe/ghc,tjakway/ghcjvm,nushio3/ghc,AlexanderPankiv/ghc,bitemyapp/ghc,fmthoma/ghc,elieux/ghc,nomeata/ghc,wxwxwwxxx/ghc,snoyberg/ghc,mcschroeder/ghc,ezyang/ghc,ryantm/ghc