tech-pkg archive

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

Re: chat/pidgin segfault with NetBSD 11 (fixed)





On 10/5/25 9:01 PM, Taylor R Campbell wrote:
Date: Sun, 5 Oct 2025 18:02:14 +0200
From: Thomas Klausner <wiz%gatalith.at@localhost>

On Sun, Oct 05, 2025 at 03:38:16PM +0100, Anthony Mallet wrote:

I attach a tarball for chat/libpurple with a set of patches
that fix ctype(3) usage, as well as the distinfo diff just for the
sake of it. They've got a mixed use of ctype(3) functions
and similar glib functions (e.g. g_ascii_isspace). The latter are
documented to _NOT_ take into account the locale setting.

Neither does ctype(3).

No, ctype(3) does respect the locale, via LC_CTYPE (defaulting to
LANG, overridden by LC_ALL, as usual).

Just for completeness:
...unless you use the explicit locale variant (*_l) with LC_C_LOCALE or equivalent logic based on newlocale with "C" as locale string.

Joerg


Home | Main Index | Thread Index | Old Index