Re: [gtk-list] Re: my dreams about gtk/freebsd...



>"pixel" <pixel@epita.fr> writes:
>
>> Hi Lords,
>>
>> I'm angry about this setlocale() stuff.
>
>angry?

    Well... Not exactly :)
>
>> [snipped : setlocale(LC_MESSAGES,...) returning NULL]
>
>However, it's bizarre, and almost certainly a bug in
>FreeBSD that this does return NULL.
>
>The typical case where setlocale returns NULL is when
>you try to _change_ the locale. Here, we are only
>querying the locale. So, this seems to imply that
>FreeBSD defines a LC_MESSAGES constant but barfs
>when you try to query the current setting of that
>locale.
>
>We can put a workaround into GTK+ (it won't be
>the first...); the obvious one is if querying
>LC_MESSAGES returns NULL, fall back to querying
>LC_CTYPE as we do on systems that don't define
>a LC_MESSAGES constant.
>
    Yes. I did this to handle this particular problem
>You might want to ask the FreeBSD people why
>that happens, though...
>
    I'll give you informations about this.
>Regards,
>                                        Owen
>
>--
>To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null
>



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