# HG changeset patch # User Kenichi Handa # Date 961066946 0 # Node ID ebf778ab6b42de0eed12c0e8b64629159c62a2d5 # Parent 54598b651d151694f0ba17c2beeed377f686da61 (decode_coding_emacs_mule): Always set src_base at the start of the while loop. diff -r 54598b651d15 -r ebf778ab6b42 src/coding.c --- a/src/coding.c Thu Jun 15 11:00:08 2000 +0000 +++ b/src/coding.c Thu Jun 15 11:02:26 2000 +0000 @@ -584,12 +584,11 @@ unsigned char *src_base; coding->produced_char = 0; - while (src < src_end) + while ((src_base = src) < src_end) { unsigned char tmp[MAX_MULTIBYTE_LENGTH], *p; int bytes; - src_base = src; if (UNIBYTE_STR_AS_MULTIBYTE_P (src, src_end - src, bytes)) { p = src;