[project @ 2001-01-10 16:28:15 by qrczak]
authorqrczak <unknown>
Wed, 10 Jan 2001 16:28:15 +0000 (16:28 +0000)
committerqrczak <unknown>
Wed, 10 Jan 2001 16:28:15 +0000 (16:28 +0000)
commita23a8116c3bab9340e1bee39ef80c83969d67101
tree95bc44eb71263620217a717f8712daf598d6d6e3
parent514e08bf98f37826fffda05a0f1a6e7f05273a85
[project @ 2001-01-10 16:28:15 by qrczak]
Remove CError.throwCError. Export the new function errnoToIOError.

Add a missing colon in a string inside IOException formed from
the error-specific part and optional filename. The IOException
representation has not changed yet, but IMHO the filename should
be kept separate.

Correctly handle user errors in IO.ioeGet* functions like other
IO errors.

Let fail :: String -> IO a throw a user error instead of invoking error
(Haskell98 is ambiguous about that and IMHO it should be this way;
this is also what nhc does).
ghc/lib/std/PrelHandle.lhs
ghc/lib/std/PrelIOBase.lhs