[Bug 3949] New: wcwidth fails to be standards-compliant
bugzilla at busybox.net
bugzilla at busybox.net
Mon Jul 4 11:16:19 UTC 2011
https://bugs.busybox.net/show_bug.cgi?id=3949
Summary: wcwidth fails to be standards-compliant
Product: uClibc
Version: 0.9.32
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Standard Compliance
AssignedTo: unassigned at uclibc.org
ReportedBy: kiyoshi.aman at gmail.com
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
The wcwidth function (and wcswidth, for that matter, since uClibc's wcwidth is
implemented in terms of wcswidth) fails to be standards compliant. The
following test should emit 'e-acute is 1 wide' on conforming implementations;
uClibc's instead emits 'e-acute is -1 wide':
#include <stdio.h>
#include <wchar.h>
void main(void) {
printf("e-acute is %d wide\n", wcwidth(0xe9));
}
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list