Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Missing EAI_ADDRFAMILY


  • 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: Thu, 22 May 2003 15:12:37 -0400 (EDT)
  • Message-id: <200305221912.h4MJCbc19882@candle.pha.pa.us> <text/plain>

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
Index: src/include/port/bsdi.h
===================================================================
RCS file: /cvsroot/pgsql-server/src/include/port/bsdi.h,v
retrieving revision 1.5
diff -c -c -r1.5 bsdi.h
*** src/include/port/bsdi.h	29 Oct 2000 13:17:34 -0000	1.5
--- src/include/port/bsdi.h	22 May 2003 18:44:54 -0000
***************
*** 8,10 ****
--- 8,15 ----
  #define HAS_TEST_AND_SET
  
  typedef unsigned char slock_t;
+ 
+ /* This is marked as obsoleted in BSD/OS 4.3. */
+ #ifndef EAI_ADDRFAMILY
+ #define  EAI_ADDRFAMILY		1
+ #endif


Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group