[ ghc-Bugs-771633 ] GHCi removes source files!!

SourceForge.net noreply at sourceforge.net
Tue Jul 15 10:49:54 EDT 2003


Bugs item #771633, was opened at 2003-07-15 16:34
Message generated for change (Comment added) made by volkersf
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=771633&group_id=8032

Category: Compiler
Group: 6.0
>Status: Closed
>Resolution: Duplicate
Priority: 9
Submitted By: Daan Leijen (dleijen)
Assigned to: Nobody/Anonymous (nobody)
Summary: GHCi removes source files!!

Initial Comment:
GHCi removes source files on windows under
certain circumstances! Of course, this is very
bad when it actually happens.

It happens when loading a source file in a
subdirectory, i.e.

> ghci -package wx  wx\HelloWorld.hs
[snip]
Loading package wx ... linking ... done.
Compiling Main             ( wx/HelloWorld.hs, interpreted )
Ok, modules loaded: Main.
*Main> :q
Leaving GHCi.

>ghci -package wx  wx\HelloWorld.hs
[snip]
Loading package wx ... linking ... done.
can't find file `wx\HelloWorld.hs'


It only happens when using the normal windows prompt.
It doesn't happen when using 'bash' (with cygwin).

Nice bug for an interpreter :-)
  -- Daan.

(daanleijen at xs4all.nl)

----------------------------------------------------------------------

>Comment By: Volker Stolz (volkersf)
Date: 2003-07-15 16:49

Message:
Logged In: YES 
user_id=126328

Duplicate of 765503, hopefully fixed in upcoming 6.0.1

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=771633&group_id=8032



More information about the Glasgow-haskell-bugs mailing list