projects
/
haskell-directory.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2002-12-12 13:42:46 by ross]
[haskell-directory.git]
/
GHC
/
IO.hs
diff --git
a/GHC/IO.hs
b/GHC/IO.hs
index
b3d590a
..
ab5b319
100644
(file)
--- a/
GHC/IO.hs
+++ b/
GHC/IO.hs
@@
-43,7
+43,7
@@
import GHC.Real
import GHC.Num
import GHC.Show
import GHC.List
import GHC.Num
import GHC.Show
import GHC.List
-import GHC.Exception ( ioError, catch, throw )
+import GHC.Exception ( ioError, catch )
import GHC.Conc
-- ---------------------------------------------------------------------------
import GHC.Conc
-- ---------------------------------------------------------------------------
@@
-199,7
+199,7
@@
maybeFillReadBuffer fd is_line is_stream buf
)
(\e -> do if isEOFError e
then return Nothing
)
(\e -> do if isEOFError e
then return Nothing
- else throw e)
+ else ioError e)
unpack :: RawBuffer -> Int -> Int -> IO [Char]
unpack :: RawBuffer -> Int -> Int -> IO [Char]