Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Shayne Fletcher
Glasgow Haskell Compiler
Commits
e8ec5846
Commit
e8ec5846
authored
Sep 26, 2001
by
simonmar
Browse files
[project @ 2001-09-26 10:38:02 by simonmar]
ENODEV should really be an UnsupportedOperation, not NoSuchThing.
parent
0ea9ecaf
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/PrelCError.lhs
View file @
e8ec5846
% -----------------------------------------------------------------------------
% $Id: PrelCError.lhs,v 1.1
0
2001/0
7/13 11:11:34 rrt
Exp $
% $Id: PrelCError.lhs,v 1.1
1
2001/0
9/26 10:38:02 simonmar
Exp $
%
% (c) The FFI task force, 2000
%
...
...
@@ -456,7 +456,7 @@ errnoToIOError loc errno maybeHdl maybeName = unsafePerformIO $ do
| errno == eNFILE = ResourceExhausted
| errno == eNOBUFS = ResourceExhausted
| errno == eNODATA = NoSuchThing
| errno == eNODEV =
NoSuchThing
| errno == eNODEV =
UnsupportedOperation
| errno == eNOENT = NoSuchThing
| errno == eNOEXEC = InvalidArgument
| errno == eNOLCK = ResourceExhausted
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment