Commits

Bryan O'Sullivan committed ba25ab6

Fix build under 6.10

Comments (0)

Files changed (1)

     ts <- readChunks
     (hh', _) <- hClose_help hh
     return (hh'{haType=ClosedHandle}, T.concat ts)
-#endif
   
 -- | Use a more efficient buffer size if we're reading in
 -- block-buffered mode with the default buffer size.  When we can
            else throw e
       when (d > 0) . hSetBuffering h . BlockBuffering . Just . fromIntegral $ d
     _ -> return ()
+#endif
 
 -- | Read a single line from a handle.
 hGetLine :: Handle -> IO Text