Re: [GENERAL] [PATCH] Better way to check for getaddrinfo

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [GENERAL] [PATCH] Better way to check for getaddrinfo
Дата
Msg-id 22833.1138298693@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [GENERAL] [PATCH] Better way to check for getaddrinfo  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [GENERAL] [PATCH] Better way to check for getaddrinfo  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> I am not sure what to do on this.  Right now we have a one-line test:
>     AC_REPLACE_FUNCS([getaddrinfo])
> To test for a macro we are going to need to add include netdb.h, and the
> LINK test below is overkill.  I am thinking we should just hard-code in
> HAVE_GETADDRINFO for the True64 platform;  anything more is going to be
> just a Tru64 hack anyway.

I still want to understand why any change is needed at all.  There must
be something very peculiar about getaddrinfo on Tru64 if the original
coding doesn't work.  Why is it different from every other function we
test for?

            regards, tom lane

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

Предыдущее
От: "Kevin Grittner"
Дата:
Сообщение: Re: Backslashes in string literals
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [GENERAL] [PATCH] Better way to check for getaddrinfo