Kevin Atkinson wrote:
I discovered that my problem was that unlit was crashing because stdout
does not like to be closed.
Anyway this patch fixes the problem.
I will let you know how things go now that I solved that problem. Next
time I will actually take a look at the core file. It
It turns out that unlit.c was the only think I needed to
modify in order
to get the CVS version (June 27) to compile with the ghc 4.02 linux
binaries. The fflush in RtsStartup had nothing to do with it.
Not being able to close stdout is defiantly a bug as the glibc info
pages has an
Simon Marlow wrote:
Thanks Kevin - I've applied your patch. Should be in tomorrow's CVS.
Your welcome.
BTW: the ghc perl script could defiantly be dive better error messages.
Like saying which program actually crashed instead of just returning
nothing but a bad return value.
--
Kevin