#1963: Pressing ^C at the right moment can trash GHC's package list
----------------------+-----------------------------------------------------
Reporter: igloo | Owner: igloo
Type: merge | Status: new
Priority: normal | Milestone: 6.8.3
Component: Compiler | Version: 6.8.1
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------+-----------------------------------------------------
Changes (by simonmar):
* owner: simonmar => igloo
* type: bug => merge
Comment:
Fixed:
{{{
Thu Dec 13 07:40:56 PST 2007 Simon Marlow <[EMAIL PROTECTED]>
* FIX #1963: catch Ctrl-C and clean up properlyFri Dec 14 04:33:45 PST
2007 Simon Marlow <[EMAIL PROTECTED]>
* always try to remove the new file before restoring the old one (#1963)
}}}
On Unix I think this is robust now. On Windows I occasionally get a
"permission denied" failure when `ghc-pkg` tries to restore the old
package database after Ctrl-C, but I don't know why this happens, or how
to avoid it.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1963#comment:2>
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