pkgsrc-Users archive

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

Re: GLib conversion failure on OpenBSD when building gtk2



Alexander Nasonov wrote:
> "646" is not hardcoded in nl_langinfo but I'm not very interested in
> digging OpenBSD code. Maybe my system can be reconfigured to return a
> good "ASCII" value, I don't know.

It took me a minute to find a hardcoded "646" with ctags ;)

1. in nl_langinfo: s =_CurrentRuneLocale->rl_codeset;
2. _RuneLocale *_CurrentRuneLocale = &_DefaultRuneLocale;
3. "646" is in initializer list of _DefaultRuneLocale !

A value of _CurrentRuneLocale can be changed with _xpg4_setrunelocale
but I don't know anything about it.
-- 
Alexander Nasonov
http://nasonov.blogspot.com



Home | Main Index | Thread Index | Old Index