[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sorting in glib2



On Wed, 2003-09-03 at 17:19, Ted Unangst wrote:
> On Wed, 3 Sep 2003, Marc Matteo wrote:
> 
> > strxfrm behaves differently on OpenBSD than on whatever system this
> > weirdness was though up (Linux I betcha).  Rather than messing with the
> > buffers just use strlen instead.  Apps should sort on the full string
> > now.
> 
> actually, our strxfrm is deficient.  the patch below should correct libc.  
> i haven't tested it (not a glib2 user) but should be more standards 
> conformant.

Ah, well see.  I though we liked it broken :).  This too, works quite
well.

Marc