On Tue, Sep 14, 2004 at 09:45:21AM +0100, Simon Marlow wrote: > A better solution would be to avoid all this mess somehow. Perhaps use > C wrappers for getpwuid_r, or something?
Yes, invoking them from HsUnix.c does the trick, although you get yet another function-call (a wrapper which calls a wrapper which jumps into libc). I'll do this in the afternoon. (I don't think it's possible/wise to try to invoke the __posix-functions directly.) Volker -- Hermes: Look at me! I'm invisible. http://lambda.foldr.org/~vs/ * PGP * S/MIME _______________________________________________ Cvs-ghc mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/cvs-ghc
