summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/read.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2000-11-23 13:45:03 +0000
committerDamien Doligez <damien.doligez-inria.fr>2000-11-23 13:45:03 +0000
commit9d1cf09c54f25b91ac1521e43054e4a52d698daf (patch)
tree4db16fbf049d7309366334f69e47918216977ab9 /otherlibs/win32unix/read.c
parentcb681720eab307945936188efea5f88e3b06661e (diff)
bcopy -> memmove dans otherlibs
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3341 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/read.c')
-rw-r--r--otherlibs/win32unix/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/read.c b/otherlibs/win32unix/read.c
index f9f0e0f8a..cc3fdc441 100644
--- a/otherlibs/win32unix/read.c
+++ b/otherlibs/win32unix/read.c
@@ -35,7 +35,7 @@ value unix_read(value fd, value buf, value ofs, value len) /* ML */
_dosmaperr(GetLastError());
uerror("read", Nothing);
}
- bcopy(iobuf, &Byte(buf, Long_val(ofs)), numread);
+ memmove (&Byte(buf, Long_val(ofs)), iobuf, numread);
End_roots();
return Val_int(numread);
}