summaryrefslogtreecommitdiffstats
path: root/byterun/debugger.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>2000-10-12 18:05:42 +0000
committerDamien Doligez <damien.doligez-inria.fr>2000-10-12 18:05:42 +0000
commitcdf19e15fc00c997fee4b46c147320e4dff390a6 (patch)
treeadfacfaa4596e23800047746fdb78b44a995153c /byterun/debugger.c
parentbe85acc16e8aa5c0811bbcd365e0856bd797f50b (diff)
bcopy -> memmove; pas de virgule finale dans instruct.h
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@3310 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'byterun/debugger.c')
-rw-r--r--byterun/debugger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/byterun/debugger.c b/byterun/debugger.c
index 8a41312a7..afaba483f 100644
--- a/byterun/debugger.c
+++ b/byterun/debugger.c
@@ -121,7 +121,7 @@ void debugger_init(void)
host = gethostbyname(address);
if (host == NULL)
fatal_error_arg("Unknown debugging host %s\n", address);
- bcopy(host->h_addr, &sock_addr.s_inet.sin_addr, host->h_length);
+ memmove(&sock_addr.s_inet.sin_addr, host->h_addr, host->h_length);
}
sock_addr.s_inet.sin_port = htons(atoi(port));
sock_addr_len = sizeof(sock_addr.s_inet);