Lists: | pgsql-hackers |
---|
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Missing EAI_ADDRFAMILY |
Date: | 2003-05-22 19:12:37 |
Message-ID: | 200305221912.h4MJCbc19882@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
BSD/OS 4.3 is missing the define EAI_ADDRFAMILY as referenced in ip.c.
It is marked as obscolete. However, it is still mentioned in the
getaddrinfo() manual page. I have filed a bug report with BSDi.
BSD/OS 4.2 had it defined.
I have added the proper define to our port/bsdi.h, attached.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
Attachment | Content-Type | Size |
---|---|---|
unknown_filename | text/plain | 543 bytes |
From: | Kurt Roeckx <Q(at)ping(dot)be> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: Missing EAI_ADDRFAMILY |
Date: | 2003-05-22 21:47:49 |
Message-ID: | 20030522214749.GA393@ping.be |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Thu, May 22, 2003 at 03:12:37PM -0400, Bruce Momjian wrote:
> BSD/OS 4.3 is missing the define EAI_ADDRFAMILY as referenced in ip.c.
> It is marked as obscolete. However, it is still mentioned in the
> getaddrinfo() manual page. I have filed a bug report with BSDi.
There are other more intresting difference between rfc2553,
rfc3493.txt and for instance the SUS specification.
Only rfc2553 has EAI_ADDRFAMILY.
Only rfc2553 has NI_MAXHOST and NI_MAXSERV.
I'm probably forgetting some other things.
Kurt
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Kurt Roeckx <Q(at)ping(dot)be> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org> |
Subject: | Re: Missing EAI_ADDRFAMILY |
Date: | 2003-05-23 04:02:51 |
Message-ID: | 200305230402.h4N42pb07887@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Oh, so this could come up on other platforms. Interesting. We don't
actually test for the error value, just return it from ip.c from
getaddrinfo() routines.
---------------------------------------------------------------------------
Kurt Roeckx wrote:
> On Thu, May 22, 2003 at 03:12:37PM -0400, Bruce Momjian wrote:
> > BSD/OS 4.3 is missing the define EAI_ADDRFAMILY as referenced in ip.c.
> > It is marked as obscolete. However, it is still mentioned in the
> > getaddrinfo() manual page. I have filed a bug report with BSDi.
>
> There are other more intresting difference between rfc2553,
> rfc3493.txt and for instance the SUS specification.
>
> Only rfc2553 has EAI_ADDRFAMILY.
> Only rfc2553 has NI_MAXHOST and NI_MAXSERV.
>
> I'm probably forgetting some other things.
>
>
> Kurt
>
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073