Re: [dev] [PATCH] dmenu: Fix segfault on systems with broken locale support

From: Ismael Luceno <ismael.luceno_AT_gmail.com>
Date: Thu, 21 Nov 2013 09:32:39 -0300

On Thu, 21 Nov 2013 09:19:58 +0100
Martti Kühne <mysatyre_AT_gmail.com> wrote:
> On Mon, Nov 18, 2013 at 8:15 PM, Ismael Luceno
> <ismael.luceno_AT_gmail.com> wrote:
> >
>
> uh. why not call XOpenIM() only after setlocale(LC_ALL, ""); first,
> like you have to do with ncurses?
> Because that would not require you to set the "C" locale at all, as
> it's also not the case with st.

On my system, UTF-8 locale support is somehow broken for X; with LANG
set to an UTF-8 locale, XOpenIM fails, and this causes a segfault (I
guess it's libx11's fault after all). Other locales do work.
Received on Thu Nov 21 2013 - 13:32:39 CET

This archive was generated by hypermail 2.3.0 : Thu Nov 21 2013 - 13:36:06 CET