simonmar 2004/09/29 08:50:55 PDT
Modified files:
libraries Makefile
libraries/base Makefile
libraries/base/System Cmd.hs
libraries/base/cbits Makefile rawSystem.c
libraries/base/include HsBase.h
libraries/unix/include HsUnix.h
Added files:
libraries/base/System Process.hsc
libraries/base/System/Process Internals.hs
libraries/base/cbits execvpe.c runProcess.c
libraries/base/include runProcess.h
Removed files:
libraries/base/cbits system.c
libraries/process Makefile package.conf.in prologue.txt
libraries/process/System Process.hsc
libraries/process/System/Process Internals.hs
libraries/process/cbits anonPipe.c
libraries/process/include HsProcess.h
libraries/unix/cbits execvpe.c
Log:
Process reorganisation: the System.Process library moves into base,
and System.Cmd is re-implemented in terms of it.
Thanks to Krasimir Angelov, we have a version of System.Process that
doesn't rely on the unix or Win32 libraries. Normally using
unix/Win32 would be the right thing, but since we want to implement
System.Cmd on top of this, and GHC uses System.Cmd, we can't introduce
a bunch of .hsc dependencies into GHC's bootstrap libraries.
So, the new version is larger, but has fewer dependencies. I imagine
it shouldn't be too hard to port to other compilers.
Revision Changes Path
1.40 +0 -2 fptools/libraries/Makefile
1.58 +1 -0 fptools/libraries/base/Makefile
1.22 +11 -20 fptools/libraries/base/System/Cmd.hs
1.12 +2 -2 fptools/libraries/base/cbits/Makefile
1.9 +5 -0 fptools/libraries/base/cbits/rawSystem.c
1.55 +7 -11 fptools/libraries/base/include/HsBase.h
1.18 +0 -2 fptools/libraries/unix/include/HsUnix.h
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries