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 would of saved my
> and Kirstin S. Reese a lot of trouble.

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 example in which it does that very thing.  However
considering that the libc distributed with Redhat 6.0 has this problem I
strongly recommend you apply my patch as it does not do any real harm.

Special thanks to Kirstin S. Reese for helping me with this problem.
-- 
Kevin Atkinson
[EMAIL PROTECTED]
http://metalab.unc.edu/kevina/

Reply via email to