Date: Mon, 15 Jan 2018 13:41:24 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 224552] 'od -c' show wrong char when it is a non-printable Message-ID: <bug-224552-8-kOBHOymIBw@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-224552-8@https.bugs.freebsd.org/bugzilla/> References: <bug-224552-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=224552 --- Comment #2 from Yuri Pankov <yuripv@icloud.com> --- 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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-224552-8-kOBHOymIBw>
