Commit 06c5fe00 authored by Richard M. Stallman's avatar Richard M. Stallman

(make_pure_string): If we USE_TEXT_PROPERTIES, set the

interval of the pure string to NULL_INTERVAL.
parent b01b093a
......@@ -1011,6 +1011,12 @@ make_pure_string (data, length)
XSTRING (new)->size = length;
bcopy (data, XSTRING (new)->data, length);
XSTRING (new)->data[length] = 0;
/* We must give strings in pure storage some kind of interval. So we
give them a null one. */
XSTRING (new)->intervals = NULL_INTERVAL;
pureptr += (size + sizeof (int) - 1)
/ sizeof (int) * sizeof (int);
return new;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment