logo       

[ ghc-Bugs-771633 ] GHCi removes source files!!: msg#00037

lang.haskell.glasgow.bugs

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

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@xxxxxxxxx)

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

>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


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

News | FAQ | advertise