Re: [HACKERS] USE_LOCALE and unsigned char *

From: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
To: t-ishii(at)sra(dot)co(dot)jp (Tatsuo Ishii)
Cc: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>, andreas(dot)zeugswetter(at)telecom(dot)at (Andreas Zeugswetter), hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] USE_LOCALE and unsigned char *
Date: 1998-09-03 09:17:50
Message-ID: 199809030917.SAA11316@srapc451.sra.co.jp
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>>> It currently looks like all developers are on a platform where USE_LOCALE is
>>>defined.
>>>
>>> If it is not defined (e.g. on AIX) I get all sorts of
>>> Function argument assignment between types "unsigned char*" and "char*" is
>>>not allowed.
>>>
>>> I gather unsigned char's are only supposed to show up in a USE_LOCALE
>>>environment.
>>>
>>> backend/util/adt/varlena.c
>>> backend/commands/copy.c
>>> include/utils/builtins.h
>>>
>>> Andreas
>>
>>
>>
>>
>>I #ifdef USE_LOCALE around varlena.c, but I don't see the other ones.
>>Send in some patches, OK?
>
>I think I am responsible of some of "unisigned char problems."
>I will look into these as soon as I confirm Bruce's fix works
>for LinuxPPC. Ok?

I looked into above three files. So far I couldn't find any problem
with them. maybe I should look for another file?
--
Tatsuo Ishii
t-ishii(at)sra(dot)co(dot)jp

Browse pgsql-hackers by date

  From Date Subject
Next Message Keith Parks 1998-09-03 09:25:37 Re: [HACKERS] Fix for initdb/indexing problems
Previous Message Tatsuo Ishii 1998-09-03 08:31:33 Re: [HACKERS] LinuxPPC problems