27 #include <my_global.h>
30 void bchange(
register uchar *dst,
size_t old_length,
register const uchar *src,
31 size_t new_length,
size_t tot_length)
33 size_t rest=tot_length-old_length;
34 if (old_length < new_length)
35 bmove_upp(dst+rest+new_length,dst+tot_length,rest);
37 bmove(dst+new_length,dst+old_length,rest);
38 memcpy(dst,src,new_length);