[FreeBSD port chinput3] chinput crashes when locale not supported

Yuri yuri at rawbw.com
Tue Nov 6 16:37:42 PST 2007


 
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 


More information about the freebsd-ports mailing list