https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224552

--- Comment #2 from Yuri Pankov <[email protected]> ---
The problem here is that we forget to restore the original character to print
when we encounter what we think is incomplete multibyte sequence at the end of
the line buffer or at EOF -- we peek ahead trying to complete the character,
but if the conversion still fails, we have the character pointer set to the
look-ahead buffer, not what it was originally.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to