Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ?
От | Tom Lane |
---|---|
Тема | Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ? |
Дата | |
Msg-id | 22945.975885227@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ? (Oleg Bartunov <oleg@sai.msu.su>) |
Ответы |
Re: broken locale in 7.0.2 without multibyte support (FreeBSD 4.1-RELEASE) ?
|
Список | pgsql-hackers |
Oleg Bartunov <oleg@sai.msu.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
В списке pgsql-hackers по дате отправления: