Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
jberryman
GHC
Commits
914cc0f0
Commit
914cc0f0
authored
Nov 09, 2001
by
sof
Browse files
[project @ 2001-11-09 20:58:40 by sof]
prel_PrelHandle_read(): de-hebetudified.
parent
cb470321
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/lib/std/cbits/PrelIOUtils.c
View file @
914cc0f0
...
...
@@ -72,7 +72,7 @@ HsInt prel_PrelHandle_write(HsInt fd, HsAddr ptr, HsInt off, HsInt sz)
HsInt
prel_PrelHandle_read
(
HsInt
fd
,
HsAddr
ptr
,
HsInt
off
,
HsInt
sz
)
{
return
write
(
fd
,
ptr
+
off
,
sz
);
return
read
(
fd
,
ptr
+
off
,
sz
);
}
void
*
prel_PrelIO_memcpy
(
char
*
dst
,
HsInt
dst_off
,
const
char
*
src
,
size_t
sz
)
...
...
Write
Preview
Markdown
is supported
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