Skip site navigation (1)Skip section navigation (2)
Date:      03 Nov 2001 17:21:08 +0100
From:      Dag-Erling Smorgrav <des@ofug.org>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        Joe Abley <jabley@automagic.org>, arch@freebsd.org
Subject:   Re: POSIX character class support for 1Tawk
Message-ID:  <xzppu6zesgb.fsf@flood.ping.uio.no>
In-Reply-To: <20011103145608.B76275@straylight.oblivion.bg>
References:  <xzpu1wca91d.fsf@flood.ping.uio.no> <20011102233831.L25226@buffoon.automagic.org> <xzphesca0xv.fsf@flood.ping.uio.no> <20011103012226.Q25226@buffoon.automagic.org> <xzpvggse5j4.fsf@flood.ping.uio.no> <20011103145608.B76275@straylight.oblivion.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
Peter Pentchev <roam@ringlet.net> writes:
> 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?

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




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