[project @ 2000-04-14 12:46:34 by simonmar] Fix a bug in commitBuffer, and tweak the semantics of commitBuffer/commitAndReleaseBuffer.
[project @ 2000-04-14 12:46:34 by simonmar]
Fix a bug in commitBuffer, and tweak the semantics of
commitBuffer/commitAndReleaseBuffer.

Add some comments on the algorithms used here.

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