Commit e8ec5846 authored by simonmar's avatar simonmar
Browse files

[project @ 2001-09-26 10:38:02 by simonmar]

ENODEV should really be an UnsupportedOperation, not NoSuchThing.
parent 0ea9ecaf
% ----------------------------------------------------------------------------- % -----------------------------------------------------------------------------
% $Id: PrelCError.lhs,v 1.10 2001/07/13 11:11:34 rrt Exp $ % $Id: PrelCError.lhs,v 1.11 2001/09/26 10:38:02 simonmar Exp $
% %
% (c) The FFI task force, 2000 % (c) The FFI task force, 2000
% %
...@@ -456,7 +456,7 @@ errnoToIOError loc errno maybeHdl maybeName = unsafePerformIO $ do ...@@ -456,7 +456,7 @@ errnoToIOError loc errno maybeHdl maybeName = unsafePerformIO $ do
| errno == eNFILE = ResourceExhausted | errno == eNFILE = ResourceExhausted
| errno == eNOBUFS = ResourceExhausted | errno == eNOBUFS = ResourceExhausted
| errno == eNODATA = NoSuchThing | errno == eNODATA = NoSuchThing
| errno == eNODEV = NoSuchThing | errno == eNODEV = UnsupportedOperation
| errno == eNOENT = NoSuchThing | errno == eNOENT = NoSuchThing
| errno == eNOEXEC = InvalidArgument | errno == eNOEXEC = InvalidArgument
| errno == eNOLCK = ResourceExhausted | errno == eNOLCK = ResourceExhausted
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment