patch applied (cabal): fix 'clean' bug on windows caused by leaked Handle.

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Mar 18 21:59:10 EDT 2008


Tue Mar 18 09:12:37 PDT 2008  Andrea Vezzosi <sanzhiyan at gmail.com>
  * fix 'clean' bug on windows caused by leaked Handle.
  Using readFile to read dist/setup-config keeps the Handle open when we try to delete the file, causing an error. 
  So we instead read the file strictly and close the Handle early.

    M ./Distribution/Simple/Configure.hs -3 +8

View patch online:

  http://darcs.haskell.org/cabal/_darcs/patches/20080318161237-cd449-6d499624f7e72219411b4f534859f67c64e744c3.gz



More information about the cabal-devel mailing list