Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
06c5fe00
Commit
06c5fe00
authored
Nov 10, 1993
by
Richard M. Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(make_pure_string): If we USE_TEXT_PROPERTIES, set the
interval of the pure string to NULL_INTERVAL.
parent
b01b093a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
src/alloc.c
src/alloc.c
+6
-0
No files found.
src/alloc.c
View file @
06c5fe00
...
...
@@ -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. */
#if defined (USE_TEXT_PROPERTIES)
XSTRING
(
new
)
->
intervals
=
NULL_INTERVAL
;
#endif
pureptr
+=
(
size
+
sizeof
(
int
)
-
1
)
/
sizeof
(
int
)
*
sizeof
(
int
);
return
new
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment