On Fri, Sep 19, 2008 at 10:49:10PM +0200, Matthias Kilian wrote: > On Wed, Sep 17, 2008 at 04:42:18PM -0700, Ian Lynagh wrote: > > Wed Sep 17 12:21:55 PDT 2008 Ian Lynagh <[EMAIL PROTECTED]> > > * ghc-pkg needs to make package.conf with sensible permissions > > It was calling openTempFile which uses a 600 permissions mask. > > Breaks the buidl with ghc-6.6: > > Main.hs:1246:25: > Couldn't match expected type `GHC.IOBase.FD' > against inferred type `CInt' > In the first argument of `fdToHandle', namely `fd' > In the first argument of `onException', namely `fdToHandle fd' > In a 'do' expression: > h <- (fdToHandle fd) `onException` (c_close fd)
Thanks, fixed. Thanks Ian _______________________________________________ Cvs-ghc mailing list [email protected] http://www.haskell.org/mailman/listinfo/cvs-ghc
