Subject: standards/18130: NetBSD lacks wctype(3), iswctype(3), wctrans(3), etc.
To: None <gnats-bugs@gnats.netbsd.org>
From: None <richards@CS.Princeton.EDU>
List: netbsd-bugs
Date: 08/30/2002 15:54:24
>Number: 18130
>Category: standards
>Synopsis: ISO C99: NetBSD lacks wctype(3), iswctype(3), wctrans(3), etc.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: standards-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 30 12:55:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:
>Release: NetBSD 1.6_RC1
>Organization:
>Environment:
System: NetBSD wubba.CS.Princeton.EDU 1.6_RC1 NetBSD 1.6_RC1 (WUBBA) #2: Tue Aug 20 12:15:41 EDT 2002 richards@wubba.CS.Princeton.EDU:/home/richards/kern i386
Architecture: i386
Machine: i386
>Description:
NetBSD lacks the following types and functions described by
ISO C99 section 7.25, "Wide-character classification and
mapping utilities <wctype.h>":
Types:
scalar wctrans_t
scalar wctype_t
Functions:
int iswctype(wint_t wc, wctype_t desc);
wctype_t wctype(const char *property);
wint_t towctrans(wint_t wc, wctrans_t desc);
wctrans_t wctrans(const char *property);
>How-To-Repeat:
Attempt to compile (for example) bash-2.05b. That package
includes, via the use of wctype(3), wide-character support,
and tests for the presence of wctype.h to enable such support.
The compile fails, as NetBSD's wctype.h is incomplete.
>Fix:
None, at the moment.
>Release-Note:
>Audit-Trail:
>Unformatted: