add Control.Monad.Instances to nhc98 build
[haskell-directory.git] / GHC / Handle.hs
index 18bf135..e0b755f 100644 (file)
@@ -594,7 +594,7 @@ writeRawBufferPtr loc fd is_stream buf off len
 
 -- ToDo: we don't have a non-blocking primitve read on Win32
 readRawBufferNoBlock :: String -> FD -> Bool -> RawBuffer -> Int -> CInt -> IO CInt
-readRawBufferNoBlock = readRawBufferNoBlock
+readRawBufferNoBlock = readRawBuffer
 
 -- Async versions of the read/write primitives, for the non-threaded RTS
 
@@ -974,7 +974,7 @@ mkFileHandle fd is_stream filepath ha_type binary = do
   -- On Windows, if this is a read/write handle and we are in text mode,
   -- turn off buffering.  We don't correctly handle the case of switching
   -- from read mode to write mode on a buffered text-mode handle, see bug
-  -- #679.
+  -- \#679.
   bmode <- case ha_type of
                ReadWriteHandle | not binary -> return NoBuffering
                _other                       -> return bmode