diff options
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 497c01c707d..b955c951ec8 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -1280,7 +1280,8 @@ compact_small_strings () | |||
| 1280 | /* Copy, and update the string's `data' pointer. */ | 1280 | /* Copy, and update the string's `data' pointer. */ |
| 1281 | if (from != to) | 1281 | if (from != to) |
| 1282 | { | 1282 | { |
| 1283 | bcopy (from, to, nbytes); | 1283 | xassert (tb != b || to <= from); |
| 1284 | safe_bcopy ((char *) from, (char *) to, nbytes); | ||
| 1284 | to->string->data = to->u.data; | 1285 | to->string->data = to->u.data; |
| 1285 | } | 1286 | } |
| 1286 | 1287 | ||