[GHC] #10986: GHC should delete all temporary files it creates in /tmp

GHC ghc-devs at haskell.org
Thu Jan 21 22:28:07 UTC 2016


#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):

 Nontermination is also a problem for `runghc`, and probably a more common
 scenario.
 {{{
 rwbarton at morphism:/tmp$ rm -rf ghc*
 rwbarton at morphism:/tmp$ cat loop.hs
 main = main
 rwbarton at morphism:/tmp$ runghc loop.hs
 ^C
 rwbarton at morphism:/tmp$ echo ghc*
 ghc31647_0
 }}}
 In `ghc -e`/`runghc`, perhaps it would be possible to clean up the
 temporary directory before executing the expression/program.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10986#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list