logo       

RE: GHC doesn't doesn't clean up the way it should: msg#00013

lang.haskell.glasgow.bugs

Subject: RE: GHC doesn't doesn't clean up the way it should

On 06 May 2004 10:16, Josef Svenningsson wrote:

>> -----Original Message-----
>> From: Simon Marlow [mailto:simonmar@xxxxxxxxxxxxx]
>>
>> Ok, can you provide a sample command line that I can use to reproduce
>> the problem? Maybe you need to provide the preprocessor program too
>> (a perl script will probably do).
>>
>
> OK. I haven't been able to reproduce this with GHC only with GHCi. Any
> pre-processor will do, I've used this one for testing (I don't know
> Perl but Haskell works fine :-):
> \begin{code}
> module Main where
>
> import System
>
> main = do args <- getArgs
> case args of
> [_,infile,outfile] -> do cont <- readFile infile
> writeFile outfile cont
> \end{code}
>
> Here's the command line I use to reproduce to behaviour:
> $ ghci -F -pgmF ./testpp.exe -v HaskellModule.hs
>
> I'm running cygwin as you've probably noticed.

Works fine here. The temp file is deleted when you *exit* GHCi, BTW (it
is cached for future recompilations).

Cheers,
Simon


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise