Oleg Bartunov <[EMAIL PROTECTED]> wrote a couple months ago:
>>>> It's clear that we must use 'unsigned char' instead of 'char'
>>>> and corrected version runs ok on both systems. That's why I suspect
>>>> that gcc 2.95.2 has different default under FreeBSD which could
>>>> cause problem with LC_CTYPE in 7.0.2 

> ok. will check this. I've recompile 7.0.2 on freebsd with -funsigned-char
> and the problem has gone away. This prove my suggestion. I also 
> checked 6.5 and it has the same probelm on FreeBSD. Also,
> this makes clear many complains about broken locale under FreeBSD
> I got from people. 
> Hmm, current cvs has the same problem :-(

Today I inserted (unsigned char) casts into all the <ctype.h> function
calls I could find.  This issue should be fixed as of current cvs.
Please try it again when you have time.

                        regards, tom lane

Reply via email to