#4487: .ghci file is kept open while ghci is running
---------------------------------+------------------------------------------
Reporter: NeilMitchell | Owner:
Type: bug | Status: new
Priority: normal | Component: GHCi
Version: 7.1 | Keywords:
Testcase: | Blockedby:
Os: Windows | Blocking:
Architecture: Unknown/Multiple | Failure: None/Unknown
---------------------------------+------------------------------------------
Given a {{{.ghci}}} file in the current directory, when I start {{{ghci}}}
it loads that file. However, {{{ghci}}} keeps that file open and locked
while running. As a result, any attempts to edit the file give an error
from my text editor of "Encountered a sharing violation while accessing
.ghci".
The solution would be for {{{ghci}}} to strictly read the {{{.ghci}}} file
before it starts, rather than leaving the handle to the file open.
Reported against 7, but it's been this way for a while. Could well be
Windows specific.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4487>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs