Re: Again: Runtime system doesn't notice changed file descriptor status

2005-01-19 Thread Volker Wysk
Hello. I've had the misconception that a file descriptor can be in a closed state. So the bug report was rather misguided - sorry for that. Yes, what I actually want is to reset the stdin handle. Thanks for the hint to hDuplicateTo. This should be exactly what I need. I see that the thing whi

Re: ghc-pkg -g fails on Solaris

2005-01-19 Thread Axel Simon
On 18 Jan 2005, at 15:12, Duncan Coutts wrote: Hi, On all Unix platforms except Darwin, ghc-pkg calls: ld -r -x -o HSfoo.o --whole-archive libHSfoo.a See: ghc/utils/ghc-pkg/Main.hs, function autoBuildGHCiLib This works for the GNU linker. For the Solaris linker (which takes the name "ld", GNU ld ge

RE: Again: Runtime system doesn't notice changed file descriptor status

2005-01-19 Thread Simon Marlow
Hi Volker, On 02 January 2005 16:35, Volker Wysk wrote: > I made an error when simplifying the program for the bug report. > Here's the message again. > > I'm building a program which converts file names from ISO8859-1 to > UTF-8. It calls the recode program to do the actual conversion. This > p

[ ghc-Bugs-1105067 ] -ffi poorly documented

2005-01-19 Thread SourceForge.net
Bugs item #1105067, was opened at 2005-01-19 07:25 Message generated for change (Settings changed) made by simonmar You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=108032&aid=1105067&group_id=8032 Category: Documentation Group: 6.2.2 >Status: Closed >Resolution: Fix

RE: ghc-pkg -g fails on Solaris

2005-01-19 Thread Simon Marlow
On 18 January 2005 15:13, Duncan Coutts wrote: > On all Unix platforms except Darwin, ghc-pkg calls: > ld -r -x -o HSfoo.o --whole-archive libHSfoo.a > > See: > ghc/utils/ghc-pkg/Main.hs, function autoBuildGHCiLib > > This works for the GNU linker. For the Solaris linker (which takes the > name