Re: AW: broken locale in 7.0.2 without multibyte support (F reeBSD 4.1-RELEASE) ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: AW: broken locale in 7.0.2 without multibyte support (F reeBSD 4.1-RELEASE) ?
Date
Msg-id 5667.975941588@sss.pgh.pa.us
Whole thread Raw
List pgsql-hackers
Zeugswetter Andreas SB <ZeugswetterA@wien.spardat.at> writes:
>> 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.

> I am a sceptic to the many casts. Would'nt the clean solution be, to use
> unsigned char througout the code ?

No; see the prior discussion.

> The casts only help to avoid compiler
> warnings or errors. They do not solve the underlying problem.

You are mistaken.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Thomas Lockhart
Date:
Subject: Re: beta testing version
Next
From: Myron Scott
Date:
Subject: Re: Using Threads?