Re: Client build of MSVC6+ patch

Поиск
Список
Период
Сортировка
От Hiroshi Saito
Тема Re: Client build of MSVC6+ patch
Дата
Msg-id 015e01c69a56$e562cc00$e2110dde@IBMC4B5932F74B
обсуждение исходный текст
Ответ на Re: Client build of MSVC6+ patch  ("Hiroshi Saito" <z-saito@guitar.ocn.ne.jp>)
Ответы Re: Client build of MSVC6+ patch  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-patches
Hi.

>>> If IPv6 gets broken after all the trouble several of us went to I'll
>>> be  annoyed. :-)
>>
>> Um, I think that this was the origin in problem.:-)
>>
>
> Why do we need to reorder the fields in the struct?

Eh? Even my FreeBSD used well shows a structure object.
(FreeBSD)
/usr/include/netdb.h
struct addrinfo {
        int     ai_flags;       /* AI_PASSIVE, AI_CANONNAME, AI_NUMERICHOST */
        int     ai_family;      /* PF_xxx */
        int     ai_socktype;    /* SOCK_xxx */
        int     ai_protocol;    /* 0 or IPPROTO_xxx for IPv4 and IPv6 */
        size_t  ai_addrlen;     /* length of ai_addr */
        char    *ai_canonname;  /* canonical name for hostname */
        struct  sockaddr *ai_addr;      /* binary address */
        struct  addrinfo *ai_next;      /* next structure in linked list */
};

Then, It was helped actually.

Regards,
Hiroshi Saito


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

Предыдущее
От: "Andrew Dunstan"
Дата:
Сообщение: Re: Client build of MSVC6+ patch
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Client build of MSVC6+ patch