darcs patch: fix 'clean' bug on windows caused by leaked Handle.

Andrea Vezzosi sanzhiyan at gmail.com
Tue Mar 18 12:15:40 EDT 2008


Tue Mar 18 17:12:37 CET 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/x-darcs-patch
Size: 70886 bytes
Desc: A darcs patch for your repository!
Url : http://www.haskell.org/pipermail/cabal-devel/attachments/20080318/7e097fd9/attachment-0001.bin


More information about the cabal-devel mailing list