On 24 December 2015 at 20:23, Eli Zaretskii <[email protected]> wrote: > But we do: that's the other hunk in the diffs: > > - if (iconv_ret != (size_t) -1) > + /* Make sure libiconv flushes out the last converted character. > + This is required when the conversion is stateful, in which > + case libiconv might not output the last charcater, waiting to > + see whether it should be combined with the next one. */ > + if (iconv_ret != (size_t) -1 > + && text_buffer_iconv (&output_buf, iconv_to_output, > + NULL, NULL) != (size_t) -1) > /* Success: all of input converted. */ > break;
Of course, you're right.
