Re: signal 11 on AIX: 7.4.2
От | Andrew Sullivan |
---|---|
Тема | Re: signal 11 on AIX: 7.4.2 |
Дата | |
Msg-id | 20040419185851.GA27961@phlogiston.dyndns.org обсуждение исходный текст |
Ответ на | Re: signal 11 on AIX: 7.4.2 (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: signal 11 on AIX: 7.4.2
|
Список | pgsql-hackers |
On Mon, Apr 19, 2004 at 11:18:07AM -0400, Tom Lane wrote: > > What you'd need to do is determine which system headers are being > #include'd by that config test, and then look through them to find > struct addrinfo. Well, I have this in /usr/include/netdb.h: struct addrinfo { int ai_flags; /* AI_PASSIVE, AI_CANONNAME, AI_NUMERICH OST */ int ai_family; /* PF_xxx */ int ai_socktype; /* SOCK_xxx */ int ai_protocol; /* 0 or IPPROTO_xxx */ 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 structurein list */ }; Using the cpp trick that Alvaro Herrera suggested, I see that file mentioned in the output, and this a little way along: struct addrinfo { int ai_flags; int ai_family; int ai_socktype; int ai_protocol; size_t ai_addrlen; char *ai_canonname; struct sockaddr *ai_addr; struct addrinfo *ai_next; }; So it looks like that must be the one. Dunno if this helps. A -- Andrew Sullivan | ajs@crankycanuck.ca
В списке pgsql-hackers по дате отправления: