patch applied (cabal-branches/cabal-1.4): Close the package.conf file after reading it

Duncan Coutts duncan.coutts at worc.ox.ac.uk
Tue Jun 10 16:11:00 EDT 2008


Tue Jun 10 11:02:17 PDT 2008  Duncan Coutts <duncan at haskell.org>
  * Close the package.conf file after reading it
  We had a bug on windows where we open and read ghc's package.conf
  database but because we did not consume the final newline we did
  not close the file. Then when we called ghc-pkg to register a
  package it failed because it could not rename the open file.

    M ./Distribution/Simple/GHC.hs -1 +1

View patch online:
http://darcs.haskell.org/cabal-branches/cabal-1.4/_darcs/patches/20080610180217-adfee-96e39ff91dad33db3d2a37f3de0788e6ba14d187.gz



More information about the cabal-devel mailing list