[Hackage] #609: ghc-pkg dump encoding

Hackage trac at galois.com
Fri Nov 27 11:18:25 EST 2009


#609: ghc-pkg dump encoding
----------------------------+-----------------------------------------------
  Reporter:  igloo          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  HEAD   
  Severity:  normal         |   Resolution:         
  Keywords:                 |   Difficulty:  unknown
Ghcversion:                 |     Platform:         
----------------------------+-----------------------------------------------
Comment (by guest):

 GHC now always uses UTF-8 for the output of `ghc-pkg dump`, and the input
 to `ghc-pkg register` and `ghc-pkg update`.

 {{{
 Wed Nov 25 06:17:30 PST 2009  Simon Marlow <marlowsd at gmail.com>
   * Use UTF-8 explicitly for InstalledPackageInfo
   So ghc-pkg register/update takes input in UTF-8, and ghc-pkg dump
   outputs in UTF-8.  Textual package config files in the package DB are
   assumed to be in UTF-8.

     M ./utils/ghc-pkg/Main.hs -7 +26
 }}}

 This patch will be merged into 6.12.1.

 Also the double-free error reported above is fixed.

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/609#comment:5>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list