Re: g_ascii_strup|down



"Matthias Clasen" <matthiasc poet de> writes:

> Looking at #59550,
> 
> I noticed that the _ascii_ variants of the strup/strdown functions return
> a newly allocated string, unlike their locale-sensitive relatives, which
> convert in place.
> 
> This is a bug, right ?

No. g_utf8_strup()/strdown() can't act in place since the length
of the string can change (, and I thought it was more more important
to preserve consistancy with that.

Regards,
                                        Owen

 




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