memcpy does not cope well with overlapped segments.

Šī revīzija ir iekļauta:
Vítor Santos Costa 2011-04-05 10:01:34 +01:00
vecāks 49582bf49c
revīzija d1327dba9c

Parādīt failu

@ -83,7 +83,7 @@
int size;
pt0++;
size = TR - pt0;
memcpy(pbase, pt0, size * sizeof(struct trail_frame));
memmove(pbase, pt0, size * sizeof(struct trail_frame));
TR = pbase + size;
}
}