Subject: standards/18130: NetBSD lacks wctype(3), iswctype(3), wctrans(3), etc.
To: None <>
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
>Release:        NetBSD 1.6_RC1
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
	NetBSD lacks the following types and functions described by
	ISO C99 section 7.25, "Wide-character classification and
	mapping	utilities <wctype.h>":

		scalar wctrans_t
		scalar wctype_t

		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);
	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.
	None, at the moment.