Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  6 Nov 2007 16:37:17 -0800
From:      Yuri <yuri@rawbw.com>
To:        ports@FreeBSD.org
Cc:        yuri@tsoft.com
Subject:   [FreeBSD port chinput3] chinput crashes when locale not supported
Message-ID:  <1194395837.473108bdc662d@webmail.rawbw.com>

next in thread | raw e-mail | index | archive | help
 
Hi,

I tried to use chinput but it crashes right after start.
Simple debugging shows that 'setlocale' returns NULL and it's passed to 'memcmp'.
I think my libc doesn't support locales.

Code should check if 'setlocale' returns NULL and print message accordingly
instead of crashing.

Please either fix or notify an original author.

Thanks,
Yuri 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1194395837.473108bdc662d>