> 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.
Thanks Kevin - I've applied your patch. Should be in tomorrow's CVS.
Cheers,
Simon