[Hackage] #843: 'cabal test' crashes on Windows
Hackage
cvs-ghc at haskell.org
Mon Jul 18 00:40:49 CEST 2011
#843: 'cabal test' crashes on Windows
----------------------------+-----------------------------------------------
Reporter: ttuegel | Owner: ttuegel
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Cabal library | Version: 1.10.1.0
Severity: normal | Resolution: fixed
Keywords: | Difficulty: unknown
Ghcversion: | Platform: Windows
----------------------------+-----------------------------------------------
Changes (by duncan):
* status: new => closed
* resolution: => fixed
Comment:
Applied.
{{{
Wed May 18 04:04:22 BST 2011 Thomas Tuegel <ttuegel at gmail.com>
* Fixed crash on Windows due to file handle leak.
Ticket #843. Cabal test crashed when trying to delete a temporary log
file
because 'readFile' reads unnecessarily lazily and was keeping a file
handle
open during attempted deletion. This patch forces the entire file to be
read
so the handle will be closed.
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/843#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list