
#10986: GHC should delete all temporary files it creates in /tmp -------------------------------------+------------------------------------- Reporter: erikd | Owner: Type: feature request | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.11 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by rwbarton): Okay! There were two non-`WAY=ghci` tests that also left behind a temporary directory: `ghc-e005` and `T3890`. They are both `ghc -e`-related, but don't involve this `GHC.TopHandler.runIOFastExit` stuff, so they are real bugs. As hinted at by `ghc-e005`, `runghc` has the same behavior. {{{ rwbarton@morphism:/tmp$ rm -rf ghc* rwbarton@morphism:/tmp$ cat err.hs main = error "oops" rwbarton@morphism:/tmp$ runghc err.hs err.hs: oops rwbarton@morphism:/tmp$ echo ghc* ghc31610_0 }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10986#comment:17 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler