When collecting the output from programs.
Can be either locale text or specifically UTF8. Also tidy up the rawSystemStd* variants and pass a text/binary mode flag for the input and output.
Do it in the pretty-printing rather than just before writing the file.
The guarantee is supposed to be that each package name appears at most once with all the constraints for that dependency. The cabal-install planner relies on this property.
When ettempting to run ./configure scripts. Fixes ticket #403.
The main effect of this change is that the PROFILING macro gets defined when compiling C files and profiling is enabled. This is useful for code that inspects closures. Caveat: The change relies on the fact that Cabal does not track dependencies of C files but recompiles them every time. If dependency tracking is added, we'll need different extensions for profiling and non-profiling object files.
….2 supports local packages
rolling back: Mon Oct 5 17:32:02 BST 2009 Stephen Blackheath <email@example.com> * Fix test case InternalLibrary4 on account of a change in Cabal's behaviour. M ./tests/PackageTests/BuildDeps/InternalLibrary4/Check.hs -5 +4