Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f943104a
Commit
f943104a
authored
Mar 22, 1994
by
Karl Heuer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(read1): Check for invalid modifier bits in a string.
parent
18e3ab41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
4 deletions
+8
-4
src/lread.c
src/lread.c
+8
-4
No files found.
src/lread.c
View file @
f943104a
...
...
@@ -1210,11 +1210,15 @@ read1 (readcharfun)
if
(
p
==
read_buffer
)
cancel
=
1
;
}
else
if
(
c
&
CHAR_META
)
/* Move the meta bit to the right place for a string. */
*
p
++
=
(
c
&
~
CHAR_META
)
|
0x80
;
else
*
p
++
=
c
;
{
if
(
c
&
CHAR_META
)
/* Move the meta bit to the right place for a string. */
c
=
(
c
&
~
CHAR_META
)
|
0x80
;
if
(
c
&
~
0xff
)
error
(
"Invalid modifier in string"
);
*
p
++
=
c
;
}
}
if
(
c
<
0
)
return
Fsignal
(
Qend_of_file
,
Qnil
);
...
...
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