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
b2dab6c8
Commit
b2dab6c8
authored
Dec 20, 2008
by
Jason Rumney
Browse files
(decode_coding): Clear chars_at_source flag when using charbuf.
parent
1aa956a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
0 deletions
+7
-0
src/ChangeLog
src/ChangeLog
+5
-0
src/coding.c
src/coding.c
+2
-0
No files found.
src/ChangeLog
View file @
b2dab6c8
2008-12-20 Jason Rumney <jasonr@gnu.org>
* coding.c (decode_coding): Clear chars_at_source flag when using
charbuf.
2008-12-19 Daniel Engeler <engeler@gmail.com>
2008-12-19 Daniel Engeler <engeler@gmail.com>
* sysdep.c (serial_configure): Fix typo.
* sysdep.c (serial_configure): Fix typo.
...
...
src/coding.c
View file @
b2dab6c8
...
@@ -6654,6 +6654,8 @@ decode_coding (coding)
...
@@ -6654,6 +6654,8 @@ decode_coding (coding)
that the number of data is less than the size of
that the number of data is less than the size of
coding->charbuf. */
coding->charbuf. */
coding->charbuf_used = 0;
coding->charbuf_used = 0;
coding->chars_at_source = 0;
while (nbytes-- > 0)
while (nbytes-- > 0)
{
{
int c = *src++;
int c = *src++;
...
...
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