Skip site navigation (1)Skip section navigation (2)
Date:      21 Apr 2003 02:58:01 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        current@freebsd.org
Subject:   Re: strxfrm() broken?
Message-ID:  <1050908281.77802.2.camel@shumai.marcuscom.com>
In-Reply-To: <1050908178.77802.0.camel@shumai.marcuscom.com>
References:  <1050907939.9550.68.camel@shumai.marcuscom.com> <1050908178.77802.0.camel@shumai.marcuscom.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Mon, 2003-04-21 at 02:56, Joe Marcus Clarke wrote:
> On Mon, 2003-04-21 at 02:52, Joe Marcus Clarke wrote:
> > I'm posting this to current@ as that's where I first discovered the
> > problem.  However, -STABLE seems to be affected as well.  The attached
> > example code demonstrates the problem pretty well.  It seems that when
> > LANG, LC_ALL, or LC_COLLATE is set to anything other than C or POSIX
> > (e.g. en_US.ISO8859-1), strxfrm() returns garbage.  I think I'm using it
> > correctly (actually glib is the one that pointed me this way).  Is there
> > anything wrong in the attached code, or is strxfrm() truly broken? 
> > Thanks.
> > 
> > cc -o xxx2 xxx2.c
> 
> Sorry, I don't think the attachment made it.  Hopefully it's there now.

Gack!  Still not there.  Okay, it's at:

http://www.marcuscom.com/downloads/xxx2.c

Sorry.

Joe

> 
> Joe
> 
> > 
> > Joe
-- 
PGP Key : http://www.marcuscom.com/pgp.asc

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQA+o5Z5b2iPiv4Uz4cRAlE2AJ0R1uecs0ITrjLPpoHEH/VUVQe78wCfepdN
ku7QzKQFZgGsKjyNd0Ehd14=
=EJFQ
-----END PGP SIGNATURE-----
help

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