patch applied (packages/base): Fix a few places where we forgot to close the text codecs (#4029)

Simon Marlow marlowsd at gmail.com
Fri Jul 2 09:44:56 EDT 2010


Fri Jul  2 06:02:10 PDT 2010  Simon Marlow <marlowsd at gmail.com>
  * Fix a few places where we forgot to close the text codecs (#4029)
  Each time you invoke :load in GHCi it resets the CAFs, including
  stdin/stdout/stderr, and each of these was allocating a new iconv_t.

    M ./GHC/IO/Handle.hs +2
    M ./GHC/IO/Handle/FD.hs +3
    M ./GHC/IO/Handle/Internals.hs -5 +9

View patch online:
http://darcs.haskell.org/cgi-bin/darcsweb.cgi?r=packages/base;a=darcs_commitdiff;h=20100702130210-12142-7ed1ba45b5181e96f157ce01625ccabe50ca24f4.gz


More information about the Cvs-libraries mailing list