Re: g_ascii_strup|down
- From: Owen Taylor <otaylor redhat com>
- To: "Matthias Clasen" <matthiasc poet de>
- Cc: <gtk-devel-list gnome org>
- Subject: Re: g_ascii_strup|down
- Date: 07 Sep 2001 08:50:33 -0400
"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]