
#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): Well it's not so easy for `ghc -e` because there might be multiple `-e` arguments. So we can't exit the GHC session before executing the first argument, since the second argument might be `:t it` or something. The code structure is such that it currently is not easy to clean up temporary files in the middle of a GHC session, nor is it clear when it is safe to do so. We could probably handle the exceptional exit case better though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/10986#comment:19 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler