diff options
| author | Paul Eggert | 2011-04-18 17:42:41 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-18 17:42:41 -0700 |
| commit | 3c616cfa1341ea3dd54dd8b1927213e5e21aa322 (patch) | |
| tree | 6ed4640c4936e65214d40f87ef9b354b674d8316 /src/alloc.c | |
| parent | c2982e87d382f0b5c00a65e63716c2b43d342881 (diff) | |
| download | emacs-3c616cfa1341ea3dd54dd8b1927213e5e21aa322.tar.gz emacs-3c616cfa1341ea3dd54dd8b1927213e5e21aa322.zip | |
* alloc.c (compact_small_strings): Tighten assertion a little.
Diffstat (limited to 'src/alloc.c')
| -rw-r--r-- | src/alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c index 423c1f167db..82be8a903b4 100644 --- a/src/alloc.c +++ b/src/alloc.c | |||
| @@ -2140,7 +2140,7 @@ compact_small_strings (void) | |||
| 2140 | /* Copy, and update the string's `data' pointer. */ | 2140 | /* Copy, and update the string's `data' pointer. */ |
| 2141 | if (from != to) | 2141 | if (from != to) |
| 2142 | { | 2142 | { |
| 2143 | xassert (tb != b || to <= from); | 2143 | xassert (tb != b || to < from); |
| 2144 | memmove (to, from, nbytes + GC_STRING_EXTRA); | 2144 | memmove (to, from, nbytes + GC_STRING_EXTRA); |
| 2145 | to->string->data = SDATA_DATA (to); | 2145 | to->string->data = SDATA_DATA (to); |
| 2146 | } | 2146 | } |