On Mon, Oct 29, 2001 at 02:52:25PM -, Simon Marlow wrote:
The blocking is essential since I need to be able to use MVars
between the threadWaitRead the hGetLine (remember the note I
sent about fork()ing).
Sorry, I can't remember that - could you remind me? The hGetLine
already
Something broke when reading from FIFOs in the transition from
5.00 to 5.02. The following program behaves as it should in
5.00, but with 5.02 it fails after printing the last line
(strangely for varying numbers of last!) with
Fail: end of file
Action: hGetChar
Handle:
On Mon, Oct 29, 2001 at 02:08:23PM -, Simon Marlow wrote:
This appears to be because the dummy Handle opened in WriteMode is being
garbage collected and closed, which leaves the FIFO with no writers so
you get EOF. 5.02 is behaving correctly here. You can add an extra
'hClose dummy' at
On Mon, Oct 29, 2001 at 02:08:23PM -, Simon Marlow wrote:
This appears to be because the dummy Handle opened in
WriteMode is being
garbage collected and closed, which leaves the FIFO with no
writers so
you get EOF. 5.02 is behaving correctly here. You can add an extra
'hClose