[project @ 2000-04-25 14:19:09 by simonmar]
authorsimonmar <unknown>
Tue, 25 Apr 2000 14:19:09 +0000 (14:19 +0000)
committersimonmar <unknown>
Tue, 25 Apr 2000 14:19:09 +0000 (14:19 +0000)
commita1221c1334a8f843742f173cbb9ed1ea3358b664
treeb527d04b7c9dc128c070a4c207da6fd0b2449809
parentb0a770188bf349b18cd1ef6f4d18531e6baaa24a
[project @ 2000-04-25 14:19:09 by simonmar]
Fixes to commitBuffer and commitAndReleaseBuffer to maintain the
invariant that we never leave the handle buffer in a completely full
state.  This fixes the crashes seen in recent Sparc builds.

Found with help from:  Electric Fence &:-)
ghc/lib/std/PrelIO.lhs