diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2000-11-23 13:45:03 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2000-11-23 13:45:03 +0000 |
commit | 9d1cf09c54f25b91ac1521e43054e4a52d698daf (patch) | |
tree | 4db16fbf049d7309366334f69e47918216977ab9 /otherlibs/win32unix/write.c | |
parent | cb681720eab307945936188efea5f88e3b06661e (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/write.c')
-rw-r--r-- | otherlibs/win32unix/write.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/otherlibs/win32unix/write.c b/otherlibs/win32unix/write.c index ed09e2b74..4864ea7aa 100644 --- a/otherlibs/win32unix/write.c +++ b/otherlibs/win32unix/write.c @@ -33,7 +33,7 @@ value unix_write(value fd, value buf, value vofs, value vlen) /* ML */ written = 0; while (len > 0) { numbytes = len > UNIX_BUFFER_SIZE ? UNIX_BUFFER_SIZE : len; - bcopy(&Byte(buf, ofs), iobuf, numbytes); + memmove (iobuf, &Byte(buf, ofs), numbytes); enter_blocking_section(); ret = WriteFile(h, iobuf, numbytes, &numwritten, NULL); leave_blocking_section(); |