]> git.eshelyaron.com Git - emacs.git/commitdiff
(encode_coding_string): Check CODING_FINISH_INTERRUPT.
authorKenichi Handa <handa@m17n.org>
Fri, 11 Jun 2004 05:56:44 +0000 (05:56 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 11 Jun 2004 05:56:44 +0000 (05:56 +0000)
src/coding.c

index 3416e4694ea8c3e47cee8a914256bc482bca1312..44e3dc0e5dca33f95e6c05d68f188988fb6bc820 100644 (file)
@@ -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;