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

Ian Lynagh igloo at earth.li
Sun May 11 07:22:32 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/packages/Cabal/_darcs/patches/20080318161237-cd449-6d499624f7e72219411b4f534859f67c64e744c3.gz


More information about the Cvs-libraries mailing list