NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: lib/55433: Bug in special character handling of ins_wstr() of libcurses
The following reply was made to PR lib/55433; it has been noted by GNATS.
From: Brett Lymn <blymn%internode.on.net@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: lib-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, netbsd-bugs%netbsd.org@localhost,
jnaman806%gmail.com@localhost
Subject: Re: lib/55433: Bug in special character handling of ins_wstr() of
libcurses
Date: Fri, 17 Jul 2020 07:18:01 +0930
On Wed, Jul 15, 2020 at 11:50:02PM +0000, Valery Ushakov wrote:
>
> wins_nwstr - the worker function doesn't seem to handle special
> character correctly in its first part as it computes wcwidth of the
> whole argument.
>
> As an aside, insstr() &c don't even pretend to try to handle special
> characters.
>
They should according to SUS v2 so we should be doing it.
--
Brett Lymn
--
Sent from my NetBSD device.
"We are were wolves",
"You mean werewolves?",
"No we were wolves, now we are something else entirely",
"Oh"
Home |
Main Index |
Thread Index |
Old Index