From owner-cvs-all Mon Aug 26 1:45:40 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0457A37B400; Mon, 26 Aug 2002 01:45:37 -0700 (PDT) Received: from dilbert.robbins.dropbear.id.au (185.a.010.mel.iprimus.net.au [210.50.200.185]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3921543E42; Mon, 26 Aug 2002 01:45:34 -0700 (PDT) (envelope-from tim@robbins.dropbear.id.au) Received: from dilbert.robbins.dropbear.id.au (b0dftwtcrivuum10@localhost [127.0.0.1]) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3) with ESMTP id g7Q8jQEa027860; Mon, 26 Aug 2002 18:45:27 +1000 (EST) (envelope-from tim@dilbert.robbins.dropbear.id.au) Received: (from tim@localhost) by dilbert.robbins.dropbear.id.au (8.12.3/8.12.3/Submit) id g7Q8jPnw027859; Mon, 26 Aug 2002 18:45:25 +1000 (EST) Date: Mon, 26 Aug 2002 18:45:24 +1000 From: Tim Robbins To: "David O'Brien" 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> References: <200208180630.g7I6UBQA033415@freefall.freebsd.org> <20020826033611.GA9507@dragon.nuxi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20020826033611.GA9507@dragon.nuxi.com>; from obrien@FreeBSD.ORG on Sun, Aug 25, 2002 at 08:36:11PM -0700 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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