Use bcopy' if there is no memmove'

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1740 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-05-19 03:05:26 +00:00
parent 4b00639c3b
commit 49eaf831ec

View File

@@ -152,7 +152,11 @@ append_number (struct state *state,
if ((*state->reserve) (state, width - len))
return 1;
#ifdef HAVE_MEMMOVE
memmove (state->s + width - 2 * len, state->s - len, len);
#else
bcopy (state->s - len, state->s + width - 2 * len, len);
#endif
for (i = 0; i < width - len; ++i)
state->s[-len+i] = (zerop ? '0' : ' ');
state->s += width - len;