Date: Mon, 26 Aug 2002 18:45:24 +1000 From: Tim Robbins <tjr@FreeBSD.ORG> To: "David O'Brien" <obrien@FreeBSD.ORG> Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: Re: cvs commit: src/include wchar.h src/lib/libc/locale Makefile.inc mbrlen.3 mbrlen.c mbrtowc.3 mbrtowc.c mbsinit.3 mbsinit.c mbsrtowcs.3 mbsrtowcs.c wcrtomb.3 wcrtomb.c wcsrtombs.3 wcsrtombs.c Message-ID: <20020826184524.A26714@dilbert.robbins.dropbear.id.au> In-Reply-To: <20020826033611.GA9507@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Sun, Aug 25, 2002 at 08:36:11PM -0700 References: <200208180630.g7I6UBQA033415@freefall.freebsd.org> <20020826033611.GA9507@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Aug 25, 2002 at 08:36:11PM -0700, David O'Brien wrote: > On Sat, Aug 17, 2002 at 11:30:11PM -0700, Tim J. Robbins wrote: > > Added files: > > lib/libc/locale mbrlen.3 mbrlen.c mbrtowc.3 mbrtowc.c > > mbsinit.3 mbsinit.c mbsrtowcs.3 > > mbsrtowcs.c wcrtomb.3 wcrtomb.c > > wcsrtombs.3 wcsrtombs.c > > Log: > > Implement the ISO C90 Amd.1 restartable wide and multibyte character > > manipulation functions mbrlen(), mbrtowc(), mbsinit(), mbsrtowcs(), > > wcrtomb(), wcsrtombs(). > > Are you planning on adding 'wcscoll()' also? > This commit broke the bash2 port. According to its author (thru code > comments), if we have mbsrtowcs() we should have a full XPG5 environment > and be able to handle multibyte -- w/out wcscoll() I don't see how we can > do that. I'm planning on implementing the rest of the wide character functions, but I am too busy with other things at the moment to do it. The table-driven approach that the single-byte collate routines use isn't feasible because it would require too much space. The NetBSD folks don't seem to have implemented wcscoll() or wcsxfrm() either. Tim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020826184524.A26714>