Doh, I have several times got further than I thought but
didn't realise
it as I didn't notice it had made a ghc-5.02 binary!
Here's my latest problem, anyway - I don't suppose it could
be caused by
the hc files being generated under a different OS with different magic
numbers could
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
Hello. Just a nasty build bug with 5.02 that I encountered.
When building the prelude library, the individual object files are
turned to an archive with xargs ar q libHSstd.a. Now, for
some reason,
on this system, GNU ar fails at some point during this process. The
standard solaris ar
When interrupting this program, the signal handler does not get called:
module Main where
import Posix
main = do
installHandler 2 (Catch (putStrLn Hello, world!)) Nothing
sleep 600
-- putStr
Curiously, if the last line is uncommented, the program works as