Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Nov 2001 16:12:50 +0100 (CET)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        Dag-Erling Smorgrav <des@ofug.org>, Joe Abley <jabley@automagic.org>, arch@freebsd.org
Subject:   Re: POSIX character class support for 1Tawk
Message-ID:  <200111031512.fA3FCoS82508@gits.dyndns.org>
In-Reply-To: <20011103145608.B76275@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev wrote:
> On Sat, Nov 03, 2001 at 07:23:59AM +0100, Dag-Erling Smorgrav wrote:
> > Joe Abley <jabley@automagic.org> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111031512.fA3FCoS82508>