diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2000-10-12 18:05:42 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2000-10-12 18:05:42 +0000 |
commit | cdf19e15fc00c997fee4b46c147320e4dff390a6 (patch) | |
tree | adfacfaa4596e23800047746fdb78b44a995153c /byterun/ints.c | |
parent | be85acc16e8aa5c0811bbcd365e0856bd797f50b (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/ints.c')
-rw-r--r-- | byterun/ints.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/byterun/ints.c b/byterun/ints.c index c86d13398..2893b6988 100644 --- a/byterun/ints.c +++ b/byterun/ints.c @@ -97,10 +97,10 @@ static char * parse_format(value fmt, len_suffix = strlen(suffix); if (len + len_suffix + 1 >= FORMAT_BUFFER_SIZE) invalid_argument("format_int: format too long"); - bcopy(String_val(fmt), format_string, len); + memmove(format_string, String_val(fmt), len); p = format_string + len - 1; lastletter = *p; - bcopy(suffix, p, len_suffix); p += len_suffix; + memmove(p, suffix, len_suffix); p += len_suffix; *p++ = lastletter; *p = 0; /* Determine space needed for result and allocate it dynamically if needed */ |