mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-30 08:09:04 +00:00
(encode_coding_string): Check CODING_FINISH_INTERRUPT.
This commit is contained in:
parent
0c2222fafb
commit
230779b9a3
@ -6320,6 +6320,7 @@ encode_coding_string (str, coding, nocopy)
|
||||
produced += coding->produced;
|
||||
produced_char += coding->produced_char;
|
||||
if (result == CODING_FINISH_NORMAL
|
||||
|| result == CODING_FINISH_INTERRUPT
|
||||
|| (result == CODING_FINISH_INSUFFICIENT_SRC
|
||||
&& coding->consumed == 0))
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user