strxfrm() broken?
Joe Marcus Clarke
marcus at marcuscom.com
Sun Apr 20 23:58:08 PDT 2003
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030421/8f4499c1/attachment.bin
More information about the freebsd-current
mailing list