# HG changeset patch # User Kenichi Handa # Date 1141124739 0 # Node ID fe3d40222417946cd75e6a201f6936b657c0459d # Parent 9dce7eee1abfab4f835e9c3d6c5ce07a4bc0deb8 (decode_coding): Fix the condition of terminating the decoding loop. diff -r 9dce7eee1abf -r fe3d40222417 src/coding.c --- a/src/coding.c Mon Feb 27 01:27:47 2006 +0000 +++ b/src/coding.c Tue Feb 28 11:05:39 2006 +0000 @@ -6185,7 +6185,7 @@ = coding->charbuf[coding->charbuf_used - carryover + i]; } while (coding->consumed < coding->src_bytes - && ! coding->result); + && coding->result != CODING_RESULT_INSUFFICIENT_MEM); if (carryover > 0) {