From owner-freebsd-arch Sat Nov 3 8:21:12 2001 Delivered-To: freebsd-arch@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id E00A537B416 for ; Sat, 3 Nov 2001 08:21:10 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 39E2214C40; Sat, 3 Nov 2001 17:21:09 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Peter Pentchev Cc: Joe Abley , arch@freebsd.org Subject: Re: POSIX character class support for 1Tawk References: <20011102233831.L25226@buffoon.automagic.org> <20011103012226.Q25226@buffoon.automagic.org> <20011103145608.B76275@straylight.oblivion.bg> From: Dag-Erling Smorgrav Date: 03 Nov 2001 17:21:08 +0100 In-Reply-To: <20011103145608.B76275@straylight.oblivion.bg> Message-ID: Lines: 17 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Peter Pentchev writes: > On Sat, Nov 03, 2001 at 07:23:59AM +0100, Dag-Erling Smorgrav wrote: > > Joe Abley writes: > > > Our isalpha() and friends are locale-sensitive, I think. > > Only if the caller has previously called setlocale(). > So what's the problem in calling setlocale(LC_ALL, "") > early in main() or something, as so many other utilities in > our base system already do? You still have to totally rewrite the character class matching code, instead of simply extending it like I've done. See my earlier comments about enumerating the members of a character or equivalence class. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message