Re: 7.4beta1 build problem on unixware - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: 7.4beta1 build problem on unixware
Date
Msg-id 260650000.1060460800@lerlaptop.lerctr.org
Whole thread Raw
In response to Re: 7.4beta1 build problem on unixware  (Larry Rosenman <ler@lerctr.org>)
Responses Re: 7.4beta1 build problem on unixware
Re: 7.4beta1 build problem on unixware
List pgsql-hackers

--On Saturday, August 09, 2003 15:15:05 -0500 Larry Rosenman 
<ler@lerctr.org> wrote:

>
>
> --On Saturday, August 09, 2003 12:31:14 -0400 Tom Lane
> <tgl@sss.pgh.pa.us> wrote:
>
>> Kurt Roeckx <Q@ping.be> writes:
>>> If they don't have it defined, it's not going to do what we
>>> expect and we might be better of using our replacement functions.
>>
>> We will if we don't find struct addrinfo.  See notes at top of
>> getaddrinfo.h.
>>
>>             regards, tom lane
> and it BREAKS on UnixWare.  I can connect on unix domain sockets, but NOT
> on an IP socket.
>
> I'm futzing with #undef'ing HAVE_GETADDRINFO for a test.
Ok, with using OUR src/port/getaddrinfo.c (by #undef'ing HAVE_GETADDRINFO 
and
adding getaddrinfo.o to Makefile.global's LIBOBJS, it works again.

We need to devise a configure test for broken/old getaddrinfo()'s.

LER




-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749



pgsql-hackers by date:

Previous
From: Larry Rosenman
Date:
Subject: Re: 7.4beta1 build problem on unixware
Next
From: ohp@pyrenet.fr
Date:
Subject: Re: 7.4beta1 build problem on unixware