Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
b1bfebbf
Commit
b1bfebbf
authored
Jul 17, 2014
by
Dmitry Antipov
Browse files
* print.c (print_preprocess): Adjust to match changed
sub char-table structure and avoid crash (Bug#18038).
parent
02a7e500
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
src/ChangeLog
src/ChangeLog
+5
-0
src/print.c
src/print.c
+2
-1
No files found.
src/ChangeLog
View file @
b1bfebbf
2014-07-17 Dmitry Antipov <dmantipov@yandex.ru>
* print.c (print_preprocess): Adjust to match changed
sub char-table structure and avoid crash (Bug#18038).
2014-07-16 Eli Zaretskii <eliz@gnu.org>
* xdisp.c (decode_mode_spec): Call file-remote-p on the current
...
...
src/print.c
View file @
b1bfebbf
...
...
@@ -1228,7 +1228,8 @@ print_preprocess (Lisp_Object obj)
size
=
ASIZE
(
obj
);
if
(
size
&
PSEUDOVECTOR_FLAG
)
size
&=
PSEUDOVECTOR_SIZE_MASK
;
for
(
i
=
0
;
i
<
size
;
i
++
)
for
(
i
=
(
SUB_CHAR_TABLE_P
(
obj
)
?
SUB_CHAR_TABLE_OFFSET
:
0
);
i
<
size
;
i
++
)
print_preprocess
(
AREF
(
obj
,
i
));
if
(
HASH_TABLE_P
(
obj
))
{
/* For hash tables, the key_and_value slot is past
...
...
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