reaping fd's and flushing buffers

William Lee Irwin III
Mon, 6 Jan 2003 06:13:27 -0800

On Mon, Jan 06, 2003 at 02:02:13PM -0000, Simon Marlow wrote:
> ... actually I've just looked at the code and it looks wrong, aargh!
> The finalizer is attached to the wrong side.  If you have a source tree
> handy, try changing the following line in libraries/base/GHC/Handle.hs:
>  addMVarFinalizer read_side (handleFinalizer read_side)
> to
>  addMVarFinalizer write_side (handleFinalizer write_side)

Thanks, I've started brewing up a tree and I'll take that for a spin
when it's done cooking.