Re: Errors compiling hba.c in current CVS

Поиск
Список
Период
Сортировка
От Kurt Roeckx
Тема Re: Errors compiling hba.c in current CVS
Дата
Msg-id 20030616205234.GA3165@ping.be
обсуждение исходный текст
Ответ на Re: Errors compiling hba.c in current CVS  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
On Mon, Jun 16, 2003 at 03:36:55PM -0400, Bruce Momjian wrote:
> 
> I am working on this now.  The missing typedef for sa_family_t is really
> just used for structure alignment, so I am working on a fix to define a
> char array and #define to be the same length as the native ss_family,
> because on my system sa_family_t is:
> 
>         sys/sockettypes.h:11:typedef u_char sa_family_t;
> 
> which seems to contradict the unsigned short as found by Jason on
> Cygwin, so it seems I will have to pull out the real family length, and
> use that in the structure.

You have systems using BSD 4.3 where sa_family is an unsigned short, 
and BSD 4.4, where they split it up in sa_len (a u_char) and a
sa_family (also a u_char).

I was wondering about just using the SALEN to define what we
want.


Kurt



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: PostgreSQL and Windows
Следующее
От: Kurt Roeckx
Дата:
Сообщение: Re: Errors compiling hba.c in current CVS