From: | Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ? |
Date: | 2000-09-16 15:43:43 |
Message-ID: | Pine.GSO.3.96.SK.1000916182617.26064Z-100000@ra |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sat, 16 Sep 2000, Tom Lane wrote:
> Date: Sat, 16 Sep 2000 11:23:33 -0400
> From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
> To: Oleg Bartunov <oleg(at)sai(dot)msu(dot)su>
> Cc: pgsql-hackers(at)postgresql(dot)org, t-ishii(at)sra(dot)co(dot)jp
> Subject: Re: [HACKERS] broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ?
>
> 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.
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 :-(
Regards,
Oleg
>
> regards, tom lane
>
_____________________________________________________________
Oleg Bartunov, sci.researcher, hostmaster of AstroNet,
Sternberg Astronomical Institute, Moscow University (Russia)
Internet: oleg(at)sai(dot)msu(dot)su, http://www.sai.msu.su/~megera/
phone: +007(095)939-16-83, +007(095)939-23-83
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2000-09-16 17:21:20 | Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ? |
Previous Message | Tom Lane | 2000-09-16 15:23:33 | Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ? |