Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ?

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
Subject: Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ?
Date: 2000-12-03 23:13:47
Message-ID: 22945.975885227@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Oleg Bartunov <oleg(at)sai(dot)msu(dot)su> 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gary MacDougall 2000-12-03 23:15:46 Re: beta testing version
Previous Message Trond Eivind =?iso-8859-1?q?Glomsr=d8d?= 2000-12-03 23:13:16 Re: beta testing version