Subject: lib/36914: printf(3) doesn't support %ls
To: None <,,>
From: None <>
List: netbsd-bugs
Date: 09/05/2007 09:40:01
>Number:         36914
>Category:       lib
>Synopsis:       printf(3) doesn't support %ls
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Sep 05 09:40:00 +0000 2007
>Originator:     Aymeric Vincent
>Release:        NetBSD 4.99.30
System: NetBSD ibook 4.99.30 NetBSD 4.99.30 (IBOOK) #38: Mon Aug 27 22:47:27 CEST 2007  vincent@ibook:/usr/src/sys/arch/macppc/compile/IBOOK macppc
Architecture: powerpc (irrelevant)
Machine: macppc (irrelevant)
Contrary to what the man page says, printf(3) doesn't support %ls.
Newer versions of nvi happen to use this missing feature in a couple of places,
leading to some screen output being erased.


Sorry, no patch. Maybe the code can be stolen from the wide-character version
of printf() in vfwprintf.c, but I'm not near enough familiar with it to even
give it a try.