patch applied (cabal): Don't ask for the output of running ld, as we ignore it anyway

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Mon Jul 13 14:22:55 EDT 2009


On Sat, 2009-07-11 at 10:35 -0700, Ian Lynagh wrote:
> Fri Jul 10 14:04:45 PDT 2009  Ian Lynagh <igloo at earth.li>
>   * Don't ask for the output of running ld, as we ignore it anyway
> 
>     M ./Distribution/Simple/GHC.hs -2 +2
>     M ./Distribution/Simple/LHC.hs -2 +2


> Fri Jul 10 14:08:02 PDT 2009  Ian Lynagh <igloo at earth.li>
>   * Don't use the Stdout variant of rawSystemProgramConf to call gcc
>   We ignore the output anyway
> 
>     M ./Distribution/Simple/Configure.hs -2 +3

These are wrong. We capture (and discard) the output because we do not
want it printed to the console. We do not currently have a specific
variant for redirecting the output to /dev/null so we simply use the
variant that captures the output.

I'll revert these and use the _ <- or ignore trick.

Duncan



More information about the cabal-devel mailing list