Re: Some architectures need "signed char" declarations

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Some architectures need "signed char" declarations
Дата
Msg-id 7313.1010589877@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Some architectures need "signed char" declarations  (Doug McNaught <doug@wireboard.com>)
Список pgsql-hackers
Doug McNaught <doug@wireboard.com> writes:
> Hmmm, according to my knowledge of C, 'c' should be an int here, as
> EOF is guaranteed not to collide with any legal char value.

I agree with Doug: EOF is not supposed to be equal to any value of
'char', therefore changing the variables to signed char will merely
break something else.  Probably the variables should be int; are their
values coming from getc() or some such?  Will look at it.
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: again on index usage
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Time as keyword