From: Simon Marlow Date: Tue, 24 Oct 2006 13:39:43 +0000 (+0000) Subject: fix 5.04 compile X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=33b8b60e0aa925962cd11a8be98d9818666d58a0 fix 5.04 compile --- diff --git a/compiler/main/HeaderInfo.hs b/compiler/main/HeaderInfo.hs index 1566137..dc97e20 100644 --- a/compiler/main/HeaderInfo.hs +++ b/compiler/main/HeaderInfo.hs @@ -92,7 +92,8 @@ getImpMod (ImportDecl located_mod _ _ _ _) = located_mod getOptionsFromFile :: FilePath -- input file -> IO [Located String] -- options, if any getOptionsFromFile filename - = bracket (openBinaryFile filename ReadMode) + = System.IO.bracket + (openBinaryFile filename ReadMode) (hClose) (\handle -> do buf <- hGetStringBufferBlock handle blockSize