Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> writes:
> 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
> I didn't test current CVS under FreeBSD but probably will check it.
I think Peter recently went around and inserted explicit casts to
fix this problem. Please do see if it's fixed in CVS.
regards, tom lane