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
f9d71dcd
Commit
f9d71dcd
authored
May 23, 2002
by
Kenichi Handa
Browse files
(Fdefine_coding_system_internal): Fix previous change.
(decode_coding_charset): Workaround for the bug of GCC 2.96.
parent
7e4c0466
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
4 deletions
+13
-4
src/ChangeLog
src/ChangeLog
+7
-0
src/coding.c
src/coding.c
+6
-4
No files found.
src/ChangeLog
View file @
f9d71dcd
2002-05-23 Yong Lu <lyongu@asia-infonet.com>
* charset.c (Fdefine_charset_internal): Fix argument to bzero.
* coding.c (Fdefine_coding_system_internal): Fix previous change.
(decode_coding_charset): Workaround for the bug of GCC 2.96.
2002-05-23 Kenichi Handa <handa@etl.go.jp>
* Makefile.in (lisp): Change cyrillic.elc to cyrillic.el,
...
...
src/coding.c
View file @
f9d71dcd
...
...
@@ -4346,10 +4346,11 @@ decode_coding_charset (coding)
{
charset = CHARSET_FROM_ID (XFASTINT (val));
dim = CHARSET_DIMENSION (charset);
while (len
++
< dim)
while (len < dim)
{
ONE_MORE_BYTE (c);
code = (code << 8) | c;
len++;
}
CODING_DECODE_CHAR (coding, src, src_base, src_end,
charset, code, c);
...
...
@@ -4363,10 +4364,11 @@ decode_coding_charset (coding)
{
charset = CHARSET_FROM_ID (XFASTINT (XCAR (val)));
dim = CHARSET_DIMENSION (charset);
while (len
++
< dim)
while (len < dim)
{
ONE_MORE_BYTE (c);
code = (code << 8) | c;
len++;
}
CODING_DECODE_CHAR (coding, src, src_base,
src_end, charset, code, c);
...
...
@@ -7420,9 +7422,9 @@ usage: (define-coding-system-internal ...) */)
{
dim2 = CHARSET_DIMENSION (CHARSET_FROM_ID (XFASTINT (tmp)));
if (dim < dim2)
tmp = Fcons (tmp, Fcons (XCAR (tail), Qnil));
else
tmp = Fcons (XCAR (tail), Fcons (tmp, Qnil));
else
tmp = Fcons (tmp, Fcons (XCAR (tail), Qnil));
}
else
{
...
...
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