On Fri, Oct 08, 2004 at 08:42:31PM +0200, Sven Panne wrote:
> >  Revision  Changes    Path
> >  1.19      +1 -1      fptools/libraries/unix/System/Posix/Process.hsc
> 
> >:-(  Still doesn't work... Could somebody else please fix this? Perhaps
> something along the lines: "Who broke it should fix it!"...

The problem is that execvpe.c has moved to base.  This is fine for a
compiler, since the unix package depends on base, but not for Hugs,
because its implentation of the FFI requires foreign importing module
to be linked with the corresponding C file(s) and here hugs-package
can't find it (and if it could, we wouldn't want it linked twice
anyway).  This fairly tight coupling has always been brittle in the
libraries (not that it's obvious how Hugs could have done it
differently).

A possible solution is to have an internal module corresponding to the C
file (Internals.Execvpe in base, say) and import that in System.Process
and System.Posix.Process.
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to