From owner-freebsd-arch Sat Nov 3 7:12:56 2001 Delivered-To: freebsd-arch@freebsd.org Received: from smtp.noos.fr (claudel.noos.net [212.198.2.83]) by hub.freebsd.org (Postfix) with ESMTP id 1601937B417 for ; Sat, 3 Nov 2001 07:12:54 -0800 (PST) Received: (qmail 11783990 invoked by uid 0); 3 Nov 2001 15:12:52 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.229.145]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 3 Nov 2001 15:12:52 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id fA3FCoS82508; Sat, 3 Nov 2001 16:12:50 +0100 (CET) (envelope-from root) Message-Id: <200111031512.fA3FCoS82508@gits.dyndns.org> Subject: Re: POSIX character class support for 1Tawk In-Reply-To: <20011103145608.B76275@straylight.oblivion.bg> To: Peter Pentchev Date: Sat, 3 Nov 2001 16:12:50 +0100 (CET) Cc: Dag-Erling Smorgrav , Joe Abley , arch@freebsd.org Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL95a (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 wrote: > 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? already done in /usr/ports/lang/nawk (alias 1Tawk). see the patches. Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message